summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/mixin/properties.rb2
-rw-r--r--lib/chef/resource/lwrp_base.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/mixin/properties.rb b/lib/chef/mixin/properties.rb
index eca0787dc4..c42e3889b0 100644
--- a/lib/chef/mixin/properties.rb
+++ b/lib/chef/mixin/properties.rb
@@ -135,6 +135,8 @@ class Chef
property.emit_dsl
end
+ alias :attribute :property
+
#
# Create a reusable property type that can be used in multiple properties
# in different resources.
diff --git a/lib/chef/resource/lwrp_base.rb b/lib/chef/resource/lwrp_base.rb
index a1d2afd791..1e1a86a718 100644
--- a/lib/chef/resource/lwrp_base.rb
+++ b/lib/chef/resource/lwrp_base.rb
@@ -72,8 +72,6 @@ class Chef
resource_class
end
- alias :attribute :property
-
# Adds +action_names+ to the list of valid actions for this resource.
# Does not include superclass's action list when appending.
def actions(*action_names)