thias / puppet-fooacl

Puppet POSIX ACLs module
Other
9 stars 20 forks source link

Fooacl dependency upon BASH version #11

Open grbailey66 opened 9 years ago

grbailey66 commented 9 years ago

Associative arrays were introduced to bash in version 4. Redhat 5 includes Bash 3.X without associative arrays. So the /usr/local/sbin/fooacl scripts with declare -A ACLOPTS fails with "unknown option -A".

[root sbin]# bash fooacl fooacl: line 7: declare: -A: invalid option declare: usage: declare [-afFirtx] [-p] [name[=value] ...]

bash --version GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu)