aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-20 17:53:06 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-20 17:53:06 -0200
commit557dfacf629e37e2e10b79da2ccddfe38b23bfa0 (patch)
tree86148e6887f86b84891d819d5651c721ab0b620d
parentdb024f3215de6800934eb3f30ccd8cef09aafe6a (diff)
downloadpuppet-nodo-557dfacf629e37e2e10b79da2ccddfe38b23bfa0.tar.gz
puppet-nodo-557dfacf629e37e2e10b79da2ccddfe38b23bfa0.tar.bz2
Removing quotes for default parameters at extlookup calls
-rw-r--r--manifests/host.pp2
-rw-r--r--manifests/nodo.pp4
-rw-r--r--manifests/personal.pp2
-rw-r--r--manifests/subsystems/monitor.pp2
-rw-r--r--manifests/vserver.pp2
5 files changed, 6 insertions, 6 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index cae28ce..f2ad776 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -20,7 +20,7 @@ class nodo::host inherits nodo {
# Monitoring
class { 'monitor':
type => 'host',
- use_nagios => extlookup('host_use_nagios', 'true'),
+ use_nagios => extlookup('host_use_nagios', true),
}
# Time configuration
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 933b7d3..4220771 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -46,8 +46,8 @@ class nodo {
}
class { 'apt':
- include_src => extlookup('apt_include_src', 'false'),
- use_next_release => extlookup('apt_use_next_release', 'false'),
+ include_src => extlookup('apt_include_src', false),
+ use_next_release => extlookup('apt_use_next_release', false),
}
include apt::unattended_upgrades
diff --git a/manifests/personal.pp b/manifests/personal.pp
index 1626f0c..0d914ba 100644
--- a/manifests/personal.pp
+++ b/manifests/personal.pp
@@ -12,7 +12,7 @@ class nodo::personal {
# Monitoring
class { 'monitor':
type => 'personal',
- use_nagios => extlookup('personal_use_nagios', 'false'),
+ use_nagios => extlookup('personal_use_nagios', false),
}
# Currently tor management just works for debian
diff --git a/manifests/subsystems/monitor.pp b/manifests/subsystems/monitor.pp
index e100781..6d3b5aa 100644
--- a/manifests/subsystems/monitor.pp
+++ b/manifests/subsystems/monitor.pp
@@ -1,7 +1,7 @@
class monitor(
$type = 'vserver',
$use_nagios = true,
- $use_fqdn = extlookup('use_nagios_fqdn', 'false')
+ $use_fqdn = extlookup('use_nagios_fqdn', false)
) {
if $use_nagios != false {
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index 21bed26..cecf5e3 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -48,7 +48,7 @@ class nodo::vserver inherits nodo {
# Nagios configuration
class { 'monitor':
type => 'vserver',
- use_nagios => extlookup('vserver_use_nagios', 'false'),
+ use_nagios => extlookup('vserver_use_nagios', false),
}
}
}