I made a change to include the source so the file looks like this below but 
now when I run puppet agent --server ct-eng-pup --test it hangs a bit but 
it actually works. Thanks a lot Daniel for pointing me in the right 
direction.
 
class websharedlibs {
  file { "/opt/caretools/webapps/ehrweb":
      ensure => "directory",
      source => "puppet:///websharedlibs/ehrweb",
      recurse => "remote",
      owner => "root",
      group => "root",
      mode => 755,
     }
}

On Tuesday, September 11, 2012 1:04:30 PM UTC-7, JGonza1 wrote:

> Is there a way to copy directories and the subdirectories under the parent 
> directory with puppet master to puppet client? How would I do that? 

-- 
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/-/PCnMdqDKsmkJ.
To post to this group, send email to puppet-users@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