We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Puppet keeps changing the permission mode for the mcollective folders on windows.
PS C:\Windows\system32> puppet agent -t -v Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Retrieving locales Info: Loading facts Info: Caching catalog for xxxxxxxxxxxxxxxxxxxxxxxxxxx Info: Applying configuration version '1546718289' Notice: /Stage[main]/Mcollective::Config/File[C:/ProgramData/PuppetLabs/mcollective]/mode: mode changed '0775' to '0755' Notice: /Stage[main]/Mcollective::Config/File[C:/ProgramData/PuppetLabs/mcollective/etc]/mode: mode changed '0775' to '0 755' Notice: /Stage[main]/Mcollective::Config/File[C:/ProgramData/PuppetLabs/mcollective/var]/mode: mode changed '0775' to '0 755' Notice: /Stage[main]/Mcollective::Config/File[C:/ProgramData/PuppetLabs/mcollective/var/log]/mode: mode changed '0775' t o '0755' Notice: Applied catalog in 17.43 seconds PS C:\Windows\system32> puppet agent -t -v Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Retrieving locales Info: Loading facts Info: Caching catalog for xxxxxxxxxxxxxxxxxxxxxxxxxx Info: Applying configuration version '1546718331' Notice: /Stage[main]/Mcollective::Config/File[C:/ProgramData/PuppetLabs/mcollective]/mode: mode changed '0775' to '0755' Notice: /Stage[main]/Mcollective::Config/File[C:/ProgramData/PuppetLabs/mcollective/etc]/mode: mode changed '0775' to '0 755' Notice: /Stage[main]/Mcollective::Config/File[C:/ProgramData/PuppetLabs/mcollective/var]/mode: mode changed '0775' to '0 755' Notice: /Stage[main]/Mcollective::Config/File[C:/ProgramData/PuppetLabs/mcollective/var/log]/mode: mode changed '0775' t o '0755' Notice: Applied catalog in 15.04 seconds
My workarround was to not try to manage the mode for windows:
case $facts['kernel'] { 'Linux': { $mcollective::required_directories.each |$dir| { file{$dir: ensure => "directory", owner => $mcollective::plugin_owner, group => $mcollective::plugin_group, mode => "0755" } } } 'windows': { $mcollective::required_directories.each |$dir| { file{$dir: ensure => "directory", owner => $mcollective::plugin_owner, group => $mcollective::plugin_group, } } } }
The text was updated successfully, but these errors were encountered:
For windows with the mode '0775' it works too.
$mcollective::required_directories.each|$dir| { file{$dir: ensure => "directory", owner => $mcollective::plugin_owner, group => $mcollective::plugin_group, mode => "0775", } }
Sorry, something went wrong.
(choria-io#216) ensure config dir permissions do not flip flop on win…
d615ff7
…dows
Merge pull request #217 from ripienaar/216
cf01269
(#216) ensure config dir permissions do not flip flop on windows
No branches or pull requests
Hello,
Puppet keeps changing the permission mode for the mcollective folders on windows.
My workarround was to not try to manage the mode for windows:
The text was updated successfully, but these errors were encountered: