diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-28 15:14:09 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-28 15:14:45 +0200 |
commit | 5d110ba1a1e8b2e0e7ab2cb0499940df86aebad3 (patch) | |
tree | 11426d8a18edbb1e6566d89895486f62e0c240b9 /modules | |
parent | 036a3f5ce06a3203325915b90e25f961e47d8fc0 (diff) | |
download | Puppet-5d110ba1a1e8b2e0e7ab2cb0499940df86aebad3.tar.gz Puppet-5d110ba1a1e8b2e0e7ab2cb0499940df86aebad3.tar.zst Puppet-5d110ba1a1e8b2e0e7ab2cb0499940df86aebad3.zip |
Fix deprecated empty function
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base_installation/manifests/services.pp | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
1 | class base_installation::services inherits base_installation { | 1 | class 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 |