diff options
| author | Luke Kanies <luke@madstop.com> | 2005-04-18 19:49:20 +0000 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2005-04-18 19:49:20 +0000 |
| commit | f8b08b2bf327cab10677fcd601c65af84b0a89ac (patch) | |
| tree | 4fb39597eea3c563fa195b8c5eedf2ed198e50c6 /lib | |
| parent | ae13f000e0d6ec638d0e91255f6b552253f59e1e (diff) | |
| download | puppet-f8b08b2bf327cab10677fcd601c65af84b0a89ac.tar.gz puppet-f8b08b2bf327cab10677fcd601c65af84b0a89ac.tar.xz puppet-f8b08b2bf327cab10677fcd601c65af84b0a89ac.zip | |
adding an fqpath method to state.rb
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@177 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/blink/types/state.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/blink/types/state.rb b/lib/blink/types/state.rb index fbaec04ef..33a872706 100644 --- a/lib/blink/types/state.rb +++ b/lib/blink/types/state.rb @@ -26,6 +26,13 @@ module Blink #----------------------------------- #----------------------------------- + # return the full path to us, for logging and rollback + def fqpath + return @object.fqpath, self.name + end + #----------------------------------- + + #----------------------------------- # we aren't actually comparing the states themselves, we're only # comparing the "should" value with the "is" value def insync? |
