X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=blobdiff_plain;f=modules%2Fbase_installation%2Fmanifests%2Fservices.pp;h=1659f97f69380fef2b9885e660bc23640e5d6547;hp=57fbfc35b22edcc39a4d7a1e274b1b056a214a95;hb=5d110ba1a1e8b2e0e7ab2cb0499940df86aebad3;hpb=036a3f5ce06a3203325915b90e25f961e47d8fc0 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 @@ class base_installation::services inherits base_installation { - if (empty($facts["in_chroot"])) { + if $facts["in_chroot"] == undef or empty($facts["in_chroot"]) { $ensure = "running" } else { $ensure = undef