> The output for this task is "returns: executed successfully".  But the
> server hasn't been started and when I look at the directory, it's clear that
> the build and compile haven't even been run.  Is it obvious to anyone why
> this exec step says it's finished but doesn't seem to have done?

The & symbol at the end of the command backgrounds the task in Unix:

>             exec { "run application":
>               cwd => '/srv/loadShop/loadShop/',
>               command => 'mvn jetty:run &',
>               environment => 'MAVEN_OPTS="-XX:+CMSClassUnloadingEnabled
> -XX:PermSize=256M -XX:MaxPermSize=512M"',
>               logoutput => true,
>             }

Remove it and see what happens instead. Puppet won't track background
tasks like this, and it might be failing.

ken.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to