X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fmunin%2Fmanifests%2Finit.pp;fp=modules%2Fmunin%2Fmanifests%2Finit.pp;h=8730f53f36349764cf8f20dfc578b756140de2db;hb=4a87e86ffd4eb2ba87e1bbc1582ed077267cb9cf;hp=9684a2944424c25ab09ebcf5734217c0e0cf1a73;hpb=6a41d00aebb4b6701229d2dca24ab0c0ce314a90;p=dsa-puppet.git diff --git a/modules/munin/manifests/init.pp b/modules/munin/manifests/init.pp index 9684a294..8730f53f 100644 --- a/modules/munin/manifests/init.pp +++ b/modules/munin/manifests/init.pp @@ -67,13 +67,21 @@ class munin { ; } - if $::munin_async and str2bool($::munin_async) == true { - file { '/etc/ssh/userkeys/munin-async': - source => 'puppet:///modules/munin/munin-async-authkeys', + #if $::munin_async and str2bool($::munin_async) == true { + # file { '/etc/ssh/userkeys/munin-async': + # source => 'puppet:///modules/munin/munin-async-authkeys', + # } + #} else { + # file { '/etc/ssh/userkeys/munin-async': + # ensure => 'absent', + # } + #} + if $::lsbmajdistrelease >= 7 { + package { 'munin-async': + ensure => installed } - } else { file { '/etc/ssh/userkeys/munin-async': - ensure => 'absent', + source => 'puppet:///modules/munin/munin-async-authkeys', } } }