summaryrefslogtreecommitdiffstats
path: root/lib/puppet/face/node.rb
diff options
context:
space:
mode:
authornfagerlund <nick.fagerlund@gmail.com>2011-05-24 10:22:00 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-05-26 16:04:42 -0700
commit76887064b7691eb6f6751739df5bc83beee76a80 (patch)
tree789e702e099685168f68a327b9d56c79d48790d7 /lib/puppet/face/node.rb
parent4662f4d0aa57a8792b824338e82e89ca4ddb0960 (diff)
downloadpuppet-76887064b7691eb6f6751739df5bc83beee76a80.tar.gz
puppet-76887064b7691eb6f6751739df5bc83beee76a80.tar.xz
puppet-76887064b7691eb6f6751739df5bc83beee76a80.zip
(#7563) DRY: Remove indirector boilerplate from individual faces
Termini lists are now being generated in the help templates. This commit removes the hardcoded lists from each of the affected faces.
Diffstat (limited to 'lib/puppet/face/node.rb')
-rw-r--r--lib/puppet/face/node.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/puppet/face/node.rb b/lib/puppet/face/node.rb
index c68d71846..d244127a4 100644
--- a/lib/puppet/face/node.rb
+++ b/lib/puppet/face/node.rb
@@ -10,19 +10,6 @@ Puppet::Indirector::Face.define(:node, '0.0.1') do
environment, node parameters (exposed in the parser as top-scope
variables), and classes.
EOT
- notes <<-'EOT'
- This is an indirector face, which exposes `find`, `search`, `save`, and
- `destroy` actions for an indirected subsystem of Puppet. Valid termini
- for this face include:
-
- * `active_record`
- * `exec`
- * `ldap`
- * `memory`
- * `plain`
- * `rest`
- * `yaml`
- EOT
get_action(:destroy).summary "Invalid for this face."
get_action(:search).summary "Invalid for this face."