Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / manifests / stages.pp
1 # @summary
2 #   This class manages a standard set of run stages for Puppet. It is managed by
3 #   the stdlib class, and should not be declared independently.
4 #
5 # Declares various run-stages for deploying infrastructure,
6 # language runtimes, and application layers.
7
8 # The high level stages are (in order):
9 #  * setup
10 #  * main
11 #  * runtime
12 #  * setup_infra
13 #  * deploy_infra
14 #  * setup_app
15 #  * deploy_app
16 #  * deploy
17 #
18 # @example
19 #   node default {
20 #     include ::stdlib
21 #     class { java: stage => 'runtime' }
22 #   }
23 #
24 class stdlib::stages {
25
26   stage { 'setup':  before => Stage['main'] }
27   stage { 'runtime': require => Stage['main'] }
28   -> stage { 'setup_infra': }
29   -> stage { 'deploy_infra': }
30   -> stage { 'setup_app': }
31   -> stage { 'deploy_app': }
32   -> stage { 'deploy': }
33
34 }