Compare commits

..

No commits in common. "99c9f2a8c04a2597b5967f251199e9f3f0edf465" and "5f4727b7840bb43c3305bb0b491db17c4243c8dc" have entirely different histories.

2 changed files with 4 additions and 37 deletions

View File

@ -1,12 +1,3 @@
# puppet-wmdeit_ldap
A puppet module to configure our OpenLDAP servers
To get it running:
puppet module install camptocamp-openldap
For LAM
puppet module install puppetlabs-apache
puppet module install puppet-php
A puppet module to configure our OpenLDAP servers

View File

@ -6,33 +6,9 @@ class wmdeit_ldap::lam(
$archive = "lam_7_2.tar.gz"
) {
$arcfile = "/tmp/$archive"
class { 'apache':
mpm_module => 'prefork',
}
class { 'apache::mod::php':
php_version => '7.3'
}
class { '::php':
extensions => {
curl => {},
},
notify => Service["apache2"],
require => Class["apache"]
}
file {"/var/www":
ensure => "directory"
} ->
archive {"$arcfile":
ensure => present,
source => "https://srcsrv.wikimedia.de/WMDE/LDAPAccountManager/archive/$archive",
extract => true,
extract_path => "/var/www",
creates => "/var/www/ldapaccountmanager",
file {"/tmp/$archive":
ensure => file,
source => "https://srcsrv.wikimedia.de/WMDE/LDAPAccountManager/archive/$archive"
}
}