Fix for https://github.com/example42/puppet-jboss/issues/6 and https://github.com/example42/puppet-jboss/issues/5