diff options
author | Taras Chornyi <tarasx.chornyi@intel.com> | 2016-10-03 12:42:42 +0100 |
---|---|---|
committer | Taras Chornyi <tarasx.chornyi@intel.com> | 2016-10-03 12:42:42 +0100 |
commit | 8c17f4cb219221a080dd0a74e6e0baabdbfc4bcf (patch) | |
tree | 7c42b48e5665040ec05c144e43fd34e3d2d51109 /src/fuel-plugin/deployment_scripts/puppet/manifests | |
parent | bf4ef8881e5dfe7dedf149c4ae75909c712bb329 (diff) |
Enabled collectd build & installation
Change-Id: Ic80542f6b181e0972157c0a3b2fea1faf434f44b
Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
Diffstat (limited to 'src/fuel-plugin/deployment_scripts/puppet/manifests')
-rw-r--r-- | src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_install.pp | 5 | ||||
-rw-r--r-- | src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_restart.pp | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_install.pp b/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_install.pp new file mode 100644 index 00000000..ffe3d6d9 --- /dev/null +++ b/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_install.pp @@ -0,0 +1,5 @@ +if $operatingsystem == 'Ubuntu' { + package { 'collectd': + ensure => installed, + } +} diff --git a/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_restart.pp b/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_restart.pp new file mode 100644 index 00000000..59f5151b --- /dev/null +++ b/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_restart.pp @@ -0,0 +1,4 @@ +exec { "restart collectd": + command => "service collectd restart", + path => "/usr/bin:/usr/sbin:/bin:/sbin"; +} |