order fix for overrides
This commit is contained in:
parent
9182b7d2eb
commit
7e240e59e4
|
@ -91,6 +91,7 @@ class cluster::haproxy (
|
|||
ensure => "present",
|
||||
content => "manual",
|
||||
mode => 644,
|
||||
before => Package['haproxy'],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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'],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ class quantum::agents::dhcp (
|
|||
ensure => "present",
|
||||
content => "manual",
|
||||
mode => 644,
|
||||
before => Package['quantum-dhcp-agent'],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,6 +41,7 @@ class quantum::agents::l3 (
|
|||
ensure => "present",
|
||||
content => "manual",
|
||||
mode => 644,
|
||||
before => Package['quantum-l3'],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,7 @@ class quantum::agents::ovs (
|
|||
ensure => "present",
|
||||
content => "manual",
|
||||
mode => 644,
|
||||
before => Package['quantum-plugin-ovs-agent'],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ class quantum::server (
|
|||
ensure => "present",
|
||||
content => "manual",
|
||||
mode => 644,
|
||||
before => Package['quantum-server'],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue