wavesoftware / puppet-glassfish

Glassfish module for Puppet
http://github.com/wavesoftware/puppet-glassfish
GNU General Public License v3.0
3 stars 2 forks source link

Glassfish 4 suppport? #3

Open LukaszByczynski opened 11 years ago

LukaszByczynski commented 11 years ago

Hardcoded path isn't best way of handling versions:

Error: chmod -R g+rwX /opt/download/glassfish3 returned 1 instead of one of [0]
Error: /Stage[main]/Glassfish/Glassfish::Setgroupaccess[set-perm]/Exec[rwX set-perm]/returns: change from notrun to 0 failed: chmod -R g+rwX /opt/download/glassfish3 returned 1 instead of one of [0]
Error: find /opt/download/glassfish3 -type d -exec chmod g+s {} + returned 1 instead of one of [0]
Error: /Stage[main]/Glassfish/Glassfish::Setgroupaccess[set-perm]/Exec[find set-perm]/returns: change from notrun to 0 failed: find /opt/download/glassfish3 -type d -exec chmod g+s {} + returned 1 instead of one of [0]
Error: chown -R glassfish:glassfish /opt/download/glassfish3 returned 1 instead of one of [0]
Error: /Stage[main]/Glassfish/Glassfish::Setgroupaccess[set-perm]/Exec[group set-perm]/returns: change from notrun to 0 failed: chown -R glassfish:glassfish /opt/download/glassfish3 returned 1 instead of one of [0]
Warning: /Stage[main]/Glassfish/Exec[move-downloaded]: Skipping because of failed dependencies
Warning: /File[servicefile]: Skipping because of failed dependencies
Warning: /File[asadminbin]: Skipping because of failed dependencies
Warning: /Stage[main]/Glassfish/Glassfish::Install_jars[http://alessandrosenai.googlecode.com/files/mysql-connector-java-5.1.12-bin.jar]/Exec[download http://alessandrosenai.googlecode.com/files/mysql-connector-java-5.1.12-bin.jar]: Skipping because of failed dependencies
Warning: /Stage[main]/Glassfish/Service[glassfish]: Skipping because of failed dependencies
fatmcgav commented 11 years ago

@LukaszByczynski

Might be worth trying my forked version of this module, which is available here: https://github.com/fatmcgav/puppet-glassfish

However looks like I still need to make a couple of tweaks to work with gf4... Will try and make those next week, time permitting...

Gav