X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fbase_installation%2Fmanifests%2Fservices.pp;h=1659f97f69380fef2b9885e660bc23640e5d6547;hb=5d110ba1a1e8b2e0e7ab2cb0499940df86aebad3;hp=57fbfc35b22edcc39a4d7a1e274b1b056a214a95;hpb=48f15fb381adfa2e75ffda099f54088edec9f7bb;p=perso%2FImmae%2FProjets%2FPuppet.git 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