diff options
Diffstat (limited to 'environments')
-rw-r--r-- | environments/global/common.yaml | 7 | ||||
-rw-r--r-- | environments/global/roles/backup.yaml | 11 | ||||
-rw-r--r-- | environments/hiera.yaml | 1 |
3 files changed, 19 insertions, 0 deletions
diff --git a/environments/global/common.yaml b/environments/global/common.yaml index e7c70d4..4836f6e 100644 --- a/environments/global/common.yaml +++ b/environments/global/common.yaml | |||
@@ -8,6 +8,10 @@ lookup_options: | |||
8 | merge: unique | 8 | merge: unique |
9 | letsencrypt::hosts: | 9 | letsencrypt::hosts: |
10 | merge: unique | 10 | merge: unique |
11 | role::backup::backups: | ||
12 | merge: unique | ||
13 | profile::known_hosts::hosts: | ||
14 | merge: unique | ||
11 | 15 | ||
12 | classes: | 16 | classes: |
13 | stdlib: ~ | 17 | stdlib: ~ |
@@ -31,5 +35,8 @@ base_installation::system_users: [] # Fetched via ldap | |||
31 | profile::xmr_stak::mining_pool: "" # Fetched via ldap | 35 | profile::xmr_stak::mining_pool: "" # Fetched via ldap |
32 | profile::xmr_stak::wallet: "" # Fetched via ldap | 36 | profile::xmr_stak::wallet: "" # Fetched via ldap |
33 | profile::mail::mailhub: "" # Fetched via ldap | 37 | profile::mail::mailhub: "" # Fetched via ldap |
38 | role::backup::mailto: "" # Fetched via ldap | ||
39 | role::backup::backups: [] # Fetched via ldap | ||
40 | profile::known_hosts::hosts: [] # Fetched via ldap | ||
34 | letsencrypt::email: ~ # Fetched via ldap | 41 | letsencrypt::email: ~ # Fetched via ldap |
35 | letsencrypt::try_for_real_hostname: true | 42 | letsencrypt::try_for_real_hostname: true |
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 | |||
diff --git a/environments/hiera.yaml b/environments/hiera.yaml index eda5eb3..61d40d8 100644 --- a/environments/hiera.yaml +++ b/environments/hiera.yaml | |||
@@ -8,6 +8,7 @@ defaults: | |||
8 | hierarchy: | 8 | hierarchy: |
9 | - name: "Initialization variables" | 9 | - name: "Initialization variables" |
10 | path: "/root/puppet_variables.json" | 10 | path: "/root/puppet_variables.json" |
11 | data_hash: json_data | ||
11 | 12 | ||
12 | - name: "Puppet ldap variables" | 13 | - name: "Puppet ldap variables" |
13 | data_hash: ldap_data | 14 | data_hash: ldap_data |