diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/profile/files/kerberos/krb5_client.conf | 12 | ||||
-rw-r--r-- | modules/profile/manifests/kerberos/client.pp | 7 | ||||
-rw-r--r-- | modules/role/manifests/file_store.pp | 1 |
3 files changed, 20 insertions, 0 deletions
diff --git a/modules/profile/files/kerberos/krb5_client.conf b/modules/profile/files/kerberos/krb5_client.conf new file mode 100644 index 0000000..3fce983 --- /dev/null +++ b/modules/profile/files/kerberos/krb5_client.conf | |||
@@ -0,0 +1,12 @@ | |||
1 | [libdefaults] | ||
2 | default_realm = IMMAE.EU | ||
3 | |||
4 | [realms] | ||
5 | IMMAE.EU = { | ||
6 | kdc = kerberos.immae.eu | ||
7 | admin_server = kerberos.immae.eu | ||
8 | } | ||
9 | |||
10 | [domain_realm] | ||
11 | immae.eu = IMMAE.EU | ||
12 | .immae.eu = IMMAE.EU | ||
diff --git a/modules/profile/manifests/kerberos/client.pp b/modules/profile/manifests/kerberos/client.pp new file mode 100644 index 0000000..1f1f2cd --- /dev/null +++ b/modules/profile/manifests/kerberos/client.pp | |||
@@ -0,0 +1,7 @@ | |||
1 | class profile::kerberos::client { | ||
2 | ensure_packages(["krb5", "cyrus-sasl-gssapi"]) | ||
3 | |||
4 | file { "/etc/krb5.conf": | ||
5 | source => "puppet:///modules/profile/kerberos/krb5_client.conf" | ||
6 | } | ||
7 | } | ||
diff --git a/modules/role/manifests/file_store.pp b/modules/role/manifests/file_store.pp index 1d3ee49..ec12d75 100644 --- a/modules/role/manifests/file_store.pp +++ b/modules/role/manifests/file_store.pp | |||
@@ -7,6 +7,7 @@ class role::file_store ( | |||
7 | include "profile::fstab" | 7 | include "profile::fstab" |
8 | include "profile::tools" | 8 | include "profile::tools" |
9 | include "profile::monitoring" | 9 | include "profile::monitoring" |
10 | include "profile::kerberos::client" | ||
10 | 11 | ||
11 | unless empty($mountpoint) { | 12 | unless empty($mountpoint) { |
12 | class { "::nfs": | 13 | class { "::nfs": |