Sha256: 43ede6c07a9c11f71fdeae8b4f3847d7fe7a63606e843cc5b06b2c9cb06c990b

Contents?: true

Size: 863 Bytes

Versions: 431

Compression:

Stored size: 863 Bytes

Contents

Puppet::Type.newtype(:stage) do
  desc "A resource type for creating new run stages.  Once a stage is available,
    classes can be assigned to it by declaring them with the resource-like syntax
    and using
    [the `stage` metaparameter](https://puppet.com/docs/puppet/latest/metaparameter.html#stage).

    Note that new stages are not useful unless you also declare their order
    in relation to the default `main` stage.

    A complete run stage example:

        stage { 'pre':
          before => Stage['main'],
        }

        class { 'apt-updates':
          stage => 'pre',
        }

    Individual resources cannot be assigned to run stages; you can only set stages
    for classes."

  newparam :name do
    desc "The name of the stage. Use this as the value for the `stage` metaparameter
      when assigning classes to this stage."
  end
end

Version data entries

431 entries across 431 versions & 2 rubygems

Version Path
puppet-5.5.13 lib/puppet/type/stage.rb
puppet-5.5.13-x86-mingw32 lib/puppet/type/stage.rb
puppet-5.5.13-x64-mingw32 lib/puppet/type/stage.rb
puppet-5.5.13-universal-darwin lib/puppet/type/stage.rb
puppet-6.4.0 lib/puppet/type/stage.rb
puppet-6.4.0-x86-mingw32 lib/puppet/type/stage.rb
puppet-6.4.0-x64-mingw32 lib/puppet/type/stage.rb
puppet-6.4.0-universal-darwin lib/puppet/type/stage.rb
puppet-6.0.7 lib/puppet/type/stage.rb
puppet-6.0.7-x86-mingw32 lib/puppet/type/stage.rb
puppet-6.0.7-x64-mingw32 lib/puppet/type/stage.rb
puppet-6.0.7-universal-darwin lib/puppet/type/stage.rb
puppet-5.5.12 lib/puppet/type/stage.rb
puppet-5.5.12-x86-mingw32 lib/puppet/type/stage.rb
puppet-5.5.12-x64-mingw32 lib/puppet/type/stage.rb
puppet-5.5.12-universal-darwin lib/puppet/type/stage.rb
puppet-6.3.0 lib/puppet/type/stage.rb
puppet-6.3.0-x86-mingw32 lib/puppet/type/stage.rb
puppet-6.3.0-x64-mingw32 lib/puppet/type/stage.rb
puppet-6.3.0-universal-darwin lib/puppet/type/stage.rb