Sha256: b8e2e6f71fbb9e01d70f4b4ea2d90bc5b2504abbfcc9b2df8c436ba33ef45a13
Contents?: true
Size: 638 Bytes
Versions: 17
Compression:
Stored size: 638 Bytes
Contents
module PoolParty module Resources class Collectd < Resource PoolParty::Resources::FileResource.has_searchable_paths(:prepend_paths=> [File.dirname(__FILE__)+'/collectd/templates']) def after_loaded has_package 'collectd' %w(rrdtool librrd-dev librrd-ruby libsensors-dev libsnmp-dev collectd collectd-dev).each{|pkg| has_package pkg } has_gem_package "astro-collectd" has_variable 'server', "localhost" has_file '/etc/collectd/collectd.conf' do template 'collectd.conf.erb' end end end end end
Version data entries
17 entries across 17 versions & 2 rubygems