diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-31 12:24:00 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-31 14:09:07 -0700 |
commit | 1b0cc1b541a9015fc925fc5d1ada6f85934fc0c7 (patch) | |
tree | 8a6f2b2c99faa926c705216a47fb0d1f94cd1cf0 /lib/chef/deprecated.rb | |
parent | 5dacd74ce5cccc4dbb651a45f9e591dd1921cc6e (diff) | |
download | chef-1b0cc1b541a9015fc925fc5d1ada6f85934fc0c7.tar.gz |
Chef-13: fix notifying array resources
this also deprecates the multi-resource notification syntax where
`foo[a,b]` would attempt to notify both `foo[a]` and `foo[b]` because
that is hella ambiguous.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/deprecated.rb')
-rw-r--r-- | lib/chef/deprecated.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/chef/deprecated.rb b/lib/chef/deprecated.rb index 461f65225b..d4db0813c7 100644 --- a/lib/chef/deprecated.rb +++ b/lib/chef/deprecated.rb @@ -218,6 +218,16 @@ class Chef end end + class MultiresourceMatch < Base + def id + 16 + end + + def target + "multiresource_match.html" + end + end + # id 3694 was deleted class Generic < Base |