summaryrefslogtreecommitdiff
path: root/lib/chef/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r--lib/chef/node.rb20
1 files changed, 6 insertions, 14 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb
index dbb7852586..0e73bfeea4 100644
--- a/lib/chef/node.rb
+++ b/lib/chef/node.rb
@@ -169,34 +169,26 @@ class Chef
attributes.override
end
- def override_attrs
- attributes.override
+ alias_method :override_attrs, :override
+ alias_method :default_attrs, :default
+ alias_method :normal_attrs, :normal
+
+ def automatic_attrs
+ attributes.automatic
end
def override_attrs=(new_values)
attributes.override = new_values
end
- def default_attrs
- attributes.default
- end
-
def default_attrs=(new_values)
attributes.default = new_values
end
- def normal_attrs
- attributes.normal
- end
-
def normal_attrs=(new_values)
attributes.normal = new_values
end
- def automatic_attrs
- attributes.automatic
- end
-
def automatic_attrs=(new_values)
attributes.automatic = new_values
end