I'm trying to execute an ldap modify command but have run into issues
with multiple lines and can't seem to find a happy medium. Any ideas ?
exec {"ipa_modify_username_length":
command => "/usr/bin/ldapmodify -h $host_name -p 389 -
Y GSSAPI <<LDAP
dn: cn=ipaConfig,cn=etc,dc=example,dc=com
changetype: modify
replace: ipaMaxUsernameLength
ipaMaxUsernameLength: 12
LDAP",
}
When run it errors out due to the LDAP line not being on it own line.
If I add \ to the end of each line I still run into the same problem.
Has anyone been through this problem before?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---