Skip to content

Commit fc9bd4a

Browse files
Denis Barishevsethvargo
authored andcommitted
[COOK-3653] Change template attribute to kind_of String
Signed-off-by: Seth Vargo <sethvargo@gmail.com>
1 parent 2d47823 commit fc9bd4a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.rubocop.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ LineLength:
1212
Enabled: false
1313
MethodLength:
1414
Max: 30
15-

resources/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
attribute :host, :kind_of => String, :default => 'ALL'
2727
attribute :runas, :kind_of => String, :default => 'ALL'
2828
attribute :nopasswd, :equal_to => [true, false], :default => false
29-
attribute :template, :regex => /^[a-z_]+.erb$/, :default => nil
29+
attribute :template, :kind_of => String, :default => nil
3030
attribute :variables, :kind_of => Hash, :default => nil
3131

3232
# Set default for the supports attribute in initializer since it is

0 commit comments

Comments
 (0)