Ask Your Question

Copying owner/module/group is deprecated

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

tek0011 gravatar image

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

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

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

joshc gravatar image

This is , fixed in open source 3.7.0

edit flag offensive delete link more


Thanks joshc!

tek0011 gravatar imagetek0011 ( 2014-09-23 18:38:15 -0600 )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


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

Seen: 319 times

Last updated: Sep 23 '14