diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-05 14:15:55 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-05 14:15:55 +0200 |
commit | 4df82325fd21caae708454c23d76e1ab5f9cb4ed (patch) | |
tree | 72b825677e8aa252cf681be55a8ee23b79394a3a /manifests/common.pp | |
parent | Add test to not run locale-gen on FreeBSD. (diff) | |
download | profiles-4df82325fd21caae708454c23d76e1ab5f9cb4ed.tar.gz profiles-4df82325fd21caae708454c23d76e1ab5f9cb4ed.tar.xz |
No btrfs on FreeBSD.
Diffstat (limited to 'manifests/common.pp')
-rw-r--r-- | manifests/common.pp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/manifests/common.pp b/manifests/common.pp index 3c9b9ea..0b2876a 100644 --- a/manifests/common.pp +++ b/manifests/common.pp @@ -81,11 +81,13 @@ class profiles::common ( content => "/usr/local/lib\n", } - # If a btrfs filesystem is detected, install userspace utilities. - if $facts['filesystems'] and $facts['filesystems'] =~ 'btrfs' { - ensure_packages([ - # Package name checked for Archlinux - 'btrfs-progs', - ]) + unless $facts['operatingsystem'] == 'FreeBSD' { + # If a btrfs filesystem is detected, install userspace utilities. + if $facts['filesystems'] and $facts['filesystems'] =~ 'btrfs' { + ensure_packages([ + # Package name checked for Archlinux + 'btrfs-progs', + ]) + } } } |