Method: Puppet::Type.apply_to_all

Defined in:
lib/puppet/type.rb

.apply_to_allSymbol

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Makes this type applicable to ‘:both` (i.e. `:host` and `:device`).

Returns:

  • (Symbol)

    Returns ‘:both`



244
245
246
# File 'lib/puppet/type.rb', line 244

def self.apply_to_all
  @apply_to = :both
end