diff options
| author | Luke Kanies <luke@madstop.com> | 2009-06-02 17:34:43 -0500 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-06-06 19:57:58 +1000 |
| commit | 7b33b6da4bdcd2263e2c63b443e9bea6fbe8d161 (patch) | |
| tree | 09b3612762b8b0d6a73a0ca6c0d303b2f9add84f /lib/puppet/relationship.rb | |
| parent | c0bd0aa1a5aaed94dfab25f390199a722d0d5c0d (diff) | |
| download | puppet-7b33b6da4bdcd2263e2c63b443e9bea6fbe8d161.tar.gz puppet-7b33b6da4bdcd2263e2c63b443e9bea6fbe8d161.tar.xz puppet-7b33b6da4bdcd2263e2c63b443e9bea6fbe8d161.zip | |
Adding JSON support to Catalogs
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/relationship.rb')
| -rw-r--r-- | lib/puppet/relationship.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/relationship.rb b/lib/puppet/relationship.rb index 4c44adba7..8efebf1e3 100644 --- a/lib/puppet/relationship.rb +++ b/lib/puppet/relationship.rb @@ -6,10 +6,13 @@ # subscriptions are permanent associations determining how different # objects react to an event +require 'puppet/util/json' + # This is Puppet's class for modeling edges in its configuration graph. # It used to be a subclass of GRATR::Edge, but that class has weird hash # overrides that dramatically slow down the graphing. class Puppet::Relationship + extend Puppet::Util::Json attr_accessor :source, :target, :callback attr_reader :event |
