summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorechohack <echohack@users.noreply.github.com>2019-06-19 12:56:55 -0700
committerechohack <echohack@users.noreply.github.com>2019-06-19 19:15:43 -0700
commitf6a32bd0cf0c9c4d9b6b149bfb704430819d4930 (patch)
treee05ff546f5633653488a40a8146886f4efe77a85
parent1312c026cf6af6f21c5640628b08192c6c527cf1 (diff)
downloadchef-f6a32bd0cf0c9c4d9b6b149bfb704430819d4930.tar.gz
I give up, let's string quote it
Signed-off-by: echohack <echohack@users.noreply.github.com>
-rw-r--r--habitat-packages/chef-client/config/client.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/habitat-packages/chef-client/config/client.rb b/habitat-packages/chef-client/config/client.rb
index c7a12c2b85..3dd6d67e1b 100644
--- a/habitat-packages/chef-client/config/client.rb
+++ b/habitat-packages/chef-client/config/client.rb
@@ -1,21 +1,19 @@
-# rubocop:disable all
chef_repo_path "{{pkg.svc_data_path}}/chef"
file_backup_path "{{pkg.svc_data_path}}/{{cfg.file_backup_path}}"
pid_file "{{pkg.svc_data_path}}/{{cfg.pid_file}}"
data_collector.server_url "{{cfg.data_collector.url}}"
data_collector.token "{{cfg.data_collector.token}}"
data_collector.mode "{{cfg.data_collector.mode}}".to_sym
-data_collector.raise_on_failure {{cfg.data_collector.raise_on_failure}}
-minimal_ohai {{cfg.minimal_ohai}}
-local_mode {{cfg.local_mode}}
+data_collector.raise_on_failure "{{cfg.data_collector.raise_on_failure}}"
+minimal_ohai "{{cfg.minimal_ohai}}"
+local_mode "{{cfg.local_mode}}"
{{#if cfg.chef-client.node_name ~}}
node_name "{{cfg.node_name}}"
{{/if ~}}
-splay {{cfg.splay}}
-interval {{cfg.interval}}
-log_location {{cfg.log_location}}
+splay "{{cfg.splay}}"
+interval "{{cfg.interval}}"
+log_location "{{cfg.log_location}}"
log_level "{{cfg.log_level}}".to_sym
{{#if cfg.use_member_id_as_uuid ~}}
chef_guid "{{svc.me.member_id}}"
{{/if ~}}
-# rubocop:enable all