>
> Personally, I would use some sort of CI solution like Hudson that
> would be triggered on commit.  As part of the configured project you
> could have a full test suite run and if (and only if) it was entirely
> successful build new OS packages and push that artefact up to your
> repository.


That's exactly what we are doing (I should have perhaps be more clear)


> Puppet can then be set to 'latest' for those packages and
> trigger the redeployment based on that change.
>

This is exactly what I want to do, however those application are not package
as rpm or deb but simply zipfile. Indeed, the applications are Java based
application runned by daemontools. We simply unzip them and let daemontools
start them.

"In lieu of" Yum or Apt, we use Ivy. But even if we were to use Yum/Apt, and
set upgradeable to the appropriate package, I don't think (or I didn't
understand something) that it would trigger the puppet to upgrade
automatically, as soon as the package is made available by the CI tool (in
our case Hudson).

... or I miss something ?


> That gives a much more robust, repeatable, and automated deployment
> solution that ensures you push only if things are work.  However, if
> you don't care so much you could just use the 'puppetrun' tool to
> trigger an agent run on the staging machines, and use whatever
> mechanism you prefer to have puppet install the latest version.
>
> Triggering puppetrun should be easy enough to automate based on
> whatever post-commit or post-push hooks your VCS supports.
>

At first glance, sounds that puppetrun is probably a better option. I have
to look into it (never really used it).


>
> Regards,
>    Daniel
> --
> ✉ Daniel Pittman <dan...@rimspace.net>
> ⌨ dan...@rimspace.net (XMPP)
> ☎ +1 503 893 2285
> ♻ made with 100 percent post-consumer electrons
>
> --
> 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+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>


-- 
Romain PELISSE,
*"The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it" -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to