Compare commits
No commits in common. "0157d4c36b58de3952543c786238baabd0111384" and "239a9ec76a05a95c522cbc1c288cd30748f23e01" have entirely different histories.
0157d4c36b
...
239a9ec76a
|
@ -10,10 +10,6 @@ class wmdeit_ldap::lam(
|
|||
$master_password = "lam",
|
||||
$master_password_salt = "ABCD1234",
|
||||
|
||||
$configs = {
|
||||
"wmde" => ""
|
||||
}
|
||||
|
||||
) {
|
||||
$arcfile = "/tmp/$archive"
|
||||
$extractdir = "/var/www/ldapaccountmanager"
|
||||
|
@ -71,31 +67,10 @@ class wmdeit_ldap::lam(
|
|||
content => template("wmdeit_ldap/lam-config.cfg.erb"),
|
||||
owner => "www-data",
|
||||
} ->
|
||||
file {"$docroot/config/profiles":
|
||||
ensure => directory,
|
||||
} ->
|
||||
file {"$docroot/config/pdf":
|
||||
ensure => directory,
|
||||
}
|
||||
|
||||
$configs.each | String $name, $conf | {
|
||||
file {"$docroot/config/$name.conf":
|
||||
file {"$docroot/config/wmde.conf":
|
||||
ensure => file,
|
||||
content => template("wmdeit_ldap/wmde.conf.erb"),
|
||||
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")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
|
|
@ -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
|
Loading…
Reference in New Issue