summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-10-05 14:17:27 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-10-05 14:17:27 +0200
commit55d0b05fd6b8572e011bef10c118a214ad6c08ff (patch)
treee4a59f97ad5b60872a6bca948a968e255cc82142
parentNo btrfs on FreeBSD. (diff)
downloadprofiles-55d0b05fd6b8572e011bef10c118a214ad6c08ff.tar.gz
profiles-55d0b05fd6b8572e011bef10c118a214ad6c08ff.tar.xz
/usr/local/lib in ld.so.conf unneeded on FreeBSD.
-rw-r--r--manifests/common.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/common.pp b/manifests/common.pp
index 0b2876a..7d9fa61 100644
--- a/manifests/common.pp
+++ b/manifests/common.pp
@@ -77,8 +77,10 @@ class profiles::common (
ensure_packages(['nano'], { ensure => absent })
- file { '/etc/ld.so.conf.d/usr-local.conf':
- content => "/usr/local/lib\n",
+ unless $facts['operatingsystem'] == 'FreeBSD' {
+ file { '/etc/ld.so.conf.d/usr-local.conf':
+ content => "/usr/local/lib\n",
+ }
}
unless $facts['operatingsystem'] == 'FreeBSD' {