Compare commits

..

No commits in common. "0157d4c36b58de3952543c786238baabd0111384" and "239a9ec76a05a95c522cbc1c288cd30748f23e01" have entirely different histories.

3 changed files with 4 additions and 49 deletions

View File

@ -10,10 +10,6 @@ class wmdeit_ldap::lam(
$master_password = "lam", $master_password = "lam",
$master_password_salt = "ABCD1234", $master_password_salt = "ABCD1234",
$configs = {
"wmde" => ""
}
) { ) {
$arcfile = "/tmp/$archive" $arcfile = "/tmp/$archive"
$extractdir = "/var/www/ldapaccountmanager" $extractdir = "/var/www/ldapaccountmanager"
@ -71,31 +67,10 @@ class wmdeit_ldap::lam(
content => template("wmdeit_ldap/lam-config.cfg.erb"), content => template("wmdeit_ldap/lam-config.cfg.erb"),
owner => "www-data", owner => "www-data",
} -> } ->
file {"$docroot/config/profiles": file {"$docroot/config/wmde.conf":
ensure => directory,
} ->
file {"$docroot/config/pdf":
ensure => directory,
}
$configs.each | String $name, $conf | {
file {"$docroot/config/$name.conf":
ensure => file, ensure => file,
content => template("wmdeit_ldap/wmde.conf.erb"), content => template("wmdeit_ldap/wmde.conf.erb"),
owner => "www-data", owner => "www-data",
require => File["$docroot/config/pdf"],
} ->
file {"$docroot/config/profiles/$name":
ensure=>directory
}->
file{"$docroot/config/profiles/$name/default.user":
ensure=>file,
content => template("wmdeit_ldap/default.user.erb")
} ->
file{"$docroot/config/profiles/$name/default.group":
ensure=>file,
content => template("wmdeit_ldap/default.group.erb")
}
} }
} }

View File

@ -1 +0,0 @@

View File

@ -1,19 +0,0 @@
shadowAccount_shadowWarning: 10
shadowAccount_shadowInactive: 10
shadowAccount_shadowMin: 1
shadowAccount_shadowMax: 365
sambaAccount_useunixpwd: true
sambaAccount_acctFlagsN: false
sambaAccount_acctFlagsX: true
sambaAccount_acctFlagsD: false
sambaAccount_homeDrive: U:
sambaSamAccount_useunixpwd: true
sambaSamAccount_sambaAcctFlagsN: false
sambaSamAccount_sambaAcctFlagsX: true
sambaSamAccount_sambaAcctFlagsD: false
sambaSamAccount_sambaHomeDrive: U:
sambaSamAccount_group: 513
posixAccount_homeDirectory: /home/$user
posixAccount_loginShell: /bin/bash
asteriskAccount_AstAccountHost: dynamic
asteriskAccount_AstAccountContext: default