X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fsso.pp;h=04a7e9cbfae159c3e35aaed608c6e834df649d5f;hb=b8a4f617a737e78ac56ba8a9e9ef1ca652ae5d94;hp=4075993087250eeced8d76a262c21f9c9fcb1a62;hpb=8e104735c829bddd66c9f0aacfa0f41e92eed57d;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/sso.pp b/modules/roles/manifests/sso.pp index 407599308..04a7e9cbf 100644 --- a/modules/roles/manifests/sso.pp +++ b/modules/roles/manifests/sso.pp @@ -1,5 +1,30 @@ class roles::sso { ssl::service { 'sso.debian.org': notify => Exec['service apache2 reload'], + key => true, + } + + ensure_packages ( [ + "slapd", + ], { + ensure => 'installed', + }) + service { 'slapd': + ensure => running, + } + file { '/etc/ldap/slapd.d': + ensure => absent, + force => true, + notify => Service['slapd'], + } + file { '/etc/ldap/slapd.conf': + source => 'puppet:///modules/roles/sso/slapd.conf', + notify => Service['slapd'], + } + + + ssl::service { 'ftmg.sso.debian.org': + notify => Exec['service apache2 reload'], + key => true, } }