[chef] RE: Re: Re: Chef-Client deployment


Chronological Thread 
  • From: Kevin Keane Subscription < >
  • To: < >
  • Subject: [chef] RE: Re: Re: Chef-Client deployment
  • Date: Tue, 17 Jun 2014 00:45:03 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=sendgrid.info; h=subject:from:to:mime-version:content-type:in-reply-to:references:sender; q=dns; s=smtpapi; b=GSCXaWLvPhBX5hLxFqB3gKGdI4UnswbI5TocT4XqcZd+ ipRySNagPK6AIeLcljUusbqoTLvLEOuyD2WWa/RzTmCsuzXOo1t+Xg8WSeHbuZ1H sQaEbWKRncZR+XWnfGnLLxcaaE48WwCVQP/qYCDEsyAMCxwo98YWdz42FgHzf0s=

In your command line, you use single quotes: ‘pam-vm00$i’. In bash, single quotes means, take everything inside literally, including the dollar sign and the i. If you want the $i to be substituted with the value of the variable i, you need to use double quotes.

 

Also, be careful with the user name “administrator”. By default, that account is disabled in recent Windows versions.

 

From: Shanker Jadapa [mailto:
Sent: Tuesday, June 17, 2014 12:34 AM
To:
Subject: [chef] Re: Re: Chef-Client deployment

 

If I am using the invidual client installation, its working.

I testing using shell script to push the chef-client, its not working.

 

#script 

 

for i in 1 2 3

do

       knife bootstrap windows winrm 'pam-vm00$i'  -x administrator -P 'test123' -p 5985

done

 

 

On Tue, Jun 17, 2014 at 12:45 PM, Carlos Camacho < " target="_blank"> > wrote:

Hello you can run remotely that command in a batch task..

knife bootstrap windows winrm 192.168.0.10 -r 'role[your_role]' -x
'domain_user' -P 'the pass'
knife bootstrap windows winrm 192.168.0.11 -r 'role[your_role]' -x
'domain_user' -P 'the pass'
knife bootstrap windows winrm 192.168.0.12 -r 'role[your_role]' -x
'domain_user' -P 'the pass'

And so on...

Regards!



On Tue, Jun 17, 2014 at 9:10 AM, Shanker Jadapa < "> > wrote:
> Hi,
>
> is there any process to install the chef-client on 500 windows  machines.
> adding individually through "knife bootstrap" is pain for me.
>
> Thanks
> Shankar Jadapa



 

--
(¨`·.·´¨) Alwayz
 `·.¸(¨`·.·´¨) Keep Loving &
  (¨`·.·´¨)´ Keep Smiling !
   `·.¸.·´
            *·..·:Shanker:·..·:*
 




Archive powered by MHonArc 2.6.16.

§