On Feb 27, 2012, at 2:41 AM, Shirley wrote:

> Hello,
> 
> 
> As the subject described, I tried to retrieve a file from linux master
> to windows agent with the init.pp below :
> class test {
>    file { “C:/ProgramData/testfile.txt”:
>    ensure => present,
>    mode => 0644,
>    owner => test,
>    group => Administrators,
>    source => “puppet:///modules/test/testfile.txt”,
>    }
> }
> 
> In the windows agent, I got the follow error message :
> ‘err: /Stage[main]/Test/File[C:ProgramData/testfile.txt]: Could not
> evaluate: Could not intern from pson: Paths must be fully qualified
> Could not retrieve file metadata for puppet:///modules/test/testfile.txt:
> Could not intern from pson: Paths must be fully qualified at /etc/
> puppet/modules/test/manifests/init.pp:27′
> 
> Linux master : ubuntu 11.10, puppet 2.7.1
> Windows agent : 2008 r2 x64, puppet 2.7.1
> 
> I have google a lot, but didn't find out the solution.
> somebody has an idea for this problem ?
----
does the file exist?

ls -l /etc/puppet/modules/test/files/test.txt  ?

Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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