Compare commits
No commits in common. "99c9f2a8c04a2597b5967f251199e9f3f0edf465" and "5f4727b7840bb43c3305bb0b491db17c4243c8dc" have entirely different histories.
99c9f2a8c0
...
5f4727b784
|
@ -1,12 +1,3 @@
|
||||||
# puppet-wmdeit_ldap
|
# puppet-wmdeit_ldap
|
||||||
|
|
||||||
A puppet module to configure our OpenLDAP servers
|
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
|
|
||||||
|
|
||||||
|
|
|
@ -6,33 +6,9 @@ class wmdeit_ldap::lam(
|
||||||
$archive = "lam_7_2.tar.gz"
|
$archive = "lam_7_2.tar.gz"
|
||||||
|
|
||||||
) {
|
) {
|
||||||
$arcfile = "/tmp/$archive"
|
file {"/tmp/$archive":
|
||||||
|
ensure => file,
|
||||||
class { 'apache':
|
source => "https://srcsrv.wikimedia.de/WMDE/LDAPAccountManager/archive/$archive"
|
||||||
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",
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue