Hi, I am writing scripts for deployment of our software and I am also using MCollective on linux. I hope to use MCollective in order to reduce the requirement of opening a putty session to each VM and running the puppet agent manually the first time (when its registers/ creates keys etc). The problem I see with this is that I need to log in to each machine and install/configure mcollective (server.cfg & client.cfg), so for this reason I do not save myself very much effort by using mcollective. I am using vms so I can add mcollective to the vm template, but I wont know the name of mcollective/activemq machine nor would I know the name of the machine at that point. How do you guys deploy mcollective? It seems abit like a chicken/egg scenario! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d1e0fc41-6558-4abf-bcc3-1a19e418d6f5%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
I install puppet agent on provision (kickstart, VM template, whatever) and do a puppet agent -t -w 1 (we don''t autosign) at the end of the provision script. MCollective in our environment is handled as part of the puppet manifest, so after the agent run the host should be registered in mco. Jeff On 12/12/2013 11:54 AM, ro001 wrote:> > > Hi, > > I am writing scripts for deployment of our software and I am also > using MCollective on linux. > > I hope to use MCollective in order to reduce the requirement of > opening a putty session to each VM and running the puppet agent > manually the first time (when its registers/ creates keys etc). The > problem I see with this is that I need to log in to each machine and > install/configure mcollective (server.cfg & client.cfg), so for this > reason I do not save myself very much effort by using mcollective. > > I am using vms so I can add mcollective to the vm template, but I wont > know the name of mcollective/activemq machine nor would I know the > name of the machine at that point. > > How do you guys deploy mcollective? It seems abit like a chicken/egg > scenario! > > > > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to puppet-users+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/d1e0fc41-6558-4abf-bcc3-1a19e418d6f5%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/52A9F65B.2030000%40bericotechnologies.com. For more options, visit https://groups.google.com/groups/opt_out.
It''s great that you''re using Puppet and MCollective and trying to get them setup everywhere, and there are some really easy ways to do that when provisioning a new VM - either through templates or the build process. Personally, I have Puppet baked in to our base installs (we actually don''t use templates, we kickstart each machine via Cobbler) and use Puppet to install MCollective. If you''re wondering about *existing* VMs that for some reason you can''t just rebuild... what about a good, old-fashioned ssh-in-a-for-loop? -jantman On 12/12/2013 11:54 AM, ro001 wrote:> > > Hi, > > I am writing scripts for deployment of our software and I am also > using MCollective on linux. > > I hope to use MCollective in order to reduce the requirement of > opening a putty session to each VM and running the puppet agent > manually the first time (when its registers/ creates keys etc). The > problem I see with this is that I need to log in to each machine and > install/configure mcollective (server.cfg & client.cfg), so for this > reason I do not save myself very much effort by using mcollective. > > I am using vms so I can add mcollective to the vm template, but I wont > know the name of mcollective/activemq machine nor would I know the > name of the machine at that point. > > How do you guys deploy mcollective? It seems abit like a chicken/egg > scenario! > > > > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to puppet-users+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/d1e0fc41-6558-4abf-bcc3-1a19e418d6f5%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/52AAF890.7010706%40jasonantman.com. For more options, visit https://groups.google.com/groups/opt_out.