On 7/14/2015 4:03:49 AM, Taras Klym < > wrote:
Hi guys,I am doing some scripting for automatic servers creation on AWS side and bootstrapping it.Here are some parameters I compose for passing to bootstrap command:$role='role[eu1],role[db],role[sx]'$runlist = "$role,recipe[push-jobs],recipe[hello::ZabbixAgentInstUpd]"$login = "Administrator"$tag = $EnvAnd here is command by itself:knife bootstrap windows winrm $ServerIP --auth-timeout 1 -N $computerNameTag --bootstrap-version "12.3.0" -r $runlist -x $login -P $DBServerPasswordI have just realized that after node is bootstrapped it doesn't have roles assigned.So the main question is as follow:Is passed "runlist" to node during bootstrap stays assigned to node after first chef-client run completed or it's just "runlist" for bootstrap?And actually at the end node doesn't have any roles/recipes assigned to it which were passed during bootstrap?Thank you all guys kin advance for your clarifications.Regards,Taras.
Archive powered by MHonArc 2.6.16.