On Sep 19, 3:52 pm, John Kennedy <skeb...@gmail.com> wrote:
> > Would it be possible to create a class to install Glassfish and require that > class to be fulfilled before? I actually thought that > require => Package['glassfish'] > would have the desired effect... That's what I was expecting but it fails when it can't find asadmin then if I create a dummy asadmin it files when it can't find passwordfile. $ puppet apply --modulepath modules/ manifests/test.pp --noop Could not find a default provider for domain $ touch ~/bin/asadmin && chmod +x ~/bin/asadmin $ puppet apply --modulepath modules/ manifests/test.pp --noop Parameter passwordfile failed: /opt/glassfish/.aspass does not exists at /home/matt/devel/puppet/modules/glassfish/manifests/testdomain.pp: 10 $ puppet -V 2.6.9 On a slightly seperate note, I've also had to set RUBYLIB to the lib in the module folder as well, which I wasn't expecting. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.