Ask Your Question
1

machine reboot after puppet run

asked 2014-09-09 04:38:17 -0500

jaksky gravatar image

Hello,

is there a way how to ensure the reboot of the linux machine after puppet run?

Can take advantage of reboot or shutdown -r commands and to typical patern resurce - subscribe pattern but that doesn't ensure that exec shutdown resource will be synchronized as a last one.

Could someone please advice the best approach? I would be also curious about the situation on windows when you need after certain steps to perform restart and continue installation. Is there a way how to ensure a continuation of puppet run after system restart?

Sorry that I combined two question in one post but the first one has higher priority now

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-09-10 13:03:23 -0500

joshc gravatar image

See the puppetlabs reboot module: https://forge.puppetlabs.com/puppetla... Currently there is only a windows provider, but patches are welcome to add support for a linux provider.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-09-09 04:38:17 -0500

Seen: 810 times

Last updated: Sep 10 '14