Rob Reynolds
2013-Nov-20 18:40 UTC
[Puppet Users] Permissions for Windows Files Sourced from Puppet Master
With the changes for http://projects.puppetlabs.com/issues/18931 (Don''t set mode on Windows if not specified) & http://projects.puppetlabs.com/issues/5240 (Default ownership for files when uid/gid are unspecified), we''ve created the ability to specify whether to use source permissions, use when creating or ignore. We''ve left the default to :use so things work as expected. However with Windows, when things download they will not use source permissions as it is not supported in Windows at all. So what you get is a warning for sourced items: Warning: Copying owner/mode/group from the puppet master to Windows agents is not supported; use source_permissions => ignore. That warning will go away when you''ve updated all sourced files to add that in your manifests. Would anyone be at odds with us moving the default for windows for sourced items to ignore the source permissions? This would remove the warning that gets displayed in the upcoming version until you would change all sourced files to add `source_permissions => :ignore`. That way you would only see the warning if you tried to explicitly set the source_permissions for a file. -- Rob Reynolds Developer, Puppet Labs Join us at PuppetConf 2014, September 23-24 in San Francisco -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMJiBK6o-3dTkvFbsUsk5guZBTY0S0ZrNqqEJ8WCtQpoWvW8VA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.