Sha256: 818173f17fb27b8696dce394b96458e1c88930c8e67c69b481e6153e2b2491d7

Contents?: true

Size: 894 Bytes

Versions: 32

Compression:

Stored size: 894 Bytes

Contents

# frozen_string_literal: true

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

32 entries across 32 versions & 1 rubygems

Version Path
puppet-8.10.0 lib/puppet/type/stage.rb
puppet-8.10.0-x86-mingw32 lib/puppet/type/stage.rb
puppet-8.10.0-x64-mingw32 lib/puppet/type/stage.rb
puppet-8.10.0-universal-darwin lib/puppet/type/stage.rb
puppet-8.9.0 lib/puppet/type/stage.rb
puppet-8.9.0-x86-mingw32 lib/puppet/type/stage.rb
puppet-8.9.0-x64-mingw32 lib/puppet/type/stage.rb
puppet-8.9.0-universal-darwin lib/puppet/type/stage.rb
puppet-8.8.1 lib/puppet/type/stage.rb
puppet-8.8.1-x86-mingw32 lib/puppet/type/stage.rb
puppet-8.8.1-x64-mingw32 lib/puppet/type/stage.rb
puppet-8.8.1-universal-darwin lib/puppet/type/stage.rb
puppet-8.7.0 lib/puppet/type/stage.rb
puppet-8.7.0-x86-mingw32 lib/puppet/type/stage.rb
puppet-8.7.0-x64-mingw32 lib/puppet/type/stage.rb
puppet-8.7.0-universal-darwin lib/puppet/type/stage.rb
puppet-8.6.0 lib/puppet/type/stage.rb
puppet-8.6.0-x86-mingw32 lib/puppet/type/stage.rb
puppet-8.6.0-x64-mingw32 lib/puppet/type/stage.rb
puppet-8.6.0-universal-darwin lib/puppet/type/stage.rb