diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-05 14:17:27 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-05 14:17:27 +0200 |
commit | 55d0b05fd6b8572e011bef10c118a214ad6c08ff (patch) | |
tree | e4a59f97ad5b60872a6bca948a968e255cc82142 /manifests/common.pp | |
parent | No btrfs on FreeBSD. (diff) | |
download | profiles-55d0b05fd6b8572e011bef10c118a214ad6c08ff.tar.gz profiles-55d0b05fd6b8572e011bef10c118a214ad6c08ff.tar.xz |
/usr/local/lib in ld.so.conf unneeded on FreeBSD.
Diffstat (limited to 'manifests/common.pp')
-rw-r--r-- | manifests/common.pp | 6 |
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' { |