2020-10-31 09:19:03 +00:00
|
|
|
nodes['htz-cloud.luther'] = {
|
|
|
|
'bundles': {
|
2020-10-31 12:01:15 +00:00
|
|
|
'php',
|
2020-10-31 09:19:03 +00:00
|
|
|
'postgresql',
|
|
|
|
'zfs',
|
|
|
|
},
|
|
|
|
'groups': {
|
2020-11-21 09:55:09 +00:00
|
|
|
'debian-buster',
|
2020-10-31 09:19:03 +00:00
|
|
|
'webserver',
|
|
|
|
},
|
|
|
|
'metadata': {
|
|
|
|
'interfaces': {
|
|
|
|
'eth0': {
|
2020-11-09 14:16:29 +00:00
|
|
|
'ips': {
|
2020-10-31 09:19:03 +00:00
|
|
|
'195.201.136.20',
|
2020-11-09 14:16:29 +00:00
|
|
|
'2a01:4f8:c2c:fc3b::1/64',
|
2020-10-31 09:19:03 +00:00
|
|
|
},
|
|
|
|
'gateway4': '172.31.1.1',
|
|
|
|
'gateway6': 'fe80::1',
|
|
|
|
},
|
2021-04-24 06:53:20 +00:00
|
|
|
'ens10': {
|
|
|
|
'ips': {
|
|
|
|
'172.19.137.4/32',
|
|
|
|
},
|
|
|
|
'routes': {
|
|
|
|
# VPN
|
|
|
|
'172.19.136.0/22': {
|
|
|
|
'via': '172.19.137.1',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-10-31 09:19:03 +00:00
|
|
|
},
|
2020-10-31 12:01:15 +00:00
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'php-apcu': {},
|
|
|
|
'php-uploadprogress': {},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'cron': {
|
2022-02-05 10:41:41 +00:00
|
|
|
'jobs': {
|
|
|
|
'luther-ps': vault.decrypt('encrypt$gAAAAABfnUqTXXpUYCA2DxllTKgbKg6YguCBbguJ0rerFGi9UNxEuTO6eqReqraS9FzNmLl81S_20bYwXM5W8pNwV5I5i6BVz1M37TxdsMCAxMG-9G0ZHFXeE4K5a4MWxuyYkrVPtK_hNFOciwxDDwPYT8tH_Jahdqmr8fZcCcsICzsSOxycn89VEm2ODnfH24Azrj6mVq5cPMc_xkdWnn-dSMCvPXpjjg==').format_into('*/10 * * * * www-data /usr/bin/curl -s {}'),
|
|
|
|
},
|
2020-10-31 12:01:15 +00:00
|
|
|
},
|
2020-11-30 05:54:50 +00:00
|
|
|
'icinga_options': {
|
2021-05-02 08:52:03 +00:00
|
|
|
'pretty_name': 'Lutherkirchengemeinde Pirmasens',
|
2020-11-30 05:54:50 +00:00
|
|
|
'vars.notification.sms': False,
|
|
|
|
},
|
2020-10-31 09:19:03 +00:00
|
|
|
'nginx': {
|
|
|
|
'vhosts': {
|
2020-10-31 09:31:10 +00:00
|
|
|
'luther-ps': {
|
|
|
|
'domain': 'luther-ps.kunsmann.eu',
|
2020-10-31 09:19:03 +00:00
|
|
|
'php': True,
|
2020-10-31 12:01:15 +00:00
|
|
|
'extras': True,
|
2020-11-10 10:26:49 +00:00
|
|
|
'website_check_path': '/user/login',
|
|
|
|
'website_check_string': 'Username',
|
2020-10-31 09:19:03 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-10-31 12:01:15 +00:00
|
|
|
'php': {
|
|
|
|
'version': '7.4',
|
|
|
|
'packages': {
|
|
|
|
'curl',
|
|
|
|
'gd',
|
|
|
|
'json',
|
|
|
|
'mbstring',
|
|
|
|
'pgsql',
|
|
|
|
'xml',
|
|
|
|
},
|
|
|
|
},
|
2020-10-31 09:31:10 +00:00
|
|
|
'postgresql': {
|
2022-02-27 11:51:53 +00:00
|
|
|
'version': '11',
|
2020-10-31 09:31:10 +00:00
|
|
|
'users': {
|
|
|
|
'luther-ps': {
|
|
|
|
# can't use password_for() here, application is unmanaged
|
|
|
|
'password': vault.decrypt('encrypt$gAAAAABfnSxJtRTeWRTO_ubSqpBbH8L-khPamKtSiUYbuMIoyJnoF_oSfUlMpTpQsmdDh61F3JQEH0xfYOkzkiCGZONRHyYdqkTjWV4Ku1Avdb0SL74VG6NihUJOpZlhOKnuniopCwuW'),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'databases': {
|
|
|
|
'luther-ps': {
|
|
|
|
'owner': 'luther-ps',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-10-31 09:19:03 +00:00
|
|
|
'zfs': {
|
|
|
|
'pools': {
|
2021-08-17 16:09:51 +00:00
|
|
|
'tank': {
|
|
|
|
'when_creating': {
|
|
|
|
'config': [{
|
|
|
|
'devices': {'/dev/sdb'},
|
|
|
|
}],
|
|
|
|
},
|
|
|
|
},
|
2020-10-31 09:19:03 +00:00
|
|
|
},
|
2020-11-12 22:00:10 +00:00
|
|
|
'datasets': {
|
|
|
|
'tank/luther-website': {
|
|
|
|
'mountpoint': '/var/www/luther-ps',
|
2021-07-17 17:40:41 +00:00
|
|
|
'needed_by': {
|
|
|
|
'directory:/var/www/luther-ps',
|
|
|
|
},
|
2020-11-12 22:00:10 +00:00
|
|
|
},
|
|
|
|
},
|
2020-10-31 09:19:03 +00:00
|
|
|
},
|
|
|
|
'vm': {
|
|
|
|
'cpu': 1,
|
|
|
|
'ram': 2,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|