Skip to content

Instantly share code, notes, and snippets.

@kszarek
Created August 4, 2014 06:12
Show Gist options
  • Save kszarek/c4cc3e427767630eb8e8 to your computer and use it in GitHub Desktop.
Save kszarek/c4cc3e427767630eb8e8 to your computer and use it in GitHub Desktop.
chef cron @reboot
cron "chef-client-autostart" do
time :reboot
command "/opt/chef/embedded/bin/ruby /usr/bin/chef-client -c /etc/chef/client.rb -L /var/log/chef.log -P /var/run/chef/client.pid"
end
@kszarek
Copy link
Author

kszarek commented Aug 4, 2014

Tego nie znajdziecie nawet w dokumentacji. Znalazłem to dopiero w jakiś ticketach otwartych na opscode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment