summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-10-28 15:57:03 +1100
committerJames Turnbull <james@lovedthanlost.net>2008-10-28 15:57:03 +1100
commite542f8c6fbfb5ae5eead9d5744667bd6840159f7 (patch)
tree7f70d891cd4c04c953607f6ca6eaa38f5707fc56
parent57e791b9e7da931e61dd8dfc0f68bd13cf2e6449 (diff)
downloadpuppet-e542f8c6fbfb5ae5eead9d5744667bd6840159f7.tar.gz
puppet-e542f8c6fbfb5ae5eead9d5744667bd6840159f7.tar.xz
puppet-e542f8c6fbfb5ae5eead9d5744667bd6840159f7.zip
Fixed #1692 - k5login fails to set mode when file is created
-rw-r--r--CHANGELOG2
-rw-r--r--lib/puppet/type/k5login.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 83b984040..0dcfcbd80 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
0.24.x
+ Fixed 1692 - k5login fails to set mode when file is created
+
Fixed #1660 - Added specific recurse values for tidy
Fixed #1698 - All logs should now show up in the reports
diff --git a/lib/puppet/type/k5login.rb b/lib/puppet/type/k5login.rb
index 2372f658a..d22be11b7 100644
--- a/lib/puppet/type/k5login.rb
+++ b/lib/puppet/type/k5login.rb
@@ -46,7 +46,7 @@ Puppet::Type.newtype(:k5login) do
write(@resource.should(:principals))
should_mode = @resource.should(:mode)
unless self.mode == should_mode
- self.mode should_mode
+ self.mode = should_mode
end
end