diff options
author | Salim Afiune <afiune@chef.io> | 2019-08-02 09:53:34 +0200 |
---|---|---|
committer | Salim Afiune <afiune@chef.io> | 2019-08-02 09:53:34 +0200 |
commit | a6acfe338b4b650a8c8a4336d346a05036d21fcb (patch) | |
tree | 489ab0934ebc324c0cf777cee280f82dfd21ba0a /habitat/config/client.rb | |
parent | 3284e9067aacbe42f96afc78b06e523b46b98d2f (diff) | |
download | chef-a6acfe338b4b650a8c8a4336d346a05036d21fcb.tar.gz |
Cleanup habitat/plan.sh for chef-infra-client
Signed-off-by: Salim Afiune <afiune@chef.io>
Diffstat (limited to 'habitat/config/client.rb')
-rw-r--r-- | habitat/config/client.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/habitat/config/client.rb b/habitat/config/client.rb new file mode 100644 index 0000000000..3dd6d67e1b --- /dev/null +++ b/habitat/config/client.rb @@ -0,0 +1,19 @@ +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}}" +{{#if cfg.chef-client.node_name ~}} +node_name "{{cfg.node_name}}" +{{/if ~}} +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 ~}} |