mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
https://puppet.com/docs/puppet/7/style_guide.html#style_guide_module_design-quoting “If a string is a value from an enumerable set of options, such as present and absent, it SHOULD NOT be enclosed in quotes at all.” Signed-off-by: Anders Kaseorg <anders@zulip.com>
16 lines
444 B
Puppet
16 lines
444 B
Puppet
define zulip_ops::munin_plugin {
|
|
file { "/usr/local/munin/lib/plugins/${title}":
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0755',
|
|
source => "puppet:///modules/zulip_ops/munin-plugins/${title}",
|
|
}
|
|
|
|
file { "/etc/munin/plugins/${name}":
|
|
ensure => link,
|
|
require => File["/usr/local/munin/lib/plugins/${title}"],
|
|
target => "/usr/local/munin/lib/plugins/${title}",
|
|
notify => Service['munin-node'],
|
|
}
|
|
}
|