Allow puppet to be automatically upgraded

Since the puppet 3 release puppet versions are semver and we should be
able to rely on minor version releases not breaking the world. To get
security updates and the like allow puppet to be automatically upgraded.
Do this by setting an additional origin for the puppetlabs apt repo in
our unattended upgrades template.

Change-Id: I6224ef68aeb891431661f3afc553c4c3433e583a
This commit is contained in:
Clark Boylan 2014-09-12 12:00:56 -07:00
parent 1fd36481ce
commit 8ebf38cd29
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,6 @@ class openstack_project::slave (
) {
include openstack_project
include openstack_project::automatic_upgrades
include openstack_project::tmpcleanup
class { 'openstack_project::server':

View File

@ -18,7 +18,9 @@ class openstack_project::template (
include ssh
include snmpd
if $automatic_upgrades == true {
include openstack_project::automatic_upgrades
class { 'openstack_project::automatic_upgrades':
origins => "Puppetlabs:${lsbdistcodename}",
}
}
class { 'iptables':