diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-16 20:40:27 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-19 16:19:17 +0100 |
commit | d87a489f9585d10f0a185beb59ae16a10f27a7bd (patch) | |
tree | 58ff0ffad8cbe0230eff1791360bc7cc45501c34 /environments/global/roles | |
parent | cfa8eb925ff0115d5d4b2298f7d9a054b869fa75 (diff) | |
download | Puppet-d87a489f9585d10f0a185beb59ae16a10f27a7bd.tar.gz Puppet-d87a489f9585d10f0a185beb59ae16a10f27a7bd.tar.zst Puppet-d87a489f9585d10f0a185beb59ae16a10f27a7bd.zip |
Add backup role
Diffstat (limited to 'environments/global/roles')
-rw-r--r-- | environments/global/roles/backup.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/environments/global/roles/backup.yaml b/environments/global/roles/backup.yaml new file mode 100644 index 0000000..52befe2 --- /dev/null +++ b/environments/global/roles/backup.yaml | |||
@@ -0,0 +1,11 @@ | |||
1 | --- | ||
2 | classes: | ||
3 | role::backup: ~ | ||
4 | role::backup::user: "backup" | ||
5 | role::backup::group: "backup" | ||
6 | base_installation::system_users: | ||
7 | - username: "%{lookup('role::backup::user')}" | ||
8 | userid: 976 | ||
9 | system: true | ||
10 | password: "!!" | ||
11 | |||