Issue #1692 has been reported by grumpus.
----------------------------------------
Bug #1692: k5login fails to set mode when file is created
http://projects.reductivelabs.com/issues/show/1692
Author: grumpus
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Trivial
Affected version: 0.24.6
Keywords:
There is a small bug in the k5login type where setting the mode fails when the
file is created.
Here is a diff of the fix:
<pre>
diff --git a/lib/puppet/type/k5login.rb b/lib/puppet/type/k5login.rb
index 2372f65..d22be11 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
</pre>
----------------------------------------
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---