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-parse-0.1.4 lib/vendor/puppet/type/stage.rb
puppet-parse-0.1.3 lib/vendor/puppet/type/stage.rb
puppet-parse-0.1.2 lib/vendor/puppet/type/stage.rb
puppet-parse-0.1.1 lib/vendor/puppet/type/stage.rb
puppet-2.7.26 lib/puppet/type/stage.rb
puppet-2.7.25 lib/puppet/type/stage.rb
puppet-3.4.2 lib/puppet/type/stage.rb
puppet-2.7.24 lib/puppet/type/stage.rb
puppet-3.4.1 lib/puppet/type/stage.rb
puppet-3.4.0 lib/puppet/type/stage.rb
puppet-3.4.0.rc2 lib/puppet/type/stage.rb
puppet-3.4.0.rc1 lib/puppet/type/stage.rb
puppet-3.3.2 lib/puppet/type/stage.rb
puppet-3.3.1 lib/puppet/type/stage.rb
puppet-3.3.1.rc3 lib/puppet/type/stage.rb
puppet-3.3.1.rc2 lib/puppet/type/stage.rb
puppet-3.3.1.rc1 lib/puppet/type/stage.rb
puppet-3.3.0 lib/puppet/type/stage.rb
puppet-3.3.0.rc3 lib/puppet/type/stage.rb
puppet-3.3.0.rc2 lib/puppet/type/stage.rb