fatmcgav/puppet-glassfish — pull request #8 by superseb (2014-01-16 20:24:29+00:00)
Title: Call raise_error on subject to catch the error.

This should help, the create_service_spec.rb fails on another point because you use the fail function in a selector's default (for more info, see http://projects.puppetlabs.com/issues/4598). After you fix that, it should be fine.