Hi, Is there an option in puppet to automatically install agent in an unmanaged node in the network from the dashboard? eg: I have a network of windows and linux servers which doesn''t have the puppet agent installed. Is it possible to push the agent from puppet server to these unmanaged nodes by specifying hostname/IP address or some other parameters? -- 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/68e31847-0cd2-4870-a1f0-53fe9f0d3aee%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Juan Sierra Pons
2013-Dec-06 19:53 UTC
Re: [Puppet Users] Automatic Agent installation from dashboard?
Hi, AFAIK not from the dashboard but you can launch remote commands to the servers to install the puppet client and launch puppet agent --test to ask the puppetmaster for a signed certificate. Create a file named RemoteCommands.txt with the following content : (This is for Debian and puppet community, Adapt to your OS flavor and puppet version) wget http://apt.puppetlabs.com/puppetlabs-release-wheezy.deb && \ dpkg -i puppetlabs-release-wheezy.deb && rm -f puppetlabs-release-wheezy.deb \ apt-get update && apt-get -y install puppet update-alternatives --set ruby /usr/bin/ruby1.8 puppet agent --test Launch this one for each server ssh root@remoteserver1 /bin/bash < RemoteCommands.txt For windows I suppose that similar can be done using powershell. Hope it helps. Best regards -------------------------------------------------------------------------------------- Juan Sierra Pons juan@elsotanillo.net Linux User Registered: #257202 http://www.elsotanillo.net GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE -------------------------------------------------------------------------------------- 2013/12/6 Deep <acedeepu@gmail.com>:> Hi, > > Is there an option in puppet to automatically install agent in an unmanaged > node in the network from the dashboard? > > eg: I have a network of windows and linux servers which doesn''t have the > puppet agent installed. Is it possible to push the agent from puppet server > to these unmanaged nodes by specifying hostname/IP address or some other > parameters? > > -- > 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/68e31847-0cd2-4870-a1f0-53fe9f0d3aee%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/CABS%3Dy9um6byB-fzPyTToL_OL9XoRFSPcLWOYg%3D75x%2B%3Dr8JQ5JA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Rob Reynolds
2013-Dec-06 22:17 UTC
Re: [Puppet Users] Automatic Agent installation from dashboard?
Take a look at this as well - https://github.com/hashicorp/puppet-bootstrap On Fri, Dec 6, 2013 at 1:53 PM, Juan Sierra Pons <juan@elsotanillo.net>wrote:> Hi, > > AFAIK not from the dashboard but you can launch remote commands to the > servers to install the puppet client and launch puppet agent --test to > ask the puppetmaster for a signed certificate. > > Create a file named RemoteCommands.txt with the following content : > (This is for Debian and puppet community, Adapt to your OS flavor and > puppet version) > > wget http://apt.puppetlabs.com/puppetlabs-release-wheezy.deb && \ > dpkg -i puppetlabs-release-wheezy.deb && rm -f > puppetlabs-release-wheezy.deb \ > apt-get update && apt-get -y install puppet > update-alternatives --set ruby /usr/bin/ruby1.8 > puppet agent --test > > Launch this one for each server > ssh root@remoteserver1 /bin/bash < RemoteCommands.txt > > For windows I suppose that similar can be done using powershell. > > Hope it helps. > > Best regards > > > -------------------------------------------------------------------------------------- > Juan Sierra Pons juan@elsotanillo.net > Linux User Registered: #257202 http://www.elsotanillo.net > GPG key = 0xA110F4FE > Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE > > -------------------------------------------------------------------------------------- > > > 2013/12/6 Deep <acedeepu@gmail.com>: > > Hi, > > > > Is there an option in puppet to automatically install agent in an > unmanaged > > node in the network from the dashboard? > > > > eg: I have a network of windows and linux servers which doesn''t have the > > puppet agent installed. Is it possible to push the agent from puppet > server > > to these unmanaged nodes by specifying hostname/IP address or some other > > parameters? > > > > -- > > 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/68e31847-0cd2-4870-a1f0-53fe9f0d3aee%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/CABS%3Dy9um6byB-fzPyTToL_OL9XoRFSPcLWOYg%3D75x%2B%3Dr8JQ5JA%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. >-- Rob Reynolds Developer, Puppet Labs Join us at PuppetConf 2014, September 23-24 in San Francisco -- 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/CAMJiBK48xzcKaxLWXZGnx1U%3DGe7tDTLmUXBqPK8-%3DgDSTf5-Lw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.