Sha256: 5f0bc6a8d5605433fd31b75d66eb1e3e3a08a1fa084f05b26429220cbaa765bb
Contents?: true
Size: 390 Bytes
Versions: 65
Compression:
Stored size: 390 Bytes
Contents
# Jeff McCune <jeff.mccune@northstarlabs.net> # # Demonstration of a custom parser function and erb template within # a module, working in concert. class sample-module { $fqdn_to_dn = hostname_to_dn($domain) $sample_template = template("sample-module/sample.erb") notice("hostname_to_dn module function returned: [$fqdn_to_dn]") info("sample.erb looks like:\n$sample_template") }
Version data entries
65 entries across 65 versions & 3 rubygems