Fix router interface addition check.
* The cli has changed its output to include the interface id, which breaks router interface addition. * Did I mention we need to stop parsing cli output and switch to fog? Change-Id: I6711d6e10d3dd5b6173a0cf8fc617a35bb75cd10
This commit is contained in:
parent
c5005c221f
commit
b6b50a97e0
@ -59,7 +59,7 @@ Puppet::Type.type(:neutron_router_interface).provide(
|
||||
results = auth_neutron("router-interface-add", '--format=shell',
|
||||
resource[:name].split(':', 2))
|
||||
|
||||
if results =~ /Added interface to router/
|
||||
if results =~ /Added interface.* to router/
|
||||
@property_hash = {
|
||||
:ensure => :present,
|
||||
:name => resource[:name],
|
||||
|
Loading…
x
Reference in New Issue
Block a user