[chef] Chef-solo override-runlist


Chronological Thread 
  • From: "Gibbons, Daniel (RBI-UK)" < >
  • To: " " < >
  • Subject: [chef] Chef-solo override-runlist
  • Date: Tue, 4 Jun 2013 16:20:49 +0000
  • Accept-language: en-GB, en-US

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.

§