- From: Lamont Granquist <
>
- To:
- Subject: [chef] Re: Re: RE: Helper and Resource Order
- Date: Fri, 28 Aug 2015 16:10:44 -0700
::Chef::Resource::RubyBlock.send(:include,
Helpers)
On 08/28/2015 01:45 PM, Doug Garstang
wrote:
"
type="cite">
Unfortunately, that:
file '/tmp/foo' do
end
ruby_block
'Call_helper' do
block do
::Chef::Recipe.send(:include, Helpers)
func()
end
end
yields:
==> node1:
NoMethodError
==> node1:
-------------
==> node1: undefined
method `func' for Chef::Resource::RubyBlock
Douglas.
|
Archive powered by MHonArc 2.6.16.