-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> [root@host]# su postgres
> 
> bash-4.1$ ./initializePostgres.sh

(in SELinux terms) this is not the same as bash initializePostgres.sh

Maybe try with the following exec:

exec{'postgres init':
  command => '/applications/module/initializePostgres.sh',
  cwd     => '/applications/module',
  user    => 'postgres',
  group   => 'postgres',
}

~pete
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFIfR0ACgkQbwltcAfKi3/T9wCdHJuggTF8bouQ/gKk8Fo1AMk3
IeUAnikzl1hWe++U/cvsy/IxwgPHA8nl
=WnuX
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to