Skip to content

Commit

Permalink
Fixed manage_service feature
Browse files Browse the repository at this point in the history
Using manage_service=>false in class neutron::agents::ovs generates
error. This patch is fixing the issue and makes mentioned use-case
installable.

Change-Id: I5a3205c3e21e1312463f47d938f5854a189c5d38
Closes-bug: #1359823
  • Loading branch information
paramite committed Aug 26, 2014
1 parent a929c14 commit e396f24
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions manifests/agents/ovs.pp
Original file line number Diff line number Diff line change
Expand Up @@ -137,17 +137,19 @@
} else {
$service_ensure = 'stopped'
}
service { 'neutron-plugin-ovs-service':
ensure => $service_ensure,
name => $::neutron::params::ovs_agent_service,
enable => $enabled,
require => Class['neutron'],
}
if $::neutron::params::ovs_cleanup_service {
service {'ovs-cleanup-service':
name => $::neutron::params::ovs_cleanup_service,
enable => $enabled,
}
}

service { 'neutron-plugin-ovs-service':
ensure => $service_ensure,
name => $::neutron::params::ovs_agent_service,
enable => $enabled,
require => Class['neutron'],
}

if $::neutron::params::ovs_cleanup_service {
service {'ovs-cleanup-service':
name => $::neutron::params::ovs_cleanup_service,
enable => $enabled,
}
}

Expand Down

0 comments on commit e396f24

Please sign in to comment.