<?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>Chef Solo Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/chef-solo/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/chef-solo/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:50:24 +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>Chef solo &#124; Chef solo Tutorial &#124; Chef solo Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/chef-solo/</link>
					<comments>https://www.scmgalaxy.com/tutorials/chef-solo/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 10 Nov 2015 23:33:51 +0000</pubDate>
				<category><![CDATA[Chef]]></category>
		<category><![CDATA[Chef Solo]]></category>
		<category><![CDATA[Chef solo Guide]]></category>
		<category><![CDATA[Chef Solo Setup]]></category>
		<category><![CDATA[Chef solo Tutorial]]></category>
		<category><![CDATA[provision]]></category>
		<category><![CDATA[Solo]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/11/10/chef-solo/</guid>

					<description><![CDATA[<p>Install chef ============ &#62; curl -L https://www.opscode.com/chef/install.sh &#124; bash Check ===== &#62; chef-solo -v Setup chef repository ===================== &#62; wget [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/chef-solo/">Chef solo | Chef solo Tutorial | Chef solo Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3101 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/chef-solo.png" alt="chef-solo" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/chef-solo.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/11/chef-solo-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div><strong>Install chef</strong></div>
<div>============</div>
<div>&gt; curl -L https://www.opscode.com/chef/install.sh | bash</div>
<div></div>
<div><strong>Check</strong></div>
<div>=====</div>
<div>&gt; chef-solo -v</div>
<div></div>
<div>Setup chef repository</div>
<div>=====================</div>
<div>&gt; wget http://github.com/opscode/chef-repo/tarball/master</div>
<div></div>
<div>&gt; tar zxvf master</div>
<div></div>
<div>&gt; mv opscode-chef-repo-f9d4b0c/ chef-repo</div>
<div></div>
<div>&gt;ls chef-repo/</div>
<div></div>
<div><strong>Create .chef directory inside chef-repo</strong></div>
<div>=======================================</div>
<div>&gt; mkdir chef-repo/.chef</div>
<div></div>
<div>Setup a local cookbook path</div>
<div>===========================</div>
<div></div>
<div>&gt; vi chef-repo/.chef/knife.rb</div>
<div>cookbook_path [ &#8216;/root/chef-repo/cookbooks&#8217; ]</div>
<div></div>
<div><strong>Create your first cookbook</strong></div>
<div>==========================</div>
<div></div>
<div>&gt; knife cookbook create ntp</div>
<div></div>
<div><strong>Writing your first recipe</strong></div>
<div>=========================</div>
<div>&gt; vi chef-repo/cookbooks/ntp/recipes/default.rb</div>
<div></div>
<div>package &#8216;ntp&#8217;</div>
<div></div>
<div><strong>Now configure your server using chef-solo</strong></div>
<div>=========================================</div>
<div>&gt; vi chef-repo/solo.rb</div>
<div></div>
<div>file_cache_path &#8220;/root/chef-solo&#8221;</div>
<div>cookbook_path &#8220;/root/chef-repo/cookbooks&#8221;</div>
<div></div>
<div>&gt; vi web.json</div>
<div></div>
<div>{</div>
<div>&#8220;run_list&#8221;: [ &#8220;recipe[ntp]&#8221; ]</div>
<div>}</div>
<div></div>
<div><strong>Ensure ntp is not installed</strong></div>
<div>===========================</div>
<div>&gt; yum remove -y ntp</div>
<div></div>
<div><strong>Use chef-solo to configure your server</strong></div>
<div>=====================================</div>
<div></div>
<div>&gt; chef-solo -c chef-repo/solo.rb -j chef-repo/web.json</div>
<div></div>
<div><strong>Confirm ntp is installed</strong></div>
<div>========================</div>
<div>&gt; yum info ntp</div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/chef-solo/">Chef solo | Chef solo Tutorial | Chef solo Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/chef-solo/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
