criteo-cookbooks / wsus-client

Chef Cookbook to install and configure client for Windows Server Update Services (WSUS)
Apache License 2.0
15 stars 19 forks source link

wsus-client doesn't restart nodes after installation #28

Closed rosario-mattera closed 7 years ago

rosario-mattera commented 7 years ago

Hi, after the installation of the updates retrieved from the WSUS server, the wsus-client doesn't reboot the node, even if the installed update(s) require a reboot of the system.

I've set the attribute in this way

# Disables automatic reboot with logged-on users. default['wsus_client']['no_reboot_with_logged_users'] = false

How could it be solved?

Annih commented 7 years ago

Hello @rosario-mattera

You can use the reboot resource to ask chef to reboot if it is required

rosario-mattera commented 7 years ago

OK. Thus, I have to modify the recipe, is it right?

rosario-mattera commented 7 years ago

Anyway, the only resources available are :download and :install

Annih commented 7 years ago

Either you handle the reboot in your own cookbook wrapper. Either you create a PR to extend the behavior of the update recipe with a new "reboot" feature (which is great)

rosario-mattera commented 7 years ago

So, the feature has not been implemented.

I'll do on my own.

Best regards, Rosario