lalit jangra
2013-Jan-08 12:43 UTC
[Puppet Users] How to install a module from master to agent node?
Hi, I have a module which i have deployed under /opt/puppet/modules folder & i want to deploy it to agent node. I tried using "puppet agent -t" but module was not installed. Can anybody help me on how to install a module from master to agent node? Regards. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/F22Kq1vEnKgJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Brendan Murtagh
2013-Jan-08 13:10 UTC
[Puppet Users] Re: How to install a module from master to agent node?
Hi Lalit, Once the SSL cert has been signed by the Master for the new Agent, you could then specify the agent node in the site.pp on the master & run *puppet agent -d -tv *on the node on or use *puppet apply (* http://docs.puppetlabs.com/man/apply.html) and apply the module locally. -Brendan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/2BKX7OkjWMYJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Peter Bukowinski
2013-Jan-08 13:34 UTC
Re: [Puppet Users] How to install a module from master to agent node?
No modules or classes are applied by default so you will need to tell puppet what to do. In this case, you can run the following from the agent (where module_class is the name of the class the module applies): puppet apply -e ''include module_class'' Alternatively, you can put the following in site.pp and your node will pick up the module class automatically: node ''nodename.domain.org'' { include module_class } -- Peter (from phone) On Jan 8, 2013, at 7:43 AM, lalit jangra <lalit.j.jangra@gmail.com> wrote:> Hi, > > I have a module which i have deployed under /opt/puppet/modules folder & i want to deploy it to agent node. > > I tried using "puppet agent -t" but module was not installed. Can anybody help me on how to install a module from master to agent node? > > Regards. > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/F22Kq1vEnKgJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.