aboutsummaryrefslogtreecommitdiff
path: root/modules/role/manifests/backup.pp
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-24 21:25:13 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-24 23:41:46 +0200
commit80225f1917ac5919135af2a4815fce5faf3fa080 (patch)
treeeb58c5f0b18188989e3d2a2a61b15b80a0a2613c /modules/role/manifests/backup.pp
parent851ca3c6f662e26e949e57669d7962abb6c22510 (diff)
downloadPuppet-80225f1917ac5919135af2a4815fce5faf3fa080.tar.gz
Puppet-80225f1917ac5919135af2a4815fce5faf3fa080.tar.zst
Puppet-80225f1917ac5919135af2a4815fce5faf3fa080.zip
Add pylog2rotate for backups
Diffstat (limited to 'modules/role/manifests/backup.pp')
-rw-r--r--modules/role/manifests/backup.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/role/manifests/backup.pp b/modules/role/manifests/backup.pp
index b35c542..51b689d 100644
--- a/modules/role/manifests/backup.pp
+++ b/modules/role/manifests/backup.pp
@@ -17,6 +17,14 @@ class role::backup (
17 17
18 include "role::backup::postgresql" 18 include "role::backup::postgresql"
19 19
20 ensure_packages(["python", "python-pip"])
21 package { "pylog2rotate":
22 source => "git+https://github.com/avian2/pylog2rotate",
23 ensure => present,
24 provider => "pip3",
25 require => Package["python-pip"],
26 }
27
20 ensure_packages(["rsync"]) 28 ensure_packages(["rsync"])
21 29
22 ssh_keygen { $user: 30 ssh_keygen { $user: