aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/site.pp2
-rw-r--r--modules/base_installation/manifests/services.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index 3d40ad2..11bc9ca 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1,6 +1,6 @@
1node default { 1node default {
2 lookup('classes').each |$class_name, $class_hash| { 2 lookup('classes').each |$class_name, $class_hash| {
3 if empty($class_hash) { 3 if $class_hash == undef or empty($class_hash) {
4 include $class_name 4 include $class_name
5 } else { 5 } else {
6 class { $class_name: 6 class { $class_name:
diff --git a/modules/base_installation/manifests/services.pp b/modules/base_installation/manifests/services.pp
index 57fbfc3..1659f97 100644
--- a/modules/base_installation/manifests/services.pp
+++ b/modules/base_installation/manifests/services.pp
@@ -1,6 +1,6 @@
1class base_installation::services inherits base_installation { 1class base_installation::services inherits base_installation {
2 2
3 if (empty($facts["in_chroot"])) { 3 if $facts["in_chroot"] == undef or empty($facts["in_chroot"]) {
4 $ensure = "running" 4 $ensure = "running"
5 } else { 5 } else {
6 $ensure = undef 6 $ensure = undef