search for: initializepostgr

Displaying 1 result from an estimated 1 matches for "initializepostgr".

Did you mean: initializepostgres
2013 Mar 19
3
Puppet modifying directories by executing shell script as non-root user results in kernel-level insufficient privilege complaints
...0 on a CentOS 6.3 machines. The puppet master and puppet agents use CentOS 6.3 as their OS. I have a puppet script (init.pp file for the puppet module) that contains the following exec type: exec { "postgres init": cwd => "/applications/module", command => "bash initializePostgres.sh", user => "postgres", group => "postgres" } As the code alludes to, I am directing puppet to initialize a PostgreSQL database via a shell script. cwd changes the working directory to the module''s destination, and the initializePostgres shell scri...