Ask Your Question
0

How to install the software patches through puppet which require restart

asked 2017-05-03 06:29:24 -0500

anup169 gravatar image

HI All,

I am working on windows 2012. I have four patches to be installed in my system and i am planning to do this through puppet. I need to skip the already installed software and resume the remaining models to execute.

edit retag flag offensive close merge delete

Comments

What format are the patches in?

smarlow gravatar imagesmarlow ( 2017-05-03 10:47:12 -0500 )edit

@smarlow its windows patch , .msp file . thing is i need to reboot after every patches . and i am using aws windows server

anup169 gravatar imageanup169 ( 2017-05-03 10:49:58 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-05-03 23:14:07 -0500

WhatsARanjit gravatar image

Because of Puppet's idempotent nature, anything that has already been done will be "skipped" since there is nothing to do. Take a look at https://forge.puppet.com/puppetlabs/r... to incur a reboot. So if you have:

package { 'something': ensure => installed, }

...followed by a reboot. The next time the agent goes, it will skip over Package[something] because it's already been done.

edit flag offensive delete link more

Comments

But how puppet will automatically resume after reboot ? It should automatically continue deployment after reboot.

anup169 gravatar imageanup169 ( 2017-05-04 00:04:15 -0500 )edit

Puppet normally runs once a half hour, but I believe that a puppet run will be kicked off the first time you start it as a service. I only have experience on linux, but you should see if the 'service start' call causes puppet to run.. if so it may run first thing after a reboot.

DarylW gravatar imageDarylW ( 2017-05-07 22:19:26 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2017-05-03 06:29:24 -0500

Seen: 53 times

Last updated: May 03