On Nov 17, 2010, at 2:48 PM, Russell Fulton wrote:

>            source => '/home/sensors/Rules/raw',


This needs to be a puppet:// url which matches up to an appropriate 'mount' in 
your server's /etc/puppet/fileserver.conf:

# fileserver.conf
[sensors]
  path = /home/sensors
  allow = *
# end fileserver.conf

# in your manifest
  file {
       "/home/snort/Rules/raw":
           mode    => "750",
           owner   => snort,
           group   => snort,
           source => 'puppet:///sensors/Rules/raw',
          recurse => remote,
          ensure => present;
  }
# end manifest

Note I also changed your 'recurse => true' to 'recurse => remote', a sadly 
under-documented feature which eases recursive copies by recursing the source 
directory to build a list of files that need checksumming, not the target.  
(see http://projects.puppetlabs.com/issues/show/1469 for the backstory)


 - Eric Sorenson - N37 17.255 W121 55.738  - http://twitter.com/ahpook  -

-- 
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.

Reply via email to