Ensure git cronjob absent for correct user
When removing a cron resource by setting it absent, it must continue to specify the user if it wasn't root (the default) since crontabs are per-user files. Change-Id: I34f45bf186ed1739b74c70a2bec444aed83ee8d5
This commit is contained in:
parent
910d299849
commit
4e689e4b86
@ -397,6 +397,7 @@ class openstack_project::gerrit (
|
||||
}
|
||||
cron { 'mirror_repack':
|
||||
ensure => absent,
|
||||
user => 'gerrit2',
|
||||
}
|
||||
cron { 'mirror_gitgc':
|
||||
user => 'gerrit2',
|
||||
|
@ -119,6 +119,7 @@ class openstack_project::git_backend (
|
||||
|
||||
cron { 'mirror_repack':
|
||||
ensure => absent,
|
||||
user => 'cgit',
|
||||
}
|
||||
|
||||
cron { 'mirror_gitgc':
|
||||
|
Loading…
Reference in New Issue
Block a user