Closed itewk closed 9 years ago
@cpitman can this get in before next Wednesday 4/29/15?
I think I would prefer if server.pp
conditionally declared the cleanup resource instead of passing noop into it, and calling the parameter manage_server_restart
. What do you think?
@cpitman, that could be fine on that side, but I would still like the $noop param to be added to cleanup and passed to its sub resources.
I want/need to be able to do
JBoss_admin::Cleanup <| server = $server_name |> { noop => $disable, }
so I can guaranty no cleanups run. I for instance declare another cleanup to run for artifact deployments. And if I just wrap that in an if then it breaks all of the require and before statements on my other resources to make sure they run after my specfiic cleanup.
And do to a bug in puppet, at least the version I am running, even though meta params are supposed to pass to the sub resources of a defined type, in practice they don't unless you do what I did.
Ok, I understand why you need noop
in Cleanup
. I would still prefer the changes I suggested to server.pp.
@cpitman alright, ill update shortly.
@cpitman hows abouts thats? I han haz mergz?
@cpitman thanks a bunch!
@cpitman how does this look?