Method: Puppet::Parameter.aliasvalue

Defined in:
lib/puppet/parameter.rb

.aliasvalue(name, other) ⇒ Object

Makes the given name an alias for the given other name. Or said differently, the valid value other can now also be referred to via the given name. Aliasing may affect how the parameter’s value is serialized/stored (it may store the other value instead of the alias).



278
279
280
# File 'lib/puppet/parameter.rb', line 278

def aliasvalue(name, other)
  @value_collection.aliasvalue(name, other)
end