summaryrefslogtreecommitdiffstats
path: root/lib/blink/statechange.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-05-21 23:07:57 +0000
committerLuke Kanies <luke@madstop.com>2005-05-21 23:07:57 +0000
commit03741b41b3fba65d10c9adafd8969913876e28d2 (patch)
treeb9683cdb933bd71895e4fff68f13e45197131a4f /lib/blink/statechange.rb
parent4a4438dbf226335ea3c885a4ced32174d4123542 (diff)
downloadpuppet-03741b41b3fba65d10c9adafd8969913876e28d2.tar.gz
puppet-03741b41b3fba65d10c9adafd8969913876e28d2.tar.xz
puppet-03741b41b3fba65d10c9adafd8969913876e28d2.zip
we now have networking
it is very basic right now: the server gets passed a file name, and the client gets passed the server to which to connect. The client gets its config, evaluates it, and exits git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@266 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/blink/statechange.rb')
-rw-r--r--lib/blink/statechange.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/blink/statechange.rb b/lib/blink/statechange.rb
index e0b0a6794..49b6484bb 100644
--- a/lib/blink/statechange.rb
+++ b/lib/blink/statechange.rb
@@ -23,8 +23,10 @@ module Blink
def forward
Blink.notice "moving change forward"
if @state.noop
+ Blink.notice "%s is noop" % @state
Blink.notice "change noop is %s" % @state.noop
else
+ Blink.notice "Calling sync on %s" % @state
@state.sync
end
end
@@ -45,7 +47,7 @@ module Blink
#---------------------------------------------------------------
def to_s
- return "%s: %s => %s" % [@path,@is,@should]
+ return "%s: %s => %s" % [@state,@is,@should]
end
#---------------------------------------------------------------
end