I think "ignore" is the correct default on Windows, assuming it results in 
files / directories that inherit permissions of their parents.


On Friday, January 3, 2014 11:53:22 PM UTC-5, Rob Reynolds wrote:
>
> Folks supporting Windows, do you have an opinion with this warning? This 
> may have gotten lost with the holiday season so following up. :)
>
>
> On Wed, Nov 20, 2013 at 12:40 PM, Rob Reynolds 
> <[email protected]<javascript:>
> > wrote:
>
>> 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
>>  
>
>
>
> -- 
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/05f05e77-64e0-452d-b53f-8ce365a3fc8d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to