diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-07 05:28:28 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-07 05:28:28 +0000 |
| commit | 9e4ed0ca8887c99cd5f29b6f7d0a9eaa950c0693 (patch) | |
| tree | 6e7d9d6b00b45927b6fa26f2d03de8a1a758927c /bin/puppetdoc | |
| parent | 24b1c673537a441e4dbc0f40b11e13290722d283 (diff) | |
| download | puppet-9e4ed0ca8887c99cd5f29b6f7d0a9eaa950c0693.tar.gz puppet-9e4ed0ca8887c99cd5f29b6f7d0a9eaa950c0693.tar.xz puppet-9e4ed0ca8887c99cd5f29b6f7d0a9eaa950c0693.zip | |
rearranging some documentation
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@632 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin/puppetdoc')
| -rwxr-xr-x | bin/puppetdoc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/puppetdoc b/bin/puppetdoc index fc5d13c1a..bc7146a2d 100755 --- a/bin/puppetdoc +++ b/bin/puppetdoc @@ -94,7 +94,14 @@ Meta-Parameters --------------- } +params = [] Puppet::Type.eachmetaparam { |param| + params << param +} + +params.sort { |a,b| + a.to_s <=> b.to_s +}.each { |param| puts "- **" + param.to_s + "**" puts tab(1) + Puppet::Type.metaparamdoc(param).gsub(/\n\s*/,' ') } @@ -107,8 +114,7 @@ Types - *namevar* is the parameter used to uniquely identify a type instance. This is the parameter that gets assigned when a string is provided before the colon in a type declaration. -- *states* are the aspects of a type that can be changed. -- *params* control how a type implements the state changes. +- *parameters* determine the specific configuration of the instance. } |
