diff options
author | James Turnbull <james@lovedthanlost.net> | 2010-08-29 10:19:34 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2010-08-29 10:19:34 +1000 |
commit | f59cfc8533e21d45a42a429cf11fcc2cea2cc482 (patch) | |
tree | 914c09b1892f28a41ff3c385260276abdcb7f3f7 /lib/puppet | |
parent | 690465ef34344acda39469f71f6fb4a9e022ff7b (diff) | |
download | puppet-f59cfc8533e21d45a42a429cf11fcc2cea2cc482.tar.gz puppet-f59cfc8533e21d45a42a429cf11fcc2cea2cc482.tar.xz puppet-f59cfc8533e21d45a42a429cf11fcc2cea2cc482.zip |
Fixed terminus example documentation
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/indirector/node/exec.rb | 2 | ||||
-rw-r--r-- | lib/puppet/indirector/node/ldap.rb | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/indirector/node/exec.rb b/lib/puppet/indirector/node/exec.rb index c3e690943..6e065c6f3 100644 --- a/lib/puppet/indirector/node/exec.rb +++ b/lib/puppet/indirector/node/exec.rb @@ -3,7 +3,7 @@ require 'puppet/indirector/exec' class Puppet::Node::Exec < Puppet::Indirector::Exec desc "Call an external program to get node information. See - the `ExternalNodes`:trac: page for more information." + the [External Nodes](http://docs.puppetlabs.com/guides/external_nodes.html) page for more information." include Puppet::Util def command diff --git a/lib/puppet/indirector/node/ldap.rb b/lib/puppet/indirector/node/ldap.rb index ecebc8279..5fd738511 100644 --- a/lib/puppet/indirector/node/ldap.rb +++ b/lib/puppet/indirector/node/ldap.rb @@ -3,9 +3,9 @@ require 'puppet/indirector/ldap' class Puppet::Node::Ldap < Puppet::Indirector::Ldap desc "Search in LDAP for node configuration information. See - the `LdapNodes`:trac: page for more information. This will first + the [LDAP Nodes](http://projects.puppetlabs.com/projects/puppet/wiki/Ldap_Nodes) page for more information. This will first search for whatever the certificate name is, then (if that name - contains a '.') for the short name, then 'default'." + contains a `.`) for the short name, then `default`." # The attributes that Puppet class information is stored in. def class_attributes @@ -34,7 +34,7 @@ class Puppet::Node::Ldap < Puppet::Indirector::Ldap node = nil names.each do |name| next unless info = name2hash(name) - + break if node = info2node(request.key, info) end |