Install nova-network package if OS is Debian-based
This patch adds a new puppet manifest and a new task to be executed in the compute role, which will install nova-rootwrap network filters in case the OS is Debian-based. http://docs.midonet.org/docs/latest/quick-start-guide/ubuntu-1404_juno /content/nova_compute_node.html Change-Id: I6e9ca5ad5b637306cea86a13ebb0558309d4363b
This commit is contained in:
parent
f76f0610b4
commit
5850695dd7
|
@ -0,0 +1,8 @@
|
|||
if $::osfamily == 'Debian' {
|
||||
|
||||
package { 'nova-network':
|
||||
ensure => installed
|
||||
}
|
||||
|
||||
}
|
||||
|
10
tasks.yaml
10
tasks.yaml
|
@ -111,6 +111,16 @@
|
|||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 720
|
||||
|
||||
# Install nova-rootwrap network filters
|
||||
- id: midonet_nova_network
|
||||
role: [compute]
|
||||
stage: post_deployment/6421
|
||||
type: puppet
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/midonet-install-nova-network.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 720
|
||||
|
||||
# Register any host that runs MidoNet agent to the default tunnelzone
|
||||
- id: midonet_host_registry
|
||||
role: [primary-controller, controller, compute, midonet-gw]
|
||||
|
|
Loading…
Reference in New Issue