Add a second easydns ipv4 address
[mirror/dsa-puppet.git] / modules / munin / manifests / check.pp
index ace6bb5..b122385 100644 (file)
@@ -9,13 +9,14 @@ define munin::check($ensure = present, $script = undef) {
        }
 
        $link_target = $ensure ? {
-               present => "/usr/share/munin/plugins/${link}",
+               present => link,
                absent  => absent,
                default => fail ( "Unknown ensure value: '$ensure'" ),
        }
 
        file { "/etc/munin/plugins/${name}":
                ensure  => $link_target,
+               target  => "/usr/share/munin/plugins/${link}",
                require => Package['munin-node'],
                notify  => Service['munin-node'],
        }