Sha256: 788fd1f6ccd5b7d7aafc6d37522cbe5294de7b257985e7d35cb1805c1d0742aa

Contents?: true

Size: 567 Bytes

Versions: 77

Compression:

Stored size: 567 Bytes

Contents

Puppet::Type.newtype(:stage) do
  desc "A resource type for specifying run stages.  The actual stage should
  be specified on resources:

      class { foo: stage => pre }

  And you must manually control stage order:

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

  You automatically get a 'main' stage created, and by default all resources
  get inserted into that stage.

  You can only set stages on class resources, not normal builtin resources."

  newparam :name do
    desc "The name of the stage. This will be used as the 'stage' for each resource."
  end
end

Version data entries

77 entries across 77 versions & 4 rubygems

Version Path
puppet-3.1.0.rc1 lib/puppet/type/stage.rb
puppet-3.0.2 lib/puppet/type/stage.rb
puppet-3.0.2.rc3 lib/puppet/type/stage.rb
puppet-3.0.2.rc2 lib/puppet/type/stage.rb
puppet-3.0.2.rc1 lib/puppet/type/stage.rb
puppet-parse-0.0.2 lib/vendor/puppet/type/stage.rb
puppet-2.7.20 lib/puppet/type/stage.rb
puppet-2.7.20.rc1 lib/puppet/type/stage.rb
puppet-3.0.1 lib/puppet/type/stage.rb
puppet-3.0.1.rc1 lib/puppet/type/stage.rb
puppet-3.0.0 lib/puppet/type/stage.rb
puppet-3.0.0.rc8 lib/puppet/type/stage.rb
puppet-3.0.0.rc7 lib/puppet/type/stage.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/puppet-2.7.18/lib/puppet/type/stage.rb
puppet-3.0.0.rc5 lib/puppet/type/stage.rb
puppet-3.0.0.rc4 lib/puppet/type/stage.rb
puppet-2.7.19 lib/puppet/type/stage.rb
supply_drop-0.11.0 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/type/stage.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/puppet-2.7.18/lib/puppet/type/stage.rb
supply_drop-0.10.2 examples/vendored-puppet/vendor/puppet-2.7.8/lib/puppet/type/stage.rb