From 83785a37c82f9270d20b8b956b67083bfb02a13f Mon Sep 17 00:00:00 2001 From: Walter Huf Date: Fri, 14 Mar 2014 10:30:24 -0500 Subject: [PATCH] Allows file modes to be specified as strings --- resources/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/client.rb b/resources/client.rb index 023e6c2..2428b34 100644 --- a/resources/client.rb +++ b/resources/client.rb @@ -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 -- 2.47.3