order fix for overrides

This commit is contained in:
Andrey Korolyov 2013-10-02 16:01:38 +04:00
parent 9182b7d2eb
commit 7e240e59e4
6 changed files with 9 additions and 3 deletions

View File

@ -91,6 +91,7 @@ class cluster::haproxy (
ensure => "present",
content => "manual",
mode => 644,
before => Package['haproxy'],
}
}
}

View File

@ -114,13 +114,13 @@ class corosync (
}
}
if $::operatingsystem == 'Ubuntu' {
package { ['corosync', 'pacemaker']: ensure => present } ->
file { "/etc/init/corosync.override":
file { "/etc/init/corosync.override":
replace => "no",
ensure => "present",
content => "manual",
mode => 644,
}
} ->
package { ['corosync', 'pacemaker']: ensure => present }
} else {
package { ['corosync', 'pacemaker']: ensure => present }
}
@ -181,6 +181,7 @@ class corosync (
exec { 'rm_corosync_override':
command => '/bin/rm -f /etc/init/corosync.override',
path => ['/bin', '/usr/bin'],
require => File['/etc/corosync/corosync.conf'],
}
}
}

View File

@ -26,6 +26,7 @@ class quantum::agents::dhcp (
ensure => "present",
content => "manual",
mode => 644,
before => Package['quantum-dhcp-agent'],
}
}
}

View File

@ -41,6 +41,7 @@ class quantum::agents::l3 (
ensure => "present",
content => "manual",
mode => 644,
before => Package['quantum-l3'],
}
}
}

View File

@ -36,6 +36,7 @@ class quantum::agents::ovs (
ensure => "present",
content => "manual",
mode => 644,
before => Package['quantum-plugin-ovs-agent'],
}
}
}

View File

@ -25,6 +25,7 @@ class quantum::server (
ensure => "present",
content => "manual",
mode => 644,
before => Package['quantum-server'],
}
}
}