- From: "Julian C. Dunn" <
>
- To: "
" <
>
- Subject: [chef] Re: Re: Re: AWS cookbook and the run list
- Date: Fri, 23 Jan 2015 19:11:23 -0500
On Wed, Jan 21, 2015 at 10:07 PM, Greg Barker
<
>
wrote:
>
So I added this to my metadata.rb:
>
>
depends 'aws'
>
>
Added this to my run_list:
>
>
"recipe[aws]",
>
"recipe[aws::ec2_hints]",
>
>
Added this to my recipe:
>
>
if node["ec2"]
>
include_recipe "mycookbook::ec2_specific_thing"
>
end
>
>
Works great when I ran it on an EC2 instance. But when I tried a `vagrant
>
up` for a local VM, it hits an error in my ec2_specific_thing recipe. I
>
thought it wasn't going to be executed at all though. Any ideas?
That shouldn't happen. Can you paste the error?
- Julian
Archive powered by MHonArc 2.6.16.