source => "puppet:///files/etc/sudoers"
instead. This will link automatically to your local host's Puppet master. If you are already working with modules, you should work with
source => "puppet:///modules/<yourmodulename>/etc/sudoers"
Your file 'sudoers' must then be below a directory 'etc' in your 'files' directory in the according module.
Bernd
> -----Ursprüngliche Nachricht-----
> Von: puppet...@googlegroups.com [mailto:puppet-
> us...@googlegroups.com] Im Auftrag von niraj
> Gesendet: Mittwoch, 7. März 2012 10:40
> An: Puppet Users
> Betreff: [Puppet Users] Distributing file over puppet client
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-
> users+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.