--vlan is not the same as --vlan_start

the lib/puppet/provider/nova_network/nova_manage.rb provider was using
the --vlan option when it meant --vlan_start.  This caused "network
create" commands with num_networks > 1 to fail with "duplicate vlan"
errors.

Change-Id: Ibdca3b8de72b459eacf8b44b6350b9bc71310c1b
Closes-bug: #1362772
This commit is contained in:
Lars Kellogg-Stedman
2014-08-28 15:03:01 -04:00
parent d7d36abb97
commit c40e67f1b5

View File

@@ -30,7 +30,7 @@ Puppet::Type.type(:nova_network).provide(:nova_manage) do
:dns2 => '--dns2',
:gateway => '--gateway',
:bridge => '--bridge',
:vlan_start => '--vlan'
:vlan_start => '--vlan_start'
}.each do |param, opt|
if resource[param]
optional_opts.push(opt).push(resource[param])