Should I not be using a 'function' here?
I wanted to use more ruby
instead of exec
'ing out to a shell script that queries a Oracle DB to get the list of hostnames of my DNS servers, so I updated my custom function list_allow_upates.rb
to use oci8
and resolv
. I install ruby-oci8
on my puppet master (PE 2.7) but I guess I didn't understand that I would have to install ruby-oci8
on ALL my puppet agents. I do not want to have to do that (install ruby-oci8
on all my puppet agents). Here's what happen after I updated the custom function, list_allow_updates.rb ...