From ec88acf10421b4c2dba38f154d5adcf9ea9202d2 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 11 May 2005 19:05:39 +0000 Subject: i can basically actually do work now git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@240 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/blink/statechange.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/blink/statechange.rb') diff --git a/lib/blink/statechange.rb b/lib/blink/statechange.rb index 17aef41fe..e0b0a6794 100644 --- a/lib/blink/statechange.rb +++ b/lib/blink/statechange.rb @@ -21,13 +21,19 @@ module Blink #--------------------------------------------------------------- def forward - @type.change(@path,@is,@should) + Blink.notice "moving change forward" + if @state.noop + Blink.notice "change noop is %s" % @state.noop + else + @state.sync + end end #--------------------------------------------------------------- #--------------------------------------------------------------- def backward - @type.change(@path,@should,@is) + raise "Moving statechanges backward is currently unsupported" + #@type.change(@path,@should,@is) end #--------------------------------------------------------------- -- cgit