summaryrefslogtreecommitdiffstats
path: root/spec/unit/indirector/node/exec.rb
Commit message (Collapse)AuthorAgeFilesLines
* [#3994] rename the specs to have _spec.rb at the endMarkus Roberts2010-06-231-69/+0
| | | | | | | | | Some spec files like active_record.rb had names that would confuse the load path and get loaded instead of the intended implentation when the spec was run from the same directory as the file. Author: Matt Robinson <matt@puppetlabs.com> Date: Fri Jun 11 15:29:33 2010 -0700
* Revert "Fixed #1201 - all external node attributes are converted to strings."Luke Kanies2008-07-181-6/+0
| | | | | | | This reverts commit ac7f59618a80b6a4aac777f6184e7fa6a0614079. The reason for this revert is that the problem never really existed; Ruby's true and false are always used unless you quote them.
* Fixed #1201 - all external node attributes are converted to strings.Luke Kanies2008-06-151-0/+6
|
* Ported the rest of the indirection terminuses over toLuke Kanies2008-04-081-12/+8
| | | | expecting requests instead of having a random interface.
* Caching node information in yaml (I figured caching in memory willLuke Kanies2008-03-161-44/+49
| | | | | | | | | | cause ever-larger memory growth), and changing the external node terminus to use the version of the facts as their version. This will usually result in the cached node information being used, instead of always hitting the external node app during file serving. Note that if the facts aren't changed by the client, then this will result in the cached node being used, but at this point, the client always updates its facts. (#1130)
* Fixing the rest of #1113: External node commands can specifyLuke Kanies2008-03-061-0/+6
| | | | an environment and Puppet will now use it.
* Reorganizing the file structure for indirection terminus types.Luke Kanies2007-10-151-0/+62
Previously, for example, the configuration terminus that was a subclass of 'code' would have been stored at lib/puppet/indirector/code/configuration and would have had to have been named 'configuration'. Now, the subclass can be named however the author prefers, and it must be stored at lib/puppet/indirector/configuration/<name>.rb, where <name> is the name you've chosen for the terminus type. The name only matters insomuch as it is used to load the file from disk and find the appropriate class when asked. The additional restriction is that the class constant for the terminus type must have its name as the last word, and the indirection must be the second to last word. Thus, in our example, we can choose any class constant that ends with Configuration::Code; given that there's only one Configuration class at this point, it makes the most sense to define the class as Puppet::Node::Configuration::Code. This is somewhat awkward, because of the class's location on disk, but the only other real option is to autogenerate a Puppet::Indirector::Configuration class constant, which is, I think, uglier.