meiji wang
2012-Aug-23 22:48 UTC
[Puppet Users] /etc/puppet/modules is missing and not sync-up with server.
Hi All, I am new to Puppet and face a challenge. I can sync with puppet master and receive classes.txt. However, the myclass modules does not sync to agent node. furthermore, there is no modules folder under /etc/puppet. Any suggestion to troubleshoot this issue? [root@srack1-31 puppet]# puppet agent --test --server puppet info: Caching catalog for srack1-31.epoq.xe info: Applying configuration version ''1345761461'' notice: Finished catalog run in 0.01 seconds [root@srack1-31 puppet]# cat classes.txt settings srack1-31.epoq.xe myclass myclass::install -- 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/-/c8O8KWcnaSgJ. 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.
Nan Liu
2012-Aug-23 23:17 UTC
Re: [Puppet Users] /etc/puppet/modules is missing and not sync-up with server.
On Thu, Aug 23, 2012 at 3:48 PM, meiji wang <wangmeiji@gmail.com> wrote:> Hi All, > I am new to Puppet and face a challenge. > I can sync with puppet master and receive classes.txt. However, the myclass > modules does not sync to agent node. furthermore, there is no modules > folder under /etc/puppet. Any suggestion to troubleshoot this issue?This isn''t actually a problem, the Puppet agent doesn''t download modules from the master.> [root@srack1-31 puppet]# puppet agent --test --server puppet > info: Caching catalog for srack1-31.epoq.xe > info: Applying configuration version ''1345761461'' > notice: Finished catalog run in 0.01 seconds > > > [root@srack1-31 puppet]# cat classes.txt > settings > srack1-31.epoq.xe > myclass > myclass::installThe client receives a catalog from the master which contains all the resource. Puppet Agent send facts -> Puppet Master compile catalog (from manifests + modules) -> Puppet Agent apply catalog -> Puppet Agent send reports -> Puppet Master process reports. This section in learning Puppet will explain this in more depth: http://docs.puppetlabs.com/learning/agent_master_basic.html Thanks, Nan -- 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.