]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/base_installation/manifests/services.pp
Fix deprecated empty function
[perso/Immae/Projets/Puppet.git] / modules / base_installation / manifests / services.pp
index 57fbfc35b22edcc39a4d7a1e274b1b056a214a95..1659f97f69380fef2b9885e660bc23640e5d6547 100644 (file)
@@ -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