Fix Ubuntu duplicated declaration of nova-compute
Change-Id: I389bb54b2f8d7e4fbf50b93ea72465ba619e1fcf
This commit is contained in:
parent
c5dd11922a
commit
7558789bbf
|
@ -29,10 +29,6 @@ class mellanox_openstack::agent (
|
||||||
source => 'puppet:///modules/mellanox_openstack/network.filters',
|
source => 'puppet:///modules/mellanox_openstack/network.filters',
|
||||||
}
|
}
|
||||||
|
|
||||||
service { $compute_service_name :
|
|
||||||
ensure => running
|
|
||||||
}
|
|
||||||
|
|
||||||
File <| title == '/etc/nova/nova.conf' |> ->
|
File <| title == '/etc/nova/nova.conf' |> ->
|
||||||
File[$filters_dir] ->
|
File[$filters_dir] ->
|
||||||
File[$filters_file] ~>
|
File[$filters_file] ~>
|
||||||
|
@ -59,10 +55,18 @@ class mellanox_openstack::agent (
|
||||||
hasrestart => true,
|
hasrestart => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
service { $compute_service_name :
|
||||||
|
ensure => running,
|
||||||
|
enable => true,
|
||||||
|
hasstatus => true,
|
||||||
|
hasrestart => true,
|
||||||
|
}
|
||||||
|
|
||||||
Package[$package] ->
|
Package[$package] ->
|
||||||
File[$mlnx_agent_conf] ->
|
File[$mlnx_agent_conf] ->
|
||||||
Mellanox_agent_config <||> ~>
|
Mellanox_agent_config <||> ~>
|
||||||
Service[$agent]
|
Service[$agent] ~>
|
||||||
|
Service[$compute_service_name]
|
||||||
|
|
||||||
Package[$package] ~>
|
Package[$package] ~>
|
||||||
Service[$agent]
|
Service[$agent]
|
||||||
|
|
|
@ -17,8 +17,4 @@ class mellanox_openstack::snapshot_patch {
|
||||||
notify => Service[$compute_service_name]
|
notify => Service[$compute_service_name]
|
||||||
}
|
}
|
||||||
|
|
||||||
service { $compute_service_name :
|
|
||||||
ensure => running
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ name: mellanox-plugin
|
||||||
title: Mellanox Openstack features
|
title: Mellanox Openstack features
|
||||||
|
|
||||||
# Plugin version
|
# Plugin version
|
||||||
version: 0.2.20
|
version: 0.2.21
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
description: Enable features over Mellanox hardware
|
description: Enable features over Mellanox hardware
|
||||||
|
|
Loading…
Reference in New Issue