diff options
Diffstat (limited to 'examples/modules')
| -rw-r--r-- | examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb | 4 | ||||
| -rw-r--r-- | examples/modules/sample-module/manifests/init.pp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb b/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb index 9dfa3f54c..d7ad7d22e 100644 --- a/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +++ b/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb @@ -1,6 +1,6 @@ # Copyright (C) David Schmitt <david@schmitt.edv-bus.at> # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: @@ -12,7 +12,7 @@ # 3. Neither the name of the Author nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE diff --git a/examples/modules/sample-module/manifests/init.pp b/examples/modules/sample-module/manifests/init.pp index 1af8dff1f..1b7df032a 100644 --- a/examples/modules/sample-module/manifests/init.pp +++ b/examples/modules/sample-module/manifests/init.pp @@ -1,12 +1,12 @@ # 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") } |
