Last change
on this file since 30903 was 30903, checked in by davidb, 8 years ago |
Vagrant provisioning files for a 4-node Hadoop cluster. See README.txt for more details
|
File size:
861 bytes
|
Rev | Line | |
---|
[30903] | 1 | # Class: stdlib::stages
|
---|
| 2 | #
|
---|
| 3 | # This class manages a standard set of run stages for Puppet. It is managed by
|
---|
| 4 | # the stdlib class, and should not be declared independently.
|
---|
| 5 | #
|
---|
| 6 | # The high level stages are (in order):
|
---|
| 7 | #
|
---|
| 8 | # * setup
|
---|
| 9 | # * main
|
---|
| 10 | # * runtime
|
---|
| 11 | # * setup_infra
|
---|
| 12 | # * deploy_infra
|
---|
| 13 | # * setup_app
|
---|
| 14 | # * deploy_app
|
---|
| 15 | # * deploy
|
---|
| 16 | #
|
---|
| 17 | # Parameters: none
|
---|
| 18 | #
|
---|
| 19 | # Actions:
|
---|
| 20 | #
|
---|
| 21 | # Declares various run-stages for deploying infrastructure,
|
---|
| 22 | # language runtimes, and application layers.
|
---|
| 23 | #
|
---|
| 24 | # Requires: nothing
|
---|
| 25 | #
|
---|
| 26 | # Sample Usage:
|
---|
| 27 | #
|
---|
| 28 | # node default {
|
---|
| 29 | # include ::stdlib
|
---|
| 30 | # class { java: stage => 'runtime' }
|
---|
| 31 | # }
|
---|
| 32 | #
|
---|
| 33 | class stdlib::stages {
|
---|
| 34 |
|
---|
| 35 | stage { 'setup': before => Stage['main'] }
|
---|
| 36 | stage { 'runtime': require => Stage['main'] }
|
---|
| 37 | -> stage { 'setup_infra': }
|
---|
| 38 | -> stage { 'deploy_infra': }
|
---|
| 39 | -> stage { 'setup_app': }
|
---|
| 40 | -> stage { 'deploy_app': }
|
---|
| 41 | -> stage { 'deploy': }
|
---|
| 42 |
|
---|
| 43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.