summaryrefslogtreecommitdiff
path: root/manifests/register.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-05-13 14:12:07 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-05-13 14:12:07 -0400
commit4591a91f7a8b169d0aa3ccb46357c60f8dcb7079 (patch)
treec5d1fbf3efcab6d8ab0f01543a0957868b3ff65b /manifests/register.pp
parent1ffcd45c7a264864a578bd6a6866458d3756d20d (diff)
remove tabs and trailing whitespaces in manifests
Diffstat (limited to 'manifests/register.pp')
-rw-r--r--manifests/register.pp16
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/register.pp b/manifests/register.pp
index 59500a0..05d8f2a 100644
--- a/manifests/register.pp
+++ b/manifests/register.pp
@@ -3,7 +3,7 @@ define munin::register(
$port = 'absent'
)
{
- $munin_port_real = $port ? {
+ $munin_port_real = $port ? {
'absent' => $munin_port ? {
'' => 4949,
default => $munin_port
@@ -11,20 +11,20 @@ define munin::register(
default => $port
}
- $munin_host_real = $host ? {
+ $munin_host_real = $host ? {
'absent' => $munin_host ? {
'' => $fqdn,
'fqdn' => $fqdn,
default => $munin_host
},
default => $host
- }
+ }
- @@file { "/var/lib/puppet/modules/munin/nodes/${name}_${munin_port_real}":
- ensure => present,
- content => template("munin/defaultclient.erb"),
- tag => 'munin',
- }
+ @@file { "/var/lib/puppet/modules/munin/nodes/${name}_${munin_port_real}":
+ ensure => present,
+ content => template("munin/defaultclient.erb"),
+ tag => 'munin',
+ }
}