Hi Ben,
> class files1 { > file { "/etc/motd": > group => "puppet", > } > } > > The problem is that it's not picking up the class when it compiles the > catalogue. > resources within classes are not compiled into the catalog unless the class is included. > > I've found that it does however work when I either specify a node > definition with the class or remove the class entirely so it's just a > sinlge resource outside of a class > > node xldn1784dis { include files1 } > > class files1 { > file { "/etc/motd": > group => "puppet", > } > } > > this is the expected bahavior, in the example, you have included the class, so its resources will be compiled into the catalog. hope this helps, -Dan worker bee reductivelabs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.