1
1
# Jeff McCune <jeff.mccune@northstarlabs.net>
3
3
# Demonstration of a custom parser function and erb template within
4
4
# a module, working in concert.
7
7
$fqdn_to_dn = hostname_to_dn($domain)
8
8
$sample_template = template("sample-module/sample.erb")
10
10
notice("hostname_to_dn module function returned: [$fqdn_to_dn]")
11
11
info("sample.erb looks like:\n$sample_template")