# We include munin configuration if it's not defined by
# and exported resource.
- if !defined(Munin[$hostname]) {
+ if !defined(Munin_node[$hostname]) {
include munin::client
}
$sshd_listen_address = [ "$ipaddress" ]
include sshd
- # Munin
- #$munin_port = "4901"
- #include munin::client
-
backupninja::sys { "sys":
ensure => present,
}
}
# Apply munin configuration for this node
- Munin <| tag == $name |>
+ Munin_node <| tag == $name |>
# Define a vserver instance
define instance($context, $ensure = 'running', $proxy = false, $puppetmaster = false, $gitd = false,
}
# Create a munin virtual resource to be realized in the node
- @munin { "$name":
+ @munin_node { "$name":
id => $id,
tag => $name,
}
# Define a munin node with custom port
-define munin($type, $id) {
+define munin_node($type, $id) {
# Use one port for each node
$munin_port = "59$id"
include munin::client