My Template file looks likes this:
{{{
# /etc/nslcd.conf
# nslcd configuration file. See nss-ldapd.conf(5)
# for details.

# The location at which the LDAP server(s) should be reachable.

[%CFEngine BEGIN %]
uri ldaps://$(cluster.cfg[ldap_servers])
[%CFEngine END %]

# The search base that will be used for all queries.
base $(cluster.cfg[ldap_base])

# limit the amount of threads (default=5)
threads 2
}}}

and if i used edit_template the new line are gone:
{{{
# /etc/nslcd.conf
# nslcd configuration file. See nss-ldapd.conf(5)
# for details.
# The location at which the LDAP server(s) should be reachable.
uri ldaps://cua.irc.sara.nl
uri ldaps://ldap.cua.sara.nl
# The search base that will be used for all queries.
base dc=hpcv,dc=sara,dc=nl
# limit the amount of threads (default=5)
threads 2
}}}

By the way i love this new feature!. Is there a way to preserve the layout?



--
********************************************************************
*  Bas van der Vlies                    e-mail: b...@sara.nl       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *
********************************************************************

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to