Class: Chef::Resource::Cron
- Inherits:
-
Chef::Resource
- Object
- Chef::Resource
- Chef::Resource::Cron
- Defined in:
- lib/chef/handler/resources/cron.rb
Instance Method Summary collapse
Instance Method Details
#to_serverspec ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/chef/handler/resources/cron.rb', line 4 def to_serverspec "\n describe cron do\n it { should have_entry('\#{minute} \#{hour} \#{day} \#{month} \#{weekday} \#{command}').with_user('\#{user}') }\n end\n" end |