mkochco
unread,Feb 10, 2012, 12:18:45 AM2/10/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Puppet Users, mk...@tendrilinc.com
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