summaryrefslogtreecommitdiffstats
path: root/lib/puppet/resource.rb
Commit message (Collapse)AuthorAgeFilesLines
* Changing the preferred serialization format to jsonLuke Kanies2009-06-061-8/+0
| | | | | | | | | This won't affect most people, but it's a good default to have for those who can support it. Signed-off-by: Luke Kanies <luke@madstop.com> Minor changes to previous commit
* Providing JSON support to the Resource classLuke Kanies2009-06-061-3/+69
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing a bunch of warningsLuke Kanies2009-06-031-1/+2
| | | | | | This commit should have no functional effect. Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding an 'Exported' attribute to Puppet::ResourceLuke Kanies2009-04-241-1/+5
| | | | | | This is required for Rails support. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2112 - Transactions handle conflicting generated resourcesLuke Kanies2009-04-171-1/+1
| | | | | | | | | | This commit rips out all of the 'implicit resource' crap, replacing it with a simple system that just skips resources that the catalog says are in conflict. Removes a bunch of code, and fixes the bug to boot. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing tests broken during the #1405 fix.Luke Kanies2009-02-061-0/+10
| | | | | | Most of these were small changes, like moved methods. Signed-off-by: Luke Kanies <luke@madstop.com>
* Deprecating the Puppet::Type.create.Luke Kanies2008-12-181-2/+2
| | | | | | | This method is no longer necessary; you can use the normal 'new' class method. Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding name/namevar abstraction to Puppet::Resource.Luke Kanies2008-12-181-7/+33
| | | | | | | This hopefully provides a single place to manage this complexity, and I'll be using it to simplify Puppet::Type. Signed-off-by: Luke Kanies <luke@madstop.com>
* Replacing TransObject usage with Puppet::ResourceLuke Kanies2008-12-181-14/+14
| | | | | | | | | This completely reorganizes how RAL resources are initialized, and in the process I was able to remove a lot of code (I removed other apparently obsolete code at the same time). Signed-off-by: Luke Kanies <luke@madstop.com>
* Renaming Puppet::ResourceReference to Puppet::Resource::ReferenceLuke Kanies2008-12-091-4/+4
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding Trans{Object,Bucket} backward compatibility to Puppet::ResourceLuke Kanies2008-12-091-0/+57
| | | | | | 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-0/+107
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>