7 ssh::keygen { 'munin' : }
8 ssh::authorized_key_add { 'munin-async-fetcher':
9 target_user => 'munin-async',
10 key => dig($facts, 'ssh_keys_users', 'munin', 'id_rsa.pub', 'line'),
11 command => '/usr/share/munin/munin-async --spoolfetch',
12 from => $base::public_addresses,
13 collect_tag => 'munin::munin-async-fetch'
16 file { '/etc/munin/munin.conf':
17 content => template('munin/munin.conf.erb'),
18 require => Package['munin'];
21 ssl::service { 'munin.debian.org':
22 notify => Exec['service apache2 reload'],
25 file { '/etc/munin/munin-conf.d':
31 source => 'puppet:///files/empty/',
34 Munin::Master_per_node<<| |>>
36 file { '/etc/cron.d/puppet-munin-cleanup': ensure => absent; }
38 concat::fragment { 'puppet-crontab--munin-master':
39 target => '/etc/cron.d/puppet-crontab',
40 source => 'puppet:///modules/munin/master-cleanup-cron',