Skip to content

Commit 7e8e9e2

Browse files
author
Nimisha Sharad
authored
Merge pull request #184 from MsysTechnologiesllc/nim/accept_none_in_daemon
Accepting daemon=none instead of auto
2 parents a6e79f3 + b452583 commit 7e8e9e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ChefExtensionHandler/bin/chef-install.psm1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ function Install-ChefClient {
9393
if ( $powershellVersion -ge 3 ) {
9494
$chef_package_version = Get-PublicSettings-From-Config-Json("bootstrap_version")
9595
$daemon = Get-PublicSettings-From-Config-Json("daemon")
96+
97+
if ( $daemon -eq "none" ) {
98+
$daemon = "auto"
99+
}
96100
} else {
97101
echo "Powershell version is less than 3. Hence skipping reading the azure config file. Downloading the latest version of chef-client."
98102
}

0 commit comments

Comments
 (0)