[chef] Re: Chef-solo override-runlist


Chronological Thread 
  • From: Jonathan Mickle < >
  • To:
  • Subject: [chef] Re: Chef-solo override-runlist
  • Date: Tue, 4 Jun 2013 09:27:49 -0700

Hi Dan,

I think you want to use -j specifying a JSON file that would include attributed to override in the current "runlist" check out this following link: http://wiki.opscode.com/plugins/viewsource/viewpagesrc.action?pageId=13173227



 


On Tue, Jun 4, 2013 at 9:20 AM, Gibbons, Daniel (RBI-UK) < " target="_blank"> > wrote:
Hi,

I'm trying to pass an override list into chef-solo but I can't seem to make it accept a role for example this works:

chef-solo -c solo.rb -o "webserver"
Results in:

[2013-06-04T17:15:48+01:00] WARN: Original Run List: [role[marklogic]]
[2013-06-04T17:15:48+01:00] WARN: Overridden Run List: [recipe[webserver]]

But something like:

chef-solo -c solo.rb -o "role[base]"
results in:

[2013-06-04T17:18:27+01:00] WARN: Original Run List: [role[marklogic]]
[2013-06-04T17:18:27+01:00] WARN: Overridden Run List: [recipe[roles]]

Any ideas how I can pass in a role to the override list in chef-solo?

Thanks

Dan

===================== DISCLAIMER ======================
This message is intended only for the use of the person(s)
("Intended Recipient") to whom it is addressed. It may contain
information which is privileged and confidential. Accordingly
any dissemination, distribution, copying or other use of this
message or any of its content by any person other than the Intended
Recipient may constitute a breach of civil or criminal law and is
strictly prohibited. If you are not the Intended Recipient, please
contact the sender as soon as possible.

Reed Business Information Limited.
Registered Office: Quadrant House, The Quadrant, Sutton, Surrey, SM2 5AS, UK.
Registered in England under Company No. 151537

=======================================================




Archive powered by MHonArc 2.6.16.

§