Issue #22335 has been updated by Klavs Klavsen.
I did ofcourse roll out 3.0.3-rc3 (actually I took rc2 first - and then rc3
came. :) - on the affected machines.
I did experiment - and I set these settings:
File { owner => 'S-1-5-18', group => 'Administrators' }
Using the SID for local system user - because that works - no matter what
version of windows I'm using (appearently the user is named something else, in
some country versions :)
This means puppet doesn't even try to change user, nor group - and yet it still
it shut itself out, after changing the permissions of the facter folder.
It would have worked just fine - if I could actually tell puppet to just KEEP
the existing mode - but unfortunately puppet insists on either setting what I
give it, OR set the permissions it sees on the server (which is unix - so
that's just a plain dumb idea).
----------------------------------------
Bug #22335: windows mode 2000770 not handled by puppet
https://projects.puppetlabs.com/issues/22335#change-97370
* Author: Klavs Klavsen
* Status: Needs More Information
* Priority: Normal
* Assignee:
* Category:
* Target version:
* Affected Puppet version: 3.2.4
* Keywords:
* Branch:
----------------------------------------
I was trying to update facter on my puppet-3.2.4 install on windows (due to a
bug with ipv6 addresses in $ipaddress fact which is fixed in 1.7.3-rc1).
I tried to just use a file resource with recurse => true.
Problem is, facter folder has mode 2000770 - which I can't define in file mode
- and if I don't - it can't overwrite the files:
Everything goes fine -until it gets to changing the mode on the facter folder:
Notice: /Stage[main]/Puppet/File[C:\Program Files (x86)\Puppet
Labs\Puppet\facter]/mode: mode changed '2000770' to '0770'
Warning: /File[C:/Program Files (x86)/Puppet Labs/Puppet/facter/LICENSE]: Could
not stat; permission denied
Warning: /File[C:/Program Files (x86)/Puppet Labs/Puppet/facter/Gemfile]: Could
not stat; permission denied
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.