Set dep from glance cron jobs to api package
Currently there is no dependency between the glance cron jobs and the glance api package. This dependency needs to exist b/c the cron jobs cannot even be created by Puppet until the glance user exists on the system (which in the case of package installation is installed via the installation of the glance package) This patch adds the dependency. Change-Id: Ib0a42cf171d4fcabaab616c880aad2d0c4db4424
This commit is contained in:
parent
3bf6ea5b3e
commit
d620ff6b1c
|
@ -37,6 +37,7 @@ class glance::cache::cleaner (
|
|||
hour => $hour,
|
||||
monthday => $monthday,
|
||||
month => $month,
|
||||
weekday => $weekday
|
||||
weekday => $weekday,
|
||||
require => Package[$::glance::params::api_package_name],
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,6 +37,8 @@ class glance::cache::pruner (
|
|||
hour => $hour,
|
||||
monthday => $monthday,
|
||||
month => $month,
|
||||
weekday => $weekday
|
||||
weekday => $weekday,
|
||||
require => Package[$::glance::params::api_package_name],
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,8 @@ describe 'glance::cache::cleaner' do
|
|||
:hour => 0,
|
||||
:monthday => '*',
|
||||
:month => '*',
|
||||
:weekday => '*'
|
||||
:weekday => '*',
|
||||
:require => 'Package[glance-api]'
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -15,7 +15,8 @@ describe 'glance::cache::pruner' do
|
|||
:hour => '*',
|
||||
:monthday => '*',
|
||||
:month => '*',
|
||||
:weekday => '*'
|
||||
:weekday => '*',
|
||||
:require => 'Package[glance-api]'
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue