Issue #10299 has been updated by Jeff McCune. Status changed from In Topic Branch Pending Review to Merged - Pending Release
# Merged into 2.7.x # As: <https://github.com/puppetlabs/puppet/commit/5fa80eac95a753edeae4738ee97207b37aece13a> Pull Request: <https://github.com/puppetlabs/puppet/pull/482> ---------------------------------------- Bug #10299: Puppet.features.root? doesn't return true when running under as SYSTEM on Windows https://projects.puppetlabs.com/issues/10299#change-54366 Author: Josh Cooper Status: Merged - Pending Release Priority: Normal Assignee: Josh Cooper Category: windows Target version: 2.7.x Affected Puppet version: 2.7.4 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/482 On Windows, the SYSTEM (aka LocalSystem) account is not a member of the local Administrators group, so Puppet.features.root? returns false, when it should return true. This results in two issues, first puppet agent can't find it's Puppet::Util::RunMode#conf_dir, which points to the location of its configuration file. Second, the agent will raise an error when attempting to set owner, group, etc. -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
