Ask Your Question
0

Copying owner/module/group is deprecated

asked 2014-09-23 08:06:23 -0500

tek0011 gravatar image

updated 2014-09-23 08:06:42 -0500

I keep getting this error when going through a puppet run:

Warning: Copying owner/mode/group from the source file on Windows is deprecated;
 use source_permissions => ignore.
   (at C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/sou
rce.rb:120:in `each')

I have this in my site.pp, but it doesnt seem to care. Still get the error.

# On windows, tells source permissions for files being copied over to be ignored.
if $osfamily == 'windows' {
        File { source_permissions => ignore }
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-09-23 16:22:34 -0500

joshc gravatar image

This is https://tickets.puppetlabs.com/browse... , fixed in open source 3.7.0

edit flag offensive delete link more

Comments

Thanks joshc!

tek0011 gravatar imagetek0011 ( 2014-09-23 18:38:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-09-23 08:06:23 -0500

Seen: 243 times

Last updated: Sep 23 '14