Sha256: 1dd15496e65460ded9a89f655c9fc9bee26b472db2d724d92abcacac7201be64

Contents?: true

Size: 1 KB

Versions: 251

Compression:

Stored size: 1 KB

Contents

Puppet::Util::Reference.newreference :metaparameter, :doc => "All Puppet metaparameters and all their details" do
  str = %{

Metaparameters are attributes that work with any resource type, including custom
types and defined types.

In general, they affect _Puppet's_ behavior rather than the desired state of the
resource. Metaparameters do things like add metadata to a resource (`alias`,
`tag`), set limits on when the resource should be synced (`require`, `schedule`,
etc.), prevent Puppet from making changes (`noop`), and change logging verbosity
(`loglevel`).

## Available Metaparameters

}
  begin
    params = []
    Puppet::Type.eachmetaparam { |param|
      params << param
    }

    params.sort { |a,b|
      a.to_s <=> b.to_s
    }.each { |param|
      str << markdown_header(param.to_s, 3)
      str << scrub(Puppet::Type.metaparamdoc(param))
      str << "\n\n"
    }
  rescue => detail
    Puppet.log_exception(detail, _("incorrect metaparams: %{detail}") % { detail: detail })
    exit(1)
  end

  str
end

Version data entries

251 entries across 251 versions & 2 rubygems

Version Path
puppet-6.8.1 lib/puppet/reference/metaparameter.rb
puppet-6.8.1-x86-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.8.1-x64-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.8.1-universal-darwin lib/puppet/reference/metaparameter.rb
puppet-6.8.0 lib/puppet/reference/metaparameter.rb
puppet-6.8.0-x86-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.8.0-x64-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.8.0-universal-darwin lib/puppet/reference/metaparameter.rb
puppet-6.7.2 lib/puppet/reference/metaparameter.rb
puppet-6.7.2-x86-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.7.2-x64-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.7.2-universal-darwin lib/puppet/reference/metaparameter.rb
puppet-6.7.0 lib/puppet/reference/metaparameter.rb
puppet-6.7.0-x86-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.7.0-x64-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.7.0-universal-darwin lib/puppet/reference/metaparameter.rb
puppet-6.4.3 lib/puppet/reference/metaparameter.rb
puppet-6.4.3-x86-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.4.3-x64-mingw32 lib/puppet/reference/metaparameter.rb
puppet-6.4.3-universal-darwin lib/puppet/reference/metaparameter.rb