diff options
author | Thom May <thom@may.lt> | 2017-01-18 15:06:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-18 15:06:55 +0000 |
commit | f171bb32302b6bd12b001df6f89c35ecc0a84ccc (patch) | |
tree | 9c59afd323d74fda526af3cbc8e81f623cc6aaf3 /lib/chef/deprecated.rb | |
parent | d04aaf2b62a531274cd02ed2514e9692f843f8a2 (diff) | |
parent | 5ece8327c9d67fa13ca00cce5749a960c643b247 (diff) | |
download | chef-f171bb32302b6bd12b001df6f89c35ecc0a84ccc.tar.gz |
Merge pull request #5606 from chef/adamleff/warn-on-dangerous-property-names
Deprecate creating properties whose names are already methods
Diffstat (limited to 'lib/chef/deprecated.rb')
-rw-r--r-- | lib/chef/deprecated.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/chef/deprecated.rb b/lib/chef/deprecated.rb index 1cadacec98..76f66f723b 100644 --- a/lib/chef/deprecated.rb +++ b/lib/chef/deprecated.rb @@ -156,6 +156,26 @@ class Chef end end + class PropertyNameCollision < Base + def id + 11 + end + + def target + "property_name_collision.html" + end + end + + class LaunchdHashProperty < Base + def id + 12 + end + + def target + "launchd_hash_property.html" + end + end + class ChefPlatformMethods < Base def id 13 |