From 72d23331a1fed0abcee8c1d87efaeae4282650bd Mon Sep 17 00:00:00 2001 From: xiaodongwang Date: Wed, 3 Sep 2014 15:39:51 -0700 Subject: [PATCH] add collectd into openstack-common to force it run on all hosts Change-Id: Ia3dcec3e07def338a5a2290df6545e3f77529b0c --- chef/roles/compass-base.json | 15 +++++++++++++++ chef/roles/os-base.json | 1 + 2 files changed, 16 insertions(+) create mode 100644 chef/roles/compass-base.json diff --git a/chef/roles/compass-base.json b/chef/roles/compass-base.json new file mode 100644 index 0000000..4ca805e --- /dev/null +++ b/chef/roles/compass-base.json @@ -0,0 +1,15 @@ +{ + "name": "compass-base", + "description": "Base role to run before installing distributed system", + "json_class": "Chef::Role", + "default_attributes": { + }, + "override_attributes": { + }, + "chef_type": "role", + "run_list": [ + "recipe[collectd]" + }, + "env_run_lists": { + } +} diff --git a/chef/roles/os-base.json b/chef/roles/os-base.json index cec9e00..8990f59 100644 --- a/chef/roles/os-base.json +++ b/chef/roles/os-base.json @@ -8,6 +8,7 @@ }, "chef_type": "role", "run_list": [ + "role[compass-base]", "recipe[openstack-common]", "recipe[openstack-common::logging]", "recipe[openstack-common::set_endpoints_by_interface]",