Can someone help, im trying to send an entire directory with its contents 
to the puppet agent. Here is the init.pp file:


class testing {

file { "C:/test/":


ensure => directory,
owner => 'Administrator',
group => 'Administrators',
mode => '0755',
}

 

file { "C:/test/testscript":


ensure => directory,
owner => 'Administrator',
group => 'Administrators',
mode => '0755',
source => "puppet:///modules/testing/files",
recurse => true,


}
}


When running the agent on the puppet it gives this error:

error: /stage[main]Testing/File/[testscript]: Could not evalate: Could not 
retrieve information from environment production source 
puppet:///modules/testing/files at 
/etc/puppet/modules/testing/manifests/init.pp:17
I can serve single files but not a directory. 
Many thanks :) 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/e2105f30-5e7d-43db-b6db-f8ae6b1bf512%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to