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 puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
Ohad Levy
2012-Feb-12 10:54 UTC
Re: [Puppet Users] Hudson/Jenkins updating host parameter?
On Fri, Feb 10, 2012 at 7:18 AM, mkochco <mkochco@gmail.com> wrote:> > 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.AFAIK, all parameters can be modified over the API, including host parameters.. feel free to provide more details on the foreman users list. Cheers, Ohad -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.