You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,10 @@ The PowerShell upgrade script then moves the current installation to a `chef.upg
35
35
36
36
On Windows the only supported `post_install_action` is `kill` (the property will be forced to `kill` if given `exec` and platform is Windows) because the Chef Infra Client process must be terminated before the `Chef_upgrade` scheduled task starts in order to release all open file locks by the client, otherwise the upgrade will fail with file-in-use errors.
37
37
38
+
Root installation path for chef-client in cookbooks/chef_client_updater/attributes/default.rb when a custom path is used.
Defaults to 'C:/opscode/chef' on Windows and '/opt/chef' for everything else.
41
+
38
42
#### Running Chef Infra Client as a Scheduled Task
39
43
40
44
If you run as a scheduled task, then this will work smoothly. The path to the newly installed Chef Infra Client will be the same and the scheduled task will launch it. Part of this resource's job on the next run is to make sure the staging directory with the older client is removed.
0 commit comments