- From: Carlos Camacho <
>
- To: "
" <
>
- Subject: [chef] Re: RE: Re: Re: Chef-Client deployment
- Date: Tue, 17 Jun 2014 09:48:24 +0200
You have to check that winrm is enabled!!
On Tue, Jun 17, 2014 at 9:45 AM, Kevin Keane Subscription
<
>
wrote:
>
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
>
<
>
>
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.