Thnaks for your answer Martin.

Here is the beginning of the stack:

 [0;36mDebug: Executing '/bin/sh -c source /etc/profile && 
/opt/openam/bin/openam_install.sh install cm > /opt/openam/install.log' [0m

 [0;36mDebug: /Stage[main]/Openam::Config/Exec[openam_install]/returns: 
Certificate was added to keystore [0m
 [0;36mDebug: /Stage[main]/Openam::Config/Exec[openam_install]/returns: 
Certificate stored in file </tmp/openam-openam1.der> [0m
 [0;36mDebug: /Stage[main]/Openam::Config/Exec[openam_install]/returns: 
Certificate was added to keystore [0m
 [0;36mDebug: /Stage[main]/Openam::Config/Exec[openam_install]/returns: 
java.net.ConnectException: Connection refused [0m
 [0;36mDebug: /Stage[main]/Openam::Config/Exec[openam_install]/returns:         
at java.net.PlainSocketImpl.socketConnect(Native Method) [0m



Could it be an SSL connection issue instead of a path issue with the java 
-jar command?

About the idenpotency, by using the creates attribute normally ensure the 
exec command will be executed only if the file/directory doesn't exist. So 
i should not have any problem with that.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/cf796f0d-7ddb-4ff5-bbfb-5ce67aeae565%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to