summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-10-05 14:15:55 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-10-05 14:15:55 +0200
commit4df82325fd21caae708454c23d76e1ab5f9cb4ed (patch)
tree72b825677e8aa252cf681be55a8ee23b79394a3a
parentAdd test to not run locale-gen on FreeBSD. (diff)
downloadprofiles-4df82325fd21caae708454c23d76e1ab5f9cb4ed.tar.gz
profiles-4df82325fd21caae708454c23d76e1ab5f9cb4ed.tar.xz
No btrfs on FreeBSD.
-rw-r--r--manifests/common.pp14
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',
+ ])
+ }
}
}