Add baseline
This commit is contained in:
parent
e109b133e8
commit
762d82846e
25
global/overlay/etc/hiera/data/common.yaml
Normal file
25
global/overlay/etc/hiera/data/common.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
syslog_servers:
|
||||
- syslog.sunet.se:514
|
||||
|
||||
sunet_ssh_keys:
|
||||
'jocar':
|
||||
key : 'AAAAB3NzaC1yc2EAAAADAQABAAACAQDNkmMZWjsa2oZfIsK+8wO0w8MgMa1aWUOZXahgj7Jg+CBSxY3eXNa8BRoT9gvHEWSdT9N6AIY0IxCiDs0KZmB4CV/k532cMAs5q22T9U1jLEP8FA6zXVoyEGvhY/v5aRpoCOEwZpHCRp04xEiEtw4ymXA0JnI6/2Yp+m2wdhkyYBjrv/xCeoeIhjtMHaVQlMwl/LLSRaaD3YRc9g8WmnntZpsz2BIDMGLhI8QF/reF+l8BFNAyHQbuFhkfQgmNra3KsAqNIwV2bMZRje+TnTzeERjGxeM/kOhYBEulVdfxUOVFE3pDzTG1U8srVdic49+PlfhoFJRLNo+TATkXbJuHKCJA4kjDv7Fw32Y7d6prEahqH/8VdAsjmv2a66BABj/5Yl/pp6mDCA+Xy667Asgk6qKKH5NAeqHSQx7s6+TgitXUMZn6/Se6+l1Wd43iVK+N58xK2MMA8lANaSYddTJ4k8wFEFdYjjaxGqPOEE2ztKFAZTp5nBi8jRxLZ1mfLXZxru8HPVmCSPxx+/4bZe3zyMPHGqb8fEc/nuNkdnogo4opXX2w64mAiFJZftWQ+k5VigT1l9DUN0I7wO7pRI08So8W8/biUmoao+0DgI3kXW9PClEcz0QcbvOCQeVlNE2UowCmiKZ/Otgm3VTGy9ykI7iYbw+5UZs4Z0Ap++dHAQ=='
|
||||
name : 'jocar@sunet.se'
|
||||
|
||||
'mhert+19283033':
|
||||
name : 'mhert+19283033'
|
||||
key : 'AAAAB3NzaC1yc2EAAAADAQABAAACAQDkpdny/uj6r5B7bndfYDSl5eJ27h31kiwBQGqJcfyNaF8fEL8K0fFwzuUr8p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DXTiCzoK8zanPNYqlcwb0tYXfxT8HTSgUeHKQL1990yRIuKiwkK2YecFfCvpfz257VAZkVjN8IEfw/WhFxSOwL00pUmTLA/DxVFyHuYvdvEs+FANgXX81v1eniExslCcHp9HiOK3odVM1eE02V6O1Kwxyp7cooUEDZ610x0eePhvx20ssTm3qSXdWS1rgZ+ZTzhkwxm8OpSFGDrCgxdUs4tmTtjwcUDeOfTu77ef5t3XTqP9QoCz9CuSi3ZfKM9G1FXTcgU9ApEgCqeUA/56RgUjFvwt9TTnC6I71/0E2olIrp3O5B8l1kLXQ=='
|
||||
|
||||
sunetops_ssh_keys:
|
||||
'root':
|
||||
- 'patlu-2249F294'
|
||||
|
||||
swamidops_ssh_keys:
|
||||
'root':
|
||||
- 'mhert+19283033'
|
||||
- 'jocar'
|
|
@ -1,3 +1,8 @@
|
|||
# Note that the matching is done with re.match()
|
||||
'^ns[0-9]?.mnt.se$':
|
||||
nameserver:
|
||||
'.+':
|
||||
# Should be early in the alphabet since it's run in name-order !!! Not in order shown here
|
||||
geteduroam:
|
||||
sunet::server:
|
||||
sshd_config: true
|
||||
unattended_upgrades: true
|
||||
unattended_upgrades_use_template: true
|
||||
|
|
16
global/overlay/etc/puppet/modules/geteduroam/init.pp
Normal file
16
global/overlay/etc/puppet/modules/geteduroam/init.pp
Normal file
|
@ -0,0 +1,16 @@
|
|||
# A great class
|
||||
class geteduroam {
|
||||
include sunet::tools
|
||||
include sunet::motd
|
||||
|
||||
sunet::ssh_keys { 'geteduroamops':
|
||||
config => safe_hiera('geteduroamops_ssh_keys', {})
|
||||
}
|
||||
|
||||
sunet::ssh_keys { 'sunetops':
|
||||
config => safe_hiera('sunetops_ssh_keys', {})
|
||||
}
|
||||
|
||||
include sunet::rsyslog
|
||||
include sunet::starship
|
||||
}
|
Loading…
Reference in a new issue