From 7b33b6da4bdcd2263e2c63b443e9bea6fbe8d161 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 2 Jun 2009 17:34:43 -0500 Subject: Adding JSON support to Catalogs Signed-off-by: Luke Kanies --- lib/puppet/relationship.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/puppet/relationship.rb') 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 -- cgit