Hello,
We have constructed the following class for deploying some_service;
class some_service {
include platform_common
platform_common::deployWarService { 'some_service':
repo => "our-repo-name",
service => $some_service_name,
version => $some_service_version,
web_context => $some_service_name,
undeploy_old_versions => "true"
}
}
This config has already been applied to machine_a in our development
platform.
Now we are trying to implement the following use case;
1) Developer commits code changes for some_service
2) Hudson/Jenkins job is triggered, compiles, tests, and generates war
artifact for some_service in our maven repository
3) Same Hudson/Jenkins job updates the the "some_service_version"
parameter in our puppetmaster ( this is a host specific parameter )
4) Puppet runs on machine_a, retrieves new config with
"some_service_version", retrieves and deploys the new war
Can I get suggestions on how to accomplish step 3. I know foreman
provides a REST API but it doesn't appear to allow modification of
"host" parameters.
Thanks,
Mark
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.