Fix Ubuntu duplicated declaration of nova-compute

Change-Id: I389bb54b2f8d7e4fbf50b93ea72465ba619e1fcf
This commit is contained in:
Aviram Bar-Haim 2015-06-03 14:10:51 +03:00
parent c5dd11922a
commit 7558789bbf
3 changed files with 10 additions and 10 deletions

View File

@ -29,10 +29,6 @@ class mellanox_openstack::agent (
source => 'puppet:///modules/mellanox_openstack/network.filters',
}
service { $compute_service_name :
ensure => running
}
File <| title == '/etc/nova/nova.conf' |> ->
File[$filters_dir] ->
File[$filters_file] ~>
@ -59,10 +55,18 @@ class mellanox_openstack::agent (
hasrestart => true,
}
service { $compute_service_name :
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
}
Package[$package] ->
File[$mlnx_agent_conf] ->
Mellanox_agent_config <||> ~>
Service[$agent]
Service[$agent] ~>
Service[$compute_service_name]
Package[$package] ~>
Service[$agent]

View File

@ -17,8 +17,4 @@ class mellanox_openstack::snapshot_patch {
notify => Service[$compute_service_name]
}
service { $compute_service_name :
ensure => running
}
}

View File

@ -5,7 +5,7 @@ name: mellanox-plugin
title: Mellanox Openstack features
# Plugin version
version: 0.2.20
version: 0.2.21
# Description
description: Enable features over Mellanox hardware