diff options
author | Vivek Singh <vivek.singh@msystechnologies.com> | 2019-05-08 18:21:02 +0530 |
---|---|---|
committer | Vivek Singh <vivek.singh@msystechnologies.com> | 2019-05-08 18:21:02 +0530 |
commit | bc037f32bdfbb2c3bc187847edc7028dd4f458f3 (patch) | |
tree | e928704a9dcda81ebb8edbd3d5e359a33e5ce2e2 | |
parent | a0a0b02ce7d4a96fdaffa1762a6669afd6b60858 (diff) | |
download | chef-bc037f32bdfbb2c3bc187847edc7028dd4f458f3.tar.gz |
Fix FATAL: Configuration error SyntaxError in client.rb
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
-rw-r--r-- | lib/chef/knife/core/bootstrap_context.rb | 2 | ||||
-rw-r--r-- | lib/chef/knife/core/windows_bootstrap_context.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/core/bootstrap_context.rb b/lib/chef/knife/core/bootstrap_context.rb index 3dccb048ec..0f6dc0aedf 100644 --- a/lib/chef/knife/core/bootstrap_context.rb +++ b/lib/chef/knife/core/bootstrap_context.rb @@ -93,7 +93,7 @@ class Chef CONFIG unless @chef_config[:chef_license].nil? - client_rb << "chef_license \"#{@chef_config[:chef_license]}\"" + client_rb << "chef_license \"#{@chef_config[:chef_license]}\"\n" end if !(@chef_config[:config_log_level].nil? || @chef_config[:config_log_level].empty?) diff --git a/lib/chef/knife/core/windows_bootstrap_context.rb b/lib/chef/knife/core/windows_bootstrap_context.rb index a1b7311f51..285afe8969 100644 --- a/lib/chef/knife/core/windows_bootstrap_context.rb +++ b/lib/chef/knife/core/windows_bootstrap_context.rb @@ -65,7 +65,7 @@ class Chef CONFIG unless @chef_config[:chef_license].nil? - client_rb << "chef_license \"#{@chef_config[:chef_license]}\"" + client_rb << "chef_license \"#{@chef_config[:chef_license]}\"\n" end if @config[:chef_node_name] |