diff options
author | Elliott Davis <edavis@chef.io> | 2017-05-01 16:48:42 -0500 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-05-02 14:57:37 +0100 |
commit | f60781bbfe16a23078c22dced4ed968fe4e26ec3 (patch) | |
tree | 596e7ab16e5c2eb2c017786c8a585c88976dff42 /habitat/config | |
parent | 21dcbdd200d69725845f75b6b8bebe1ec950e826 (diff) | |
download | chef-f60781bbfe16a23078c22dced4ed968fe4e26ec3.tar.gz |
Update Habitat plan to correctly build
* Add a few config new settings
Signed-off-by: Elliott Davis <edavis@chef.io>
Diffstat (limited to 'habitat/config')
-rw-r--r-- | habitat/config/client.rb | 21 | ||||
-rw-r--r-- | habitat/config/data_collector_metadata.json | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/habitat/config/client.rb b/habitat/config/client.rb new file mode 100644 index 0000000000..1b1f512184 --- /dev/null +++ b/habitat/config/client.rb @@ -0,0 +1,21 @@ +cookbook_path "{{pkg.svc_data_path}}/{{cfg.cookbook_path}}" +data_bag_path "{{pkg.svc_data_path}}/{{cfg.data_bag_path}}" +environment_path "{{pkg.svc_data_path}}/{{cfg.environment_path}}" +file_backup_path "{{pkg.svc_data_path}}/{{cfg.file_backup_path}}" +node_path "{{pkg.svc_data_path}}/{{cfg.node_path}}" +role_path "{{pkg.svc_data_path}}/{{cfg.role_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}} +chef_repo_path "{{pkg.svc_data_path}}/chef" +environment "{{cfg.environment}}" +minimal_ohai {{cfg.minimal_ohai}} +{{#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 diff --git a/habitat/config/data_collector_metadata.json b/habitat/config/data_collector_metadata.json new file mode 100644 index 0000000000..10a5f027d3 --- /dev/null +++ b/habitat/config/data_collector_metadata.json @@ -0,0 +1 @@ +{"node_uuid": "{{svc.me.member_id}}"} |