templates/puppet/modules/templates/README.md.erb in falkorlib-0.5.3 vs templates/puppet/modules/templates/README.md.erb in falkorlib-0.5.4

- old
+ new

@@ -8,17 +8,17 @@ Learn more [here](http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Templating) You can use templates like this: - class <%= config[:name] %> { - package { <%= config[:name].gsub(/^puppet-/, '') %>: ensure => latest } - file { "/etc/<%= config[:name] %>.conf": - content => template("<%= config[:name] %>/myfile.erb") + class <%= config[:shortname] %> { + package { <%= config[:shortname] %>: ensure => latest } + file { "/etc/<%= config[:shortname] %>.conf": + content => template("<%= config[:shortname] %>/myfile.erb") } } The templates are searched for in: - $templatedir/<%= config[:name] %>/myfile.erb - $modulepath/<%= config[:name] %>/templates/myfile.erb + $templatedir/<%= config[:shortname] %>/myfile.erb + $modulepath/<%= config[:shortname] %>/templates/myfile.erb