Closed madelaney closed 3 years ago
Hi @madelaney !
Can you give #339 a try?
@smortex happy try it out. However, I should note the echo
is a builtin command so I'm not sure what adding /bin
to the path will do but I'm happy to be wrong here.
You are right, I can't test right now… we may in fact need to set the provider to shell :thinking:
The default would basically run echo
with 7 arguments:
'${ldif}'
|
slapadd
-n
0
-F
${openldap::server::confdir}
Gave it a shot, more issues fixed… see #341 for all changes.
It allows to run your code with minimal change:
class { 'openldap::server': }
openldap::server::database { 'dc=office,dc=supersecretdomain.com':
ensure => present,
directory => '/var/db/openldap-data', # <--- Added
}
Check #342 for even more awesomeness @madelaney :wink:
Can you please give it a try and report success / failure? Thanks!
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
I would expect the class to get applied.
Output log
Any additional information you'd like to impart