<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>run_list Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/run_list/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/run_list/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:07:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>run_list and env_run_list explanined in chef role</title>
		<link>https://www.scmgalaxy.com/tutorials/run_list-and-env_run_list-explanined-in-chef-role/</link>
					<comments>https://www.scmgalaxy.com/tutorials/run_list-and-env_run_list-explanined-in-chef-role/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 03 May 2018 06:31:23 +0000</pubDate>
				<category><![CDATA[Chef]]></category>
		<category><![CDATA[env_run_list]]></category>
		<category><![CDATA[Role]]></category>
		<category><![CDATA[run_list]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4942</guid>

					<description><![CDATA[<p>run-list A run-list defines all of the information necessary for Chef to configure a node into the desired state. A [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/run_list-and-env_run_list-explanined-in-chef-role/">run_list and env_run_list explanined in chef role</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-5023" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-300x175.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><strong>run-list</strong><br />
A run-list defines all of the information necessary for Chef to configure a node into the desired state. A run-list may include roles and/or recipes.</p>
<p>A run-list must be in one of the following formats: fully qualified, cookbook, or default. Both roles and recipes must be in quotes, for example:</p>
<pre class="brush: plain; title: ; notranslate">'role&#x5B;NAME]'
'recipe&#x5B;COOKBOOK::RECIPE]'
'recipe&#x5B;COOKBOOK::RECIPE],COOKBOOK::RECIPE,role&#x5B;NAME]'</pre>
<p><strong>env_run_list</strong><br />
When you specify the env_run_list in role and the chef-client will pick up the _default run-list if env_run_list[environment_name] is null or nonexistent. env_run_list is only for roles.The env run list is an override, so it totally replaces the default non-env run list if the env matches.</p>
<pre class="brush: plain; title: ; notranslate">{
 &quot;name&quot;: &quot;webserver&quot;,
 &quot;default_attributes&quot;: {
 },
 &quot;json_class&quot;: &quot;Chef::Role&quot;,
 &quot;env_run_lists&quot;: {
 &quot;production&quot;: &#x5B;],
 &quot;preprod&quot;: &#x5B;],
 &quot;test&quot;: &#x5B; &quot;role&#x5B;base]&quot;, &quot;recipe&#x5B;apache]&quot; &quot;recipe&#x5B;apache::copy_test_configs]&quot; ],
 &quot;dev&quot;: &#x5B; &quot;role&#x5B;base]&quot;, &quot;recipe&#x5B;apache]&quot;, &quot;recipe&#x5B;apache::copy_dev_configs]&quot; ]
 },
 &quot;run_list&quot;: &#x5B; &quot;role&#x5B;base]&quot;, &quot;recipe&#x5B;apache]&quot; ],
 &quot;description&quot;: &quot;The webserver role&quot;,
 &quot;chef_type&quot;: &quot;role&quot;,
 &quot;override_attributes&quot;: {
 }
}</pre>
<p><strong>where:</strong></p>
<ul>
<li>“webserver” is the name of the role</li>
<li>“env_run_lists” is a hash of per-environment run-lists for production, preprod, test, and dev</li>
<li>“production” and “preprod” use the default run-list because they do not have a per-environment run-list</li>
<li>“run_list” defines the default run-list</li>
</ul>
<p><strong>Reference</strong><br />
https://docs.chef.io/run_lists.html<br />
https://railsware.com/blog/2013/09/26/getting-started-with-chef-server-part-2/</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/run_list-and-env_run_list-explanined-in-chef-role/">run_list and env_run_list explanined in chef role</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/run_list-and-env_run_list-explanined-in-chef-role/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
