summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reference/network.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rewrote functions documentation to MarkdownJames Turnbull2010-08-111-4/+4
|
* Fixed network and indirection referenceJames Turnbull2010-07-201-0/+2
|
* Code smell: Two space indentationMarkus Roberts2010-07-091-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced 106806 occurances of ^( +)(.*$) with The ruby community almost universally (i.e. everyone but Luke, Markus, and the other eleven people who learned ruby in the 1900s) uses two-space indentation. 3 Examples: The code: end # Tell getopt which arguments are valid def test_get_getopt_args element = Setting.new :name => "foo", :desc => "anything", :settings => Puppet::Util::Settings.new assert_equal([["--foo", GetoptLong::REQUIRED_ARGUMENT]], element.getopt_args, "Did not produce appropriate getopt args") becomes: end # Tell getopt which arguments are valid def test_get_getopt_args element = Setting.new :name => "foo", :desc => "anything", :settings => Puppet::Util::Settings.new assert_equal([["--foo", GetoptLong::REQUIRED_ARGUMENT]], element.getopt_args, "Did not produce appropriate getopt args") The code: assert_equal(str, val) assert_instance_of(Float, result) end # Now test it with a passed object becomes: assert_equal(str, val) assert_instance_of(Float, result) end # Now test it with a passed object The code: end assert_nothing_raised do klass[:Yay] = "boo" klass["Cool"] = :yayness end becomes: end assert_nothing_raised do klass[:Yay] = "boo" klass["Cool"] = :yayness end
* Feature #2276 Single Executable: Update docstringsJesse Wolfe2010-02-171-2/+2
| | | | | | | Update documentation strings everywhere to use single-executable notation rather than the old executable names. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
* Sorting the network handlers in the network referenceluke2007-05-081-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2482 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a dynamic? option for references, so those are not stored in tracluke2007-05-071-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2480 980ebf18-57e1-0310-9a29-db15c13687c0
* Lots of work related to generating more reference. Moving all of the ↵luke2007-05-071-0/+33
individual references out of puppetdoc and into an external "reference" class, which itself can autoload, so it is now easy to add new types of references. Also adding a network reference, along with an unfinished provider reference. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2479 980ebf18-57e1-0310-9a29-db15c13687c0