Skip to content
Snippets Groups Projects
Commit 7d2dd22e authored by Klas Arvidsson's avatar Klas Arvidsson
Browse files

Adaptions for RHEL9, squid certgen and auth keytab

parent 324e0a13
Branches
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# @param keytab_production_base64 # @param keytab_production_base64
# Keytab contents (in base64) for the Kerberos host key used to authenticate # Keytab contents (in base64) for the Kerberos host key used to authenticate
# in the production environment (aes-devel.edu.liu.se). # in the production environment (aes.edu.liu.se).
# #
# @param keytab_devel_base64 # @param keytab_devel_base64
# Keytab contents (in base64) for the Kerberos host key used to authenticate # Keytab contents (in base64) for the Kerberos host key used to authenticate
...@@ -37,6 +37,10 @@ class aes::auth ( ...@@ -37,6 +37,10 @@ class aes::auth (
# The AD service account for this key is: ida_sys004_srv # The AD service account for this key is: ida_sys004_srv
$auth_keytab_data = $keytab_devel $auth_keytab_data = $keytab_devel
$server_type = 'devel' $server_type = 'devel'
} elsif $facts[networking][fqdn] == 'aes-sbox.it.liu.se' {
# The AD service account for this key is: ida_sys004_srv
$auth_keytab_data = $keytab_devel
$server_type = 'devel'
} else { } else {
$auth_keytab_data = undef $auth_keytab_data = undef
$server_type = 'devel' $server_type = 'devel'
......
...@@ -28,6 +28,12 @@ class aes::squid_filter { ...@@ -28,6 +28,12 @@ class aes::squid_filter {
family => 'ipv6', family => 'ipv6',
action => 'accept'; action => 'accept';
} }
exec { '/usr/lib64/squid/security_file_certgen -c -s /var/lib/squid/ssl_db -M 4MB':
user => 'squid',
group => 'squid',
creates => '/var/lib/squid/ssl_db',
}
} }
'CentOS': { 'CentOS': {
::server_firewall::rules_file { '45-permit_squid.rules': ::server_firewall::rules_file { '45-permit_squid.rules':
...@@ -41,6 +47,12 @@ class aes::squid_filter { ...@@ -41,6 +47,12 @@ class aes::squid_filter {
|-EOF |-EOF
# lint:endignore:strict_indent # lint:endignore:strict_indent
} }
exec { '/usr/lib64/squid/ssl_crtd -c -s /var/lib/squid/ssl_db' :
user => 'squid',
group => 'squid',
creates => '/var/lib/squid/ssl_db',
}
} }
default: { default: {
fail("${module_name} - Not supported for family ${fact('os.name')}.") fail("${module_name} - Not supported for family ${fact('os.name')}.")
......
...@@ -17,6 +17,13 @@ class aes::tal_cli ( ...@@ -17,6 +17,13 @@ class aes::tal_cli (
mode => '0700', mode => '0700',
} }
file { '/home/examadm/bin' :
ensure => directory,
owner => examadm,
group => examadm,
mode => '0755',
}
file { '/home/examadm/bin/tal-cli' : file { '/home/examadm/bin/tal-cli' :
ensure => file, ensure => file,
owner => examadm, owner => examadm,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment