Hi,

I am attempting to use the puppetlabs/concat module on Windows, but having 
some problems. To keep things really simple since it illustrates the 
problem, here is the mainfest I'm using (note: it just uses concat at this 
stage) :-

class concat_file {
  
  concat { 'E:/Temp/puppetTests/myfiles/concatFile.txt':
    ensure => present,
  }
}

When run the following is output :-

Warning: Copying owner/mode/group from the source file on Windows is 
deprecated; use source_permissions => ignore.
   (at D:/Apps/puppet/puppet/lib/puppet/type/file/source.rb:133:in `block 
in copy_source_values')
Debug: 
/Stage[main]/Concat::Setup/File[C:/ProgramData/PuppetLabs/puppet/var/concat/bin/concatfragments.rb]:
 
Copying owner
from the source file on Windows is deprecated; use source_permissions => 
ignore.
...
Error: 
/Stage[main]/Concat::Setup/File[C:/ProgramData/PuppetLabs/puppet/var/concat/bin/concatfragments.rb]:
 
Could not evaluate:
Could not read file 
C:/ProgramData/PuppetLabs/puppet/var/concat/bin/concatfragments.rb: 
Permission denied - 
C:/ProgramData/PuppetLabs/puppet/var/concat/bin/concatfragments.rb

followed by a number of other consequent errors.

The Warning is fair enough, but obviously I can't add source_permissions as 
a param since the concat manifest doesn't support it and will throw and 
invalid param error if I try. Its just a warning so OK, lets move on.

As part of setup (now included by default in init.pp) concatfragments.rb is 
copied to location shown, but clearly does not have permissions to read it ?

If I look at this file I can see that it indeed does not have read (or any 
other) permissions set.

I tried adding values user, group and mode but to no avail.

Can anyone suggest what I need to do here ?

Kind Regards

Fraser.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/89289e85-5f3c-4035-af5a-7b5f9f25383a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to