diff options
Diffstat (limited to 'code/environments')
l--------- | code/environments/production/modules/krb5hostkeytab/files | 1 | ||||
-rw-r--r-- | code/environments/production/modules/krb5hostkeytab/manifests/init.pp | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/code/environments/production/modules/krb5hostkeytab/files b/code/environments/production/modules/krb5hostkeytab/files new file mode 120000 index 0000000..113940b --- /dev/null +++ b/code/environments/production/modules/krb5hostkeytab/files @@ -0,0 +1 @@ +/etc/debian-edu/host-keytabs
\ No newline at end of file diff --git a/code/environments/production/modules/krb5hostkeytab/manifests/init.pp b/code/environments/production/modules/krb5hostkeytab/manifests/init.pp new file mode 100644 index 0000000..b9eb1c8 --- /dev/null +++ b/code/environments/production/modules/krb5hostkeytab/manifests/init.pp @@ -0,0 +1,9 @@ +class krb5hostkeytab { + +file { "/etc/krb5.keytab": + mode => "0600", + owner => 'root', + group => 'root', + source => "puppet:///modules/krb5hostkeytab/${trusted[certname]}.keytab", + } +} |