[chef] RE: chef-client msi cli flags


Chronological Thread 
  • From: Wade Peacock < >
  • To: " " < >
  • Subject: [chef] RE: chef-client msi cli flags
  • Date: Wed, 5 Jun 2013 15:25:16 +0000
  • Accept-language: en-CA, en-US

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


I hope that someone else finds this helpful,

 

 

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

 

 

 

 

From: Adam Edwards [mailto:
Sent: Tuesday, June 04, 2013 8:11 PM
To:
Subject: [chef] RE: chef-client msi cli flags

 

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

 

From: Wade Peacock [ ">mailto: ]
Sent: Tuesday, June 4, 2013 5:45 PM
To: ">
Subject: [chef] RE: chef-client msi cli flags

 

chef-client-10.26.0-1.msi ADDLOCAL="CHEFCLIENTSERVICE" result is installer exciting with error 2711

same for 11.4.4-2 client

 

 

From: Adam Edwards [ ">mailto: ]
Sent: Tuesday, June 04, 2013 4:20 PM
To: ">
Subject: [chef] RE: chef-client msi cli flags

 

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.

 

 

 

From: Wade Peacock [ ">mailto: ]
Sent: Tuesday, June 4, 2013 8:28 AM
To: ">
Subject: [chef] chef-client msi cli flags

 

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.

§