diff options
author | Matt Wrock <matt@mattwrock.com> | 2016-12-17 01:17:12 -0800 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2016-12-17 01:17:12 -0800 |
commit | 78ccbbce07170af72f3a23c98036e2b472cb8c4e (patch) | |
tree | 562f17f30ce88956eed2ec125a44327c627fcf94 /omnibus/resources | |
parent | a70905ea932e1a5678c910c8495a344b3b0930e0 (diff) | |
download | chef-78ccbbce07170af72f3a23c98036e2b472cb8c4e.tar.gz |
use the same task name used by the chef-client cookbook so that the task can be managed by its task recipietask_name
Signed-off-by: Matt Wrock <matt@mattwrock.com>
Diffstat (limited to 'omnibus/resources')
-rw-r--r-- | omnibus/resources/chef/msi/source.wxs.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/omnibus/resources/chef/msi/source.wxs.erb b/omnibus/resources/chef/msi/source.wxs.erb index 9bd13ff499..c49a8324f9 100644 --- a/omnibus/resources/chef/msi/source.wxs.erb +++ b/omnibus/resources/chef/msi/source.wxs.erb @@ -71,14 +71,14 @@ <CustomAction Id="CreateChefClientScheduledTask" Directory="TARGETDIR" - ExeCommand=""[SystemFolder]SCHTASKS.EXE" /CREATE /TN "ChefClientSchTask" /SC "MINUTE" /MO "30" /F /TR "cmd /c \"[EMBEDDEDBIN]ruby.exe [PROJECTLOCATIONBIN]chef-client -L [CONFIGLOCATION]chef-client.log -c [CONFIGLOCATION]client.rb\"" /RU "NT Authority\System" /RP /RL "HIGHEST"" + ExeCommand=""[SystemFolder]SCHTASKS.EXE" /CREATE /TN "chef-client" /SC "MINUTE" /MO "30" /F /TR "cmd /c \"[EMBEDDEDBIN]ruby.exe [PROJECTLOCATIONBIN]chef-client -L [CONFIGLOCATION]chef-client.log -c [CONFIGLOCATION]client.rb\"" /RU "NT Authority\System" /RP /RL "HIGHEST"" Execute="deferred" Impersonate="no" Return="check" /> <CustomAction Id="RemoveChefClientScheduledTask" Directory="TARGETDIR" - ExeCommand=""[SystemFolder]SCHTASKS.EXE" /DELETE /TN "ChefClientSchTask" /F" + ExeCommand=""[SystemFolder]SCHTASKS.EXE" /DELETE /TN "chef-client" /F" Execute="deferred" Impersonate="no" Return="ignore" /> |