aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-20 18:18:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-20 18:18:39 -0200
commit71b709d92dbcb3b8e05c4ead59a20a86dec76faa (patch)
tree19968deabb968eba9e25804e63e058135d8c669e
parent2c24dcb640d090d1fd832f8f4ef4a8c21f668f8b (diff)
downloadpuppet-nodo-71b709d92dbcb3b8e05c4ead59a20a86dec76faa.tar.gz
puppet-nodo-71b709d92dbcb3b8e05c4ead59a20a86dec76faa.tar.bz2
Removing default values that should be boolean at extlookups
-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 b9c2a6b..219c783 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -21,7 +21,7 @@ class nodo::host inherits nodo {
if !defined('monitor') {
class { 'monitor':
type => 'host',
- use_nagios => extlookup('host_use_nagios', 'true'),
+ use_nagios => extlookup('host_use_nagios'),
}
}
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 933b7d3..3f29010 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'),
+ use_next_release => extlookup('apt_use_next_release'),
}
include apt::unattended_upgrades
diff --git a/manifests/personal.pp b/manifests/personal.pp
index 1626f0c..79bd611 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'),
}
# Currently tor management just works for debian
diff --git a/manifests/subsystems/monitor.pp b/manifests/subsystems/monitor.pp
index e100781..f4b5ccb 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')
) {
if $use_nagios != false {
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index 21bed26..f4558af 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'),
}
}
}