Francis Pereira
2014-May-20 10:36 UTC
[Puppet Users] ${name} returns class name instead of resource namevar
When using a custom resource to deploy java $name is not the name of the resource but the name of the class in the below mentioned example java::setup { "${myapplication::params::app_username}-jdk_7u51": ....... cachedir => "/var/lib/puppet/file_cache/${name}-working", } Shouldn't $name = ${myapplication::params::app_username}-jdk_7u51 ? Francis Pereira -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CABCZsNFgJ6GbK0UAmVdxhONb9D1rde1pnFXz-tjZmBj1BBMg9w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.