mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
puppet: Use exec's 'creates' parameter instead of onlyif
(imported from commit 94b5e76ca5119443f143e4af5c86e3c16c99dc1e)
This commit is contained in:
@@ -52,5 +52,6 @@ class humbug::postgres {
|
||||
|
||||
exec { "disable_logrotate":
|
||||
command => "/usr/bin/dpkg-divert --rename --divert /etc/logrotate.d/postgresql-common.disabled --add /etc/logrotate.d/postgresql-common",
|
||||
creates => '/etc/logrotate.d/postgresql-common.disabled',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user