Shirley
2012-Feb-27 09:41 UTC
[Puppet Users] Can not retrieve file from puppet master linux to puppet agent windows
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 ? -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Craig White
2012-Feb-27 15:25 UTC
Re: [Puppet Users] Can not retrieve file from puppet master linux to puppet agent windows
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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Josh Cooper
2012-Feb-27 17:08 UTC
Re: [Puppet Users] Can not retrieve file from puppet master linux to puppet agent windows
On Mon, Feb 27, 2012 at 1:41 AM, Shirley <xiaole.chen88@gmail.com> wrote:> Linux master : ubuntu 11.10, puppet 2.7.1 > Windows agent : 2008 r2 x64, puppet 2.7.1 >Windows agent support was added in 2.7.6, however, we have fixed a number of issues since then, including the one you are running into. You''ll want to use the latest 2.7.x release: https://groups.google.com/group/puppet-announce/browse_thread/thread/2d5daed2291962c2 Josh -- Josh Cooper Developer, Puppet Labs -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.