summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/inventory_node.rb
Commit message (Collapse)AuthorAgeFilesLines
* (#6818) Stop from getting Rails 3 named_scope deprecation warningMatt Robinson2011-04-111-0/+5
| | | | | | | | | | | We want our Rails models in Puppet to work under Rails 2 or 3, but we don't want the deprecation warnings since we can't control what version of Rails the client is running. DEPRECATION WARNING: Base.named_scope has been deprecated, please use Base.scope instead Reviewed-by: Nick Lewis <nick@puppetlabs.com>
* (#6689) Make inventory_active_record terminus search quicklyNick Lewis2011-03-111-13/+1
| | | | | | | | This terminus behaves the same on all supported DB platforms, by performing a limited portion of its query in SQL, and the rest of the comparison in Ruby. Its results are consistent with the YAML terminus. Paired-With: Jesse Wolfe
* maint: Rename InventoryHost to InventoryNodeNick Lewis2011-03-091-0/+37
This had been conflating hosts and nodes, when nodes is the most accurate.