diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-05 16:54:58 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-05 16:54:58 +0100 |
commit | 79cc0ec527a74650605d8c80fc608b64b2b76b5f (patch) | |
tree | 57477671aba81407ccd142664a8dc09b0af17f59 /code/environments/production/modules/krb5hostkeytab/manifests/init.pp | |
parent | 02e6a77fa8a736ef6f7d0ae59a6f04e4f01f3c1d (diff) | |
download | puppet.SGM-79cc0ec527a74650605d8c80fc608b64b2b76b5f.tar.gz puppet.SGM-79cc0ec527a74650605d8c80fc608b64b2b76b5f.tar.bz2 puppet.SGM-79cc0ec527a74650605d8c80fc608b64b2b76b5f.zip |
modules/krb5hostkeytab/manifests/init.pp: Subscribe rpc-gssd.service to updates of /etc/krb5.keytab and restart if file gets changed.
Diffstat (limited to 'code/environments/production/modules/krb5hostkeytab/manifests/init.pp')
-rw-r--r-- | code/environments/production/modules/krb5hostkeytab/manifests/init.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/code/environments/production/modules/krb5hostkeytab/manifests/init.pp b/code/environments/production/modules/krb5hostkeytab/manifests/init.pp index 2ee1563..e3165b1 100644 --- a/code/environments/production/modules/krb5hostkeytab/manifests/init.pp +++ b/code/environments/production/modules/krb5hostkeytab/manifests/init.pp @@ -6,4 +6,12 @@ class krb5hostkeytab { group => 'root', source => "puppet:///modules/krb5hostkeytab/${trusted[certname]}.keytab", } + + service { 'rpc-gssd.service': + provider => systemd, + ensure => running, + enable => true, + subscribe => File['/etc/krb5.keytab'], + } + } |