Unattended upgrades erb expects list of origins

Was only passing in a single string to the template but it expects a
list of strings. Change the type of the origin passed in to list of
string to fix this issue.

Change-Id: I5bf4207b54ad7d6a13c240005dae6f685e544b6c
This commit is contained in:
Clark Boylan 2014-09-16 14:58:29 -07:00
parent ad87293150
commit c76082d0ec

View File

@ -19,7 +19,7 @@ class openstack_project::template (
include snmpd include snmpd
if $automatic_upgrades == true { if $automatic_upgrades == true {
class { 'openstack_project::automatic_upgrades': class { 'openstack_project::automatic_upgrades':
origins => "Puppetlabs:${lsbdistcodename}", origins => ["Puppetlabs:${lsbdistcodename}"],
} }
} }