Op dinsdag 11 december 2012 05:41:40 UTC+1 schreef James Gray het volgende:

>
> What sort of solutions are people using to get round this?
>
> Thanks for your help,
> James
>

Honestly, we're not really managing versions much. We deploy our EC2 
servers from the official Ubuntu 12.04 LTS AMI's to avoid maintaining our 
own AMI's. We bootstrap Puppet via cloud-config metadata (see CloudInit), 
to connect to our Master. The Master autosigns the nodes and configures 
them. Since Ubuntu's stock AMI's are used so often by EC2 customers a new 
instance is booted very quickly. In general a new instance is started and 
fully configured within 7-10 minutes, which is fast enough for our 
auto-scaling demands.

Some important software-versions are set via Hiera 
(ensure=>'<someversion>'), but we try to avoid that if at all possible. We 
also try to avoid ensure=>'latest'.

These hosts are mostly public-facing webservers, so we automatically 
install security-updates via 'unattended-upgrades' but we've provided 
exclusions for packages that are set via Hiera since we have to test those 
first. Non-security-updates are periodically evaluated and applied 
'manually' via mcollective.

This may not be the best way to manage versions, but it works for us. In 
our experience Ubuntu's maintainers generally provide reliable updates, and 
most web-applications are not that dependent on very specific versions so 
we let dpkg figure out the dependency hell. We've not had any issues in the 
9 months since we started using EC2 that we could blame on versions.

Of course upgrading to a newer Long Term Support release will take some 
serious testing, but so far this simple method seems to work and saves us a 
lot of time.

Regards, Martijn

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/BPp1C4NhWswJ.
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