vendored/puppet/lib/puppet/settings/file_setting.rb in bolt-0.23.0 vs vendored/puppet/lib/puppet/settings/file_setting.rb in bolt-0.24.0

- old
+ new

@@ -154,10 +154,10 @@ mode = mode.to_s(8) resource[:mode] = mode end # REMIND fails on Windows because chown/chgrp functionality not supported yet - if Puppet.features.root? and !Puppet.features.microsoft_windows? + if Puppet.features.root? and !Puppet::Util::Platform.windows? resource[:owner] = self.owner if self.owner resource[:group] = self.group if self.group end end