summaryrefslogtreecommitdiffstats
path: root/lib/blink/statechange.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-05-11 19:05:39 +0000
committerLuke Kanies <luke@madstop.com>2005-05-11 19:05:39 +0000
commitec88acf10421b4c2dba38f154d5adcf9ea9202d2 (patch)
tree463159539b0c9d08142c47a859b8334bceeff6f3 /lib/blink/statechange.rb
parent42dadad734a71dd10b059747b927394b4ef31ea6 (diff)
downloadpuppet-ec88acf10421b4c2dba38f154d5adcf9ea9202d2.tar.gz
puppet-ec88acf10421b4c2dba38f154d5adcf9ea9202d2.tar.xz
puppet-ec88acf10421b4c2dba38f154d5adcf9ea9202d2.zip
i can basically actually do work now
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@240 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/blink/statechange.rb')
-rw-r--r--lib/blink/statechange.rb10
1 files changed, 8 insertions, 2 deletions
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
#---------------------------------------------------------------