What we do instead is just use the run_list, and any attributes we might have put in the role we just shove directly in the Vagrantfile.
“You’re mileage may vary”
Good luck!
-Tara
--
Tara Hernandez
Senior Engineering Manager
Lithium Technologies
“I’m Hiring!” — http://tinyurl.com/kjju3jc
From: Douglas Garstang <
">
>
Reply-To: " "> " < "> > Date: Wednesday, November 5, 2014 at 11:59 AM To: " "> " < "> > Subject: [chef] Re: Re: Vagrant's add_role not working. Tara,
I then tried the more old fashioned:Oh, lovely. I moved the add_role _after_ the chef.run_list. Error changed to: "Chef::Exceptions::DuplicateRole: Multiple roles of same type found named role-base" chef.run_list = [ "role[role-base]", "recipe[slice-swap::default]" ] On Wed, Nov 5, 2014 at 11:49 AM, Tara Hernandez
<
" target="_blank">
> wrote:
-- |
Archive powered by MHonArc 2.6.16.