diff options
Diffstat (limited to 'manifests/auth/ldap.pp')
-rw-r--r-- | manifests/auth/ldap.pp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/manifests/auth/ldap.pp b/manifests/auth/ldap.pp index 70df4a8..06c1498 100644 --- a/manifests/auth/ldap.pp +++ b/manifests/auth/ldap.pp @@ -114,11 +114,14 @@ class concourse::auth::ldap ( mode => '0600', } - systemd::manage_dropin { 'concourse-ldap-auth': - ensure => $ensure, - unit => $concourse::web::service_unit, - service_entry => { - 'EnvironmentFile' => $env_file, - }, + $dropin_content = @("EOF") + [Service] + EnvironmentFile=${env_file} + | EOF + + systemd::dropin_file { 'concourse-ldap-auth': + ensure => $ensure, + unit => $concourse::web::service_unit, + content => $dropin_content, } } |