summaryrefslogtreecommitdiff
path: root/lib/chef/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r--lib/chef/node.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb
index c7813eb2aa..294358f405 100644
--- a/lib/chef/node.rb
+++ b/lib/chef/node.rb
@@ -103,7 +103,7 @@ class Chef
Chef::Config[:chef_server_url],
client_name: Chef::Config[:node_name],
signing_key_filename: Chef::Config[:client_key],
- validate_utf8: false,
+ validate_utf8: false
)
end
@@ -115,7 +115,7 @@ class Chef
{ :name => { :kind_of => String,
:cannot_be => :blank,
:regex => /^[\-[:alnum:]_:.]+$/ },
- },)
+ })
@name = arg
else
@name
@@ -126,7 +126,7 @@ class Chef
set_or_return(
:chef_environment,
arg,
- { :regex => /^[\-[:alnum:]_]+$/, :kind_of => String },
+ { :regex => /^[\-[:alnum:]_]+$/, :kind_of => String }
)
end