summaryrefslogtreecommitdiff
path: root/lib/oxidized/config.rb
diff options
context:
space:
mode:
authorAnton Aksola <anton.aksola@nebula.fi>2014-05-05 15:48:12 +0300
committerAnton Aksola <anton.aksola@nebula.fi>2014-05-05 15:48:12 +0300
commitefa7ee3789ace917a66904252090986af0400c25 (patch)
treef88b93d614a40d92cadae07c357eda960a39757e /lib/oxidized/config.rb
parentcc8fea7b25f9f3b758b7b2eae0f1aec82cc6644a (diff)
missing edits
Diffstat (limited to 'lib/oxidized/config.rb')
-rw-r--r--lib/oxidized/config.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/oxidized/config.rb b/lib/oxidized/config.rb
index fd120b6..97bd164 100644
--- a/lib/oxidized/config.rb
+++ b/lib/oxidized/config.rb
@@ -9,17 +9,6 @@ module Oxidized
ModelDir = File.join Directory, %w(lib oxidized model)
SourceDir = File.join Directory, %w(lib oxidized source)
Sleep = 1
-
- module Vars
- # convenience method for accessing node, group or global level user variables
- # nil values will be ignored
- def vars name
- r = @node.vars[name]
- r ||= CFG.groups[@node.group].vars[name.to_s] if CFG.groups.has_key?(@node.group)
- r ||= CFG.vars[name.to_s]
- end
- end
-
end
class << self
attr_accessor :mgr