From 8c17f4cb219221a080dd0a74e6e0baabdbfc4bcf Mon Sep 17 00:00:00 2001 From: Taras Chornyi Date: Mon, 3 Oct 2016 12:42:42 +0100 Subject: Enabled collectd build & installation Change-Id: Ic80542f6b181e0972157c0a3b2fea1faf434f44b Signed-off-by: Taras Chornyi --- .../deployment_scripts/puppet/manifests/collectd_install.pp | 5 +++++ .../deployment_scripts/puppet/manifests/collectd_restart.pp | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_install.pp create mode 100644 src/fuel-plugin/deployment_scripts/puppet/manifests/collectd_restart.pp (limited to 'src/fuel-plugin/deployment_scripts/puppet') 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"; +} -- cgit 1.2.3-korg