From 4fc1dfc46210a3623aba931f5fd746edb5036280 Mon Sep 17 00:00:00 2001 From: Toni Schmidbauer Date: Tue, 18 Nov 2014 13:55:53 +0100 Subject: [PATCH] use concatfragments.rb on AIX AIX find does not support the print0 option. It's basically the same as on Solaris: Debug: Executing '/var/lib/puppet/concat/bin/concatfragments.sh -o "/var/lib/puppet/concat/_var_ossec_etc_ossec-agent.conf/fragments.concat.out" -d "/var/lib/puppet/concat/_var_ossec_etc_ossec-agent.conf" -t' Debug: /Stage[main]/Ossec::Client/Concat[/var/ossec/etc/ossec-agent.conf]/Exec[concat_/var/ossec/etc/ossec-agent.conf]/unless: find: bad option -print0 --- manifests/setup.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/setup.pp b/manifests/setup.pp index 1a6af6487..f04f2d7f5 100644 --- a/manifests/setup.pp +++ b/manifests/setup.pp @@ -31,8 +31,8 @@ # this goes smoothly, we should move towards completely eliminating the .sh # version. $script_name = $::osfamily? { - /(?i:(Windows|Solaris))/ => 'concatfragments.rb', - default => 'concatfragments.sh' + /(?i:(Windows|Solaris|AIX))/ => 'concatfragments.rb', + default => 'concatfragments.sh' } $script_path = "${concatdir}/bin/${script_name}"