]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Allows file modes to be specified as strings
authorWalter Huf <walter.huf@corvisa.com>
Fri, 14 Mar 2014 15:30:24 +0000 (10:30 -0500)
committerWalter Huf <walter.huf@corvisa.com>
Fri, 14 Mar 2014 15:30:24 +0000 (10:30 -0500)
resources/client.rb

index 023e6c2fd2001815dcf4673183138983ca858569..2428b34d5fb0b90b42baf4790cd1dffee2876fcf 100644 (file)
@@ -19,6 +19,6 @@ attribute :filename, :kind_of => String
 # key file access creds
 attribute :owner, :kind_of => String, :default => 'root'
 attribute :group, :kind_of => String, :default => 'root'
-attribute :mode, :kind_of => Integer, :default => 00640
+attribute :mode, :kind_of => [Integer, String], :default => '00640'
 
 attr_accessor :key, :caps_match