cloudsmith/geppetto — Issue #210: Handle variables that represent resource parameters
Author: hlindberg
Created: 2011-10-19 14:30:19+00:00
State: open

Firstly, it seems to want to autocorrect resource names/titles to be in the global scope, for example with the following code:

class myclass
{
define mymethod( $variable )
{
file { "puppet:///${name}" }
}
}

Which would be used like this:

myclass::mymethod{ 'titlehere': variable => "foo" }

The $name value is the resource title of 'titlehere', but Geppetto would like to autocorrect this to $::name.