summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-10-04 02:31:04 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-10-04 02:31:04 +0200
commit9e6b0165c3572336c5c41e3ef515e9697967ff91 (patch)
tree620c5410904d0b0523a2cd8ddb29689cf6120b7f
parentRepair redshift service file. (diff)
downloadprofiles-9e6b0165c3572336c5c41e3ef515e9697967ff91.tar.gz
profiles-9e6b0165c3572336c5c41e3ef515e9697967ff91.tar.xz
Allow for empty filesystems fact.
-rw-r--r--manifests/common.pp2
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',