Method: Puppet::Parameter.isnamevar
- Defined in:
- lib/puppet/parameter.rb
.isnamevar ⇒ void
This method returns an undefined value.
Sets a marker indicating that this parameter is the namevar (unique identifier) of the type where the parameter is contained. This also makes the parameter a required value. The marker can not be unset once it has been set.
202 203 204 205 |
# File 'lib/puppet/parameter.rb', line 202 def isnamevar @isnamevar = true @required = true end |