summaryrefslogtreecommitdiffstats
path: root/lib/puppet/resource_reference.rb
Commit message (Collapse)AuthorAgeFilesLines
* Renaming Puppet::ResourceReference to Puppet::Resource::ReferenceLuke Kanies2008-12-091-85/+0
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding Trans{Object,Bucket} backward compatibility to Puppet::ResourceLuke Kanies2008-12-091-0/+12
| | | | | | This is further progress toward #1808. Signed-off-by: Luke Kanies <luke@madstop.com>
* Starting on #1808 - Added a base resource class.Luke Kanies2008-12-091-5/+5
| | | | | | | | | | | This class borrows heavily from the Puppet::Parser::Resource class and from Puppet::TransObject, partially because it will hopefully eventually supplant both of them. The class isn't used at all yet; now we need to go through the codebase and remove everything related to TransObject. Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge branch 'master' into master_no_global_resourcesLuke Kanies2008-03-311-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/node/catalog.rb lib/puppet/type/pfile.rb lib/puppet/type/pfilebucket.rb lib/puppet/util/filetype.rb spec/unit/node/catalog.rb spec/unit/other/transbucket.rb spec/unit/ral/provider/mount/parsed.rb spec/unit/ral/types/file.rb spec/unit/ral/types/interface.rb spec/unit/ral/types/mount.rb spec/unit/ral/types/package.rb spec/unit/ral/types/schedule.rb spec/unit/ral/types/service.rb test/language/compile.rb test/language/lexer.rb test/language/snippets.rb test/lib/puppettest.rb test/ral/types/basic.rb test/ral/types/cron.rb test/ral/types/exec.rb test/ral/types/file.rb test/ral/types/file/target.rb test/ral/types/filebucket.rb test/ral/types/fileignoresource.rb test/ral/types/filesources.rb test/ral/types/group.rb test/ral/types/host.rb test/ral/types/parameter.rb test/ral/types/sshkey.rb test/ral/types/tidy.rb test/ral/types/user.rb test/ral/types/yumrepo.rb
| * Found all instances of methods where split() is used withoutLuke Kanies2008-03-211-1/+2
| | | | | | | | | | | | | | | | | | | | any local variables and added a local variable -- see http://snurl.com/21zf8. My own testing showed that this caused memory growth to level off at a reasonable level. Note that the link above says the problem is only with class methods, but my own testing showed that it's any method that meets these criteria. This is not a functional change, but should hopefully be the last nail in the coffin of #1131.
| * Fix ticket 974. My original "fix" wasn't. This actually fixes the problem by ↵Paul Lathrop2008-02-051-2/+2
| | | | | | | | using a regular expression that matches only up to the first square bracket.
| * fix bug 974 - filenames with opening bracket characters generate exceptionsPaul Lathrop2008-02-051-1/+1
| |
* | Lots o' bug-fixes toward getting rid of global resources.Luke Kanies2008-01-081-9/+2
|/ | | | | | We still have about 60 failing tests, but some of them are the failing directory service tests (probably 20 or so), and most are simple fixes to the tests themselves.
* Renaming 'configuration' to 'catalog', fixing #954.Luke Kanies2007-12-111-3/+3
|
* Theoretically, this patch is to fix #917 (which it does), butLuke Kanies2007-11-281-3/+21
| | | | | | | | | | | | | | | | | | | there were enough problems fixing it that I decided something more drastic needed to be done. This uses the new Puppet::ResourceReference class to canonize what a resource reference looks like and how to retrieve resources via their references. Specifically, it guarantees that resource types are always capitalized, even when they include '::' in them. While many files are modified in this commit, the majority of changes are quite small, and most of the changes are fixing the tests to use capitalized types. As we look at consolidating some of our resource types, we could consolidate the ResourceReference stuff at the same time, but at least the Puppet::Parser::ResourceReference class subclasses the main Puppet::ResourceReference class.
* Adding a top-level ResourceReference class that everythingLuke Kanies2007-11-281-0/+61
else can use to canonize how we refer to resources. Finally.