diff --git a/manifests/aes_sw.pp b/manifests/aes_sw.pp index 2bfa4847928646d0c2d8eb6d214437a0bbcfbd51..15cec34746e7cf86234f7d9f25806fa70026473d 100644 --- a/manifests/aes_sw.pp +++ b/manifests/aes_sw.pp @@ -1,3 +1,8 @@ +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# class aes::aes_sw { $examadm_user = examadm $examadm_group = $examadm_user @@ -34,24 +39,29 @@ class aes::aes_sw { group => $examadm_group, } + # lint:ignore:140chars file { "${examadm_home}/.ssh/authorized_keys": ensure => file, mode => '0600', owner => $examadm_user, group => $examadm_group, + # lint:ignore:strict_indent heredoc failing... content => @(SSHPUBKEY), command="/home/examadm/tal-cli/source/scripts/tal-export.py --format ics --lookback 90 --lookahead 180",no-pty,no-user-rc,no-port-forwarding,no-agent-forwarding,no-X11-forwarding ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJW4LP0av20r7lPXNgsftF9oaAXK41AvHyuHwybciZC/QBfTcmYif83563cTg0OzR/p+OSobiDM0odaaFYtP/8xbuVRz87X5bGYm2m8yHHqPxobHkT5g/faMkl9Fef+Al4EsT5tiaYMOhG2lj8XRYuwAb7qjoz3FFbs8TEPE7Sv+4BUCCH94taCuNYLXSxN1EXvw7VW6Ld5QXRFP53l2QUeTqE9oSii3BVrXlqqrLvNV/7nwdwyse4uhff4QrM9o4oc9FaQr8PLlPGxdlbSfIQJMVzHGpeDu0WLw+NqtLO1hsdlvQm7GrT/v8N7GJNKlsvhwnwUuMhTrB0yPMbbub1 klaar36@upp command="/home/examadm/tal-cli/source/scripts/tal-export.py --written --format ics --lookback 90 --lookahead 180",no-pty,no-user-rc,no-port-forwarding,no-agent-forwarding,no-X11-forwarding ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILZ8aEAXw0tRcYrk1aqldepuC6tmdUYZuM270QdDF79o tal written exams to ics | SSHPUBKEY + # lint:endignore:strict_indent } + # lint:endignore:140chars file { '/etc/systemd/system/aes_login.service': ensure => file, owner => root, group => root, mode => '0644', + # lint:ignore:strict_indent heredoc failing... content => @(LOGINSERVICE), - [Unit] + [Unit] Description=AES Login server After=network.target @@ -64,6 +74,7 @@ class aes::aes_sw { [Install] WantedBy=multi-user.target | LOGINSERVICE + # lint:endignore:strict_indent } # todo: logrotate @@ -77,8 +88,9 @@ class aes::aes_sw { owner => root, group => root, mode => '0644', + # lint:ignore:strict_indent heredoc failing... content => @(MSSERVICE), - [Unit] + [Unit] Description=AES Exam server After=network.target @@ -91,6 +103,7 @@ class aes::aes_sw { [Install] WantedBy=multi-user.target | MSSERVICE + # lint:endignore:strict_indent } file { '/etc/cron.daily/aes_ms': @@ -98,10 +111,12 @@ class aes::aes_sw { owner => root, group => root, mode => '0700', + # lint:ignore:strict_indent heredoc failing... content => @(MSCRON), - #!/bin/sh + #!/bin/sh /usr/bin/systemctl restart aes_ms | MSCRON + # lint:endignore:strict_indent } file { '/etc/cron.daily/aes_login': @@ -109,10 +124,12 @@ class aes::aes_sw { owner => root, group => root, mode => '0700', + # lint:ignore:strict_indent heredoc failing... content => @(MSCRON), - #!/bin/sh + #!/bin/sh /usr/bin/systemctl restart aes_login | MSCRON + # lint:endignore:strict_indent } # todo: logrotate diff --git a/manifests/auth.pp b/manifests/auth.pp index d950cb853451312c4c36d2e44f28d3a47eb0a280..248720ef119bf12f3133e0360633da868bc7b200 100644 --- a/manifests/auth.pp +++ b/manifests/auth.pp @@ -1,7 +1,15 @@ -# # New keytab base64+pkcs7 encoded -# Optional[String] $keytab_base64 = undef, # Kerberos keytab file for HTTP/fqdn (ida-web) -# Optional[String] $keytab2_base64 = undef, # Kerberos keytab file for HTTP/fqdn (ida-web2) -#) { +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# +# +# @param keytab_production_base64 +# Describe keytab_production_base64 +# +# @param keytab_devel_base64 +# Describe keytab_devel_base64 +# class aes::auth ( # Comment out old keytab params but # keep temporay for comparison diff --git a/manifests/auth_keydb.pp b/manifests/auth_keydb.pp index f7a0c5a130b1f91e8ba1cdd5d0cc76dd7ca48a5e..5bde484935cd53ffe2e218a3ee094acc8d8b34a4 100644 --- a/manifests/auth_keydb.pp +++ b/manifests/auth_keydb.pp @@ -1,3 +1,9 @@ +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# +# class aes::auth_keydb { $keydb_user = auth_keydb $keydb_group = $keydb_user diff --git a/manifests/broker.pp b/manifests/broker.pp index 33724401235d0f0f36adee8374d29d9e8c76ac70..3a093332f110217a9ff26eb5f313e39903219e51 100644 --- a/manifests/broker.pp +++ b/manifests/broker.pp @@ -1,3 +1,9 @@ +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# +# class aes::broker { $broker_user = broker $broker_group = $broker_user diff --git a/manifests/examfiles.pp b/manifests/examfiles.pp index 6571ba070d5e7a67871e4f02180201051baaefa3..0e0d7f74d233ec7bf4350e641189aa1c2fd0503f 100644 --- a/manifests/examfiles.pp +++ b/manifests/examfiles.pp @@ -1,3 +1,9 @@ +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# +# class aes::examfiles { include users::micis03 include users::jondy94 diff --git a/manifests/init.pp b/manifests/init.pp index 1e5903418e2475f2f8bb6fc9ec4ae8f17bc6f21e..6f3529e453441a5a39ee74c89c34fbc3897b7664 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,3 +1,9 @@ +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# +# class aes { include aes::examfiles include aes::aes_sw @@ -107,8 +113,9 @@ class aes { } ::server_firewall::rules_file { '45-permit_squid.rules': + # lint:ignore:strict_indent heredoc failing... content => @(EOF), - service squid is tcp/3128 + service squid is tcp/3128 service sclogin is tcp/23431 service aesmsi is tcp/23816 service aesmso is tcp/23817 @@ -122,5 +129,6 @@ class aes { accept service:aesbroker from class:liu-nets end policy |-EOF + # lint:endignore:strict_indent } } diff --git a/manifests/latex.pp b/manifests/latex.pp index e2d1c8be03fd2deb50bd6b2be5f1a5dd5a839d93..02092261dd54f71948c26bd09240488d7c97948f 100644 --- a/manifests/latex.pp +++ b/manifests/latex.pp @@ -1,3 +1,9 @@ +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# +# class aes::latex { package { [ diff --git a/manifests/opendsa.pp b/manifests/opendsa.pp index c2e623df5b1140a1f771465e4d94317e29ff4ac3..0dc64cfe1ec99c8183509de9541203bcd914f898 100644 --- a/manifests/opendsa.pp +++ b/manifests/opendsa.pp @@ -1,3 +1,9 @@ +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# +# class aes::opendsa { $opendsa_user = opendsa $opendsa_group = $opendsa_user diff --git a/manifests/squid_filter.pp b/manifests/squid_filter.pp index 3e64c0cef8535ded5a578b063845e100e01f54d4..071d583849619ead9e299a3d70d55a6fa42cb71f 100644 --- a/manifests/squid_filter.pp +++ b/manifests/squid_filter.pp @@ -1,3 +1,9 @@ +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# +# class aes::squid_filter { package { 'squid' : ensure => 'present', diff --git a/manifests/tal_cli.pp b/manifests/tal_cli.pp index c17363ed860a69752cea388f7394a69856eb57cd..530af22eeef3722a1caba428ef10523eb40ae0ac 100644 --- a/manifests/tal_cli.pp +++ b/manifests/tal_cli.pp @@ -1,3 +1,12 @@ +# @summary +# Describe what this class do! +# +# Detailed summary info if suitable +# +# +# @param credentials +# Describe credentials +# class aes::tal_cli ( Optional[String] $credentials = undef ) { @@ -53,6 +62,7 @@ class aes::tal_cli ( owner => 'root', group => 'root', mode => '0700', + # lint:ignore:strict_indent heredoc failing... content => @(END), #!/bin/bash if [ "$(hostname)" = "aes-devel.edu.liu.se" ] @@ -67,5 +77,6 @@ class aes::tal_cli ( sudo -u examadm /home/examadm/tal-cli/source/scripts/tal-remind.py --to ${TO} --computer-exam --send fi | END + # lint:endignore:strict_indent } }