> > > My simple site.pp below would work. > > > > node default { include solaris } > > class solaris { > > file { "/etc/motd": > > source => "puppet:///files-solaris/etc/motd", > > recurse => true, > > } > > } > > But, if "/motd" is removed, files under /etc would not get updated. > > what do you try to do? which files should be updated? what do you expect > to achieve setting the recurse to true?
My fileserver.conf contains [files-solaris] path /etc/puppet/manifests/files/solaris allow * and puppetmaster# ls /etc/puppet/manifests/files/solaris/etc motd nsswitch.conf pam.conf resolv.conf I would like to have these files in /etc of all solaris hosts. > > > node default { include solaris } > > class solaris { > > file { "/etc": > > source => "puppet:///files-solaris/etc", > > recurse => true, > > } > > } > > err: //solaris/File[/etc]: Failed to generate additional resources using > > 'eval_generate': Cannot manage files of type unknown > > what do you try to achieve with this? what is etc in files-solaris? > > cheers pete > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAktfQUoACgkQbwltcAfKi3/JEgCdG9BGxT19eLqJs3ObwJtZ8yyj > z2EAoLQ/9PxdksVeKg6WurUazWa83bwh > =BCEe > -----END PGP SIGNATURE----- > > -- > 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<puppet-users%2bunsubscr...@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-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.