From 5d110ba1a1e8b2e0e7ab2cb0499940df86aebad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 28 Apr 2018 15:14:09 +0200 Subject: Fix deprecated empty function --- modules/base_installation/manifests/services.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/base_installation') 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 -- cgit v1.2.3