Thanks for digging Wade, that is indeed useful, particularly for anyone deploying chef-client to a large number of nodes through some software dist system (e.g. Group policy, SCCM, etc.).
-Adam
From: Wade Peacock <
">
>
Reply-To: " "> " < "> > Date: Wednesday, June 5, 2013 8:25 AM To: " "> " < "> > Subject: [chef] RE: chef-client msi cli flags Thanks for the information Adam.
After a bit of guessing I figured out what the Client Feature is called. So what you suggested is good for adding the service to a system that has the client already, to install both the client and the service I tried: Win2K3 32-Bit R2 (Works): CMD PROMPT> \\plchef.xxxxx.local\InstallSrc\Chef-Prodlabs\chef-client-10.26.0-1.msi ADDLOCAL="ChefClientFeature,ChefServiceFeature" /passive CMD PROMPT> \\plchef.xxxxx.local\InstallSrc\Chef-Prodlabs\chef-client-11.4.4-2.windows.msi ADDLOCAL="ChefClientFeature,ChefServiceFeature" /passive Win2k8 64-Bit R2 w/SP1 (Works): CMD (ADMIN) PROMPT> \\plchef.xxxxx.local\InstallSrc\Chef-Prodlabs\chef-client-10.26.0-1.msi ADDLOCAL="ChefClientFeature,ChefServiceFeature" /passive CMD (ADMIN) PROMPT> \\plchef.xxxxx.local\InstallSrc\Chef-Prodlabs\chef-client-11.4.4-2.windows.msi ADDLOCAL="ChefClientFeature,ChefServiceFeature" /passive
Wade Peacock Production IT - Automation/System Engineer | Vision Critical direct +1.604.629.9358
mobile +1.604.363.8137 web visioncritical.com
| @VisionCritical on Twitter
| Visit Vision Critical on LinkedIn New York | London | Hong Kong | Vancouver | Paris | San Francisco | Sydney | Tokyo | Toronto | Cologne | Minneapolis | Chicago | Ottawa |
Detroit Click here to watch our clients share their Vision Critical successes:
www.visioncritical.com/client-stories Thanks Wade. The feature is only present on the latest Chef 11 client releases. The correct name is “ChefServiceFeature”, here’s the command line I used just now successfully (no errors), though in terms of validating
the service installation on that box I have multiple instances installed, so to be absolutely sure I need to try it on a clean box: msiexec /qb /i c:\inst\chef-client-11.4.4-2.windows.msi ADDLOCAL="ChefServiceFeature" I experienced weird behavior when I didn’t specify an absolute path to the msi, so be sure to do that when you try it out – let us know how it works. -Adam chef-client-10.26.0-1.msi ADDLOCAL="CHEFCLIENTSERVICE" result is installer exciting with error 2711 same for 11.4.4-2 client Hello Wade. I think you should be able to do this via ADDLOCAL, i.e. on msiexec cli add: ADDLOCAL="CHEFCLIENTSERVICE" That said, I haven’t yet tried it myself.
J Let us know if it works, if not, I’ll do a little more digging. -- Adam Edwards Software Development Engineer, Opscode, Inc. I'm looking to find the option flags for command line installations of the chef-client-xxxx.msi. I've searched the docs with no success. I know about the obvious /passive, /quiet, etc. I'm looking for the options to install the windows service option. Anyone have the magic knowledge. Thanks, Wade Peacock Production IT - Automation/System Engineer | Vision Critical direct +1.604.629.9358
mobile +1.604.363.8137 web visioncritical.com
| @VisionCritical on Twitter | Visit
Vision Critical on LinkedIn New York | London | Hong Kong | Vancouver | Paris | San Francisco | Sydney | Tokyo | Toronto | Cologne | Minneapolis | Chicago | Ottawa |
Detroit Click here to watch our clients share their Vision Critical successes:
www.visioncritical.com/client-stories |
Archive powered by MHonArc 2.6.16.