diff options
author | Dan Bode <dan@puppetlabs.com> | 2012-08-15 15:57:45 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2012-10-25 10:57:40 -0700 |
commit | 9fc3063ea954bbd49cd2b8386bc69696a4af4114 (patch) | |
tree | edb57c2cf326241c762052ab6431d96f464f6033 /spec/functions/ensure_resource_spec.rb | |
parent | 699d520e72014a3a17395c52c04f5b521d1318e6 (diff) |
Explicitly load functions used by ensure_resource
The ensure_resource function actually calls two
other functions, create_resources and defined_with_param.
When calling Puppet functions from Ruby, you sometimes have
to load the functions manually if they have not been called
before.
This commit explicitly loads the functions that ensure_resource
depends on from within the function.
Diffstat (limited to 'spec/functions/ensure_resource_spec.rb')
0 files changed, 0 insertions, 0 deletions