Fixed resource ordering for ceph-mgr
Change-Id: I25043337c79f48c0b73d167ac6b7121086b2994e
This commit is contained in:
parent
3b878cdb0f
commit
cb20c32c0b
|
@ -56,10 +56,12 @@ define ceph::mgr (
|
|||
ensure => directory,
|
||||
owner => 'ceph',
|
||||
group => 'ceph',
|
||||
tag => 'ceph-mgr',
|
||||
} -> file { "/var/lib/ceph/mgr/${cluster}-${name}":
|
||||
ensure => directory,
|
||||
owner => 'ceph',
|
||||
group => 'ceph',
|
||||
tag => 'ceph-mgr',
|
||||
}
|
||||
|
||||
if $authentication_type == 'cephx' {
|
||||
|
@ -82,11 +84,13 @@ define ceph::mgr (
|
|||
}
|
||||
}
|
||||
|
||||
# NOTE(mnaser): The ceph-mgr service was introduced in Jewel which ships with
|
||||
# Xenial and newer, so we don't need an upstart compatibility
|
||||
# layer in this case.
|
||||
service { "ceph-mgr@${name}":
|
||||
ensure => $ensure,
|
||||
enable => $enable,
|
||||
tag => 'ceph-mgr',
|
||||
}
|
||||
|
||||
Package<| tag == 'ceph' |>
|
||||
-> File<| tag == 'ceph-mgr' |>
|
||||
-> Service<| tag == 'ceph-mgr' |>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue