biemond / biemond-jdk7

Puppet JDK7 module optimized for Oracle
Apache License 2.0
2 stars 15 forks source link

chkconfig path in urandomfix.pp #3

Closed lunkdjedi closed 10 years ago

lunkdjedi commented 10 years ago

On Redhat systems, chkconfig path should be /sbin/chkconfig

https://github.com/biemond/biemond-jdk7/blob/master/manifests/urandomfix.pp#L45 https://github.com/biemond/biemond-jdk7/blob/master/manifests/urandomfix.pp#L47

biemond commented 10 years ago

I set the default path to $path = '/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:'

so this should work

lunkdjedi commented 10 years ago

It did work, thanks!

lunkdjedi commented 10 years ago

Whoops, i still had urandomfix commented out in my manifest.

Error: /Stage[main]/Jdk7::Urandomfix/Exec[chkconfig rngd]: Could not evaluate: Could not find command 'chkconfig | /bin/grep '