diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-04 02:31:04 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-04 02:31:04 +0200 |
commit | 9e6b0165c3572336c5c41e3ef515e9697967ff91 (patch) | |
tree | 620c5410904d0b0523a2cd8ddb29689cf6120b7f | |
parent | Repair redshift service file. (diff) | |
download | profiles-9e6b0165c3572336c5c41e3ef515e9697967ff91.tar.gz profiles-9e6b0165c3572336c5c41e3ef515e9697967ff91.tar.xz |
Allow for empty filesystems fact.
-rw-r--r-- | manifests/common.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/common.pp b/manifests/common.pp index 1b66357..2f35f51 100644 --- a/manifests/common.pp +++ b/manifests/common.pp @@ -79,7 +79,7 @@ class profiles::common ( } # If a btrfs filesystem is detected, install userspace utilities. - if $facts['filesystems'] =~ 'btrfs' { + if $facts['filesystems'] and $facts['filesystems'] =~ 'btrfs' { ensure_packages([ # Package name checked for Archlinux 'btrfs-progs', |