summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-13 15:39:57 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-13 15:39:57 +0200
commitc127432a1c77cc749f382e7a110ed165107eb236 (patch)
treef4e687c03e58cdcf2bc3fba9b416d81ba6f56760 /manifests
parentInitial commit. (diff)
downloadphpldapadmin-c127432a1c77cc749f382e7a110ed165107eb236.tar.gz
phpldapadmin-c127432a1c77cc749f382e7a110ed165107eb236.tar.xz
Lint fixes.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp17
1 files changed, 16 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 1b5b0fa..b8be630 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,3 +1,15 @@
+# @summary Configures PHPLDAPAdmin
+# @param servername
+# Pretty name for the server
+# @param server_uri
+# Address of ldap server to connect to
+# @param port
+# Port of ldap server to connect to
+# @param debug_mode
+# @param tmpdir
+# @param timezone
+# @param friendly_attrs
+# @param auth_type
class phpldapadmin (
String $servername = 'My LDAP Server',
String $server_uri = '127.0.0.1',
@@ -17,6 +29,10 @@ class phpldapadmin (
) {
ensure_packages(['phpldapadmin'])
+ # /etc/php7/php.ini
+ # extension=ldap
+ # exteniosn
+
# TODO also ensure writable by web server
file { $tmpdir:
ensure => directory,
@@ -25,5 +41,4 @@ class phpldapadmin (
file { '/etc/webapps/phpldapadmin/config.php':
content => epp("${module_name}/config.php.epp"),
}
-
}