<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Debug School: Vinay</title>
    <description>The latest articles on Debug School by Vinay (@vinayanayanegali_311).</description>
    <link>https://www.debug.school/vinayanayanegali_311</link>
    <image>
      <url>https://www.debug.school/images/Nakn9xxXbYc77hDOaYHnsfhyP0-iyemlOBN9BuNOCe0/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzIzOC85OTE0/MzEwYy02YWE1LTQx/NGItODcyZi1lMTkw/ODVkY2M2MDUucG5n</url>
      <title>Debug School: Vinay</title>
      <link>https://www.debug.school/vinayanayanegali_311</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/vinayanayanegali_311"/>
    <language>en</language>
    <item>
      <title>Day2 Chef Lab-Rajesh</title>
      <dc:creator>Vinay</dc:creator>
      <pubDate>Tue, 22 Nov 2022 05:50:31 +0000</pubDate>
      <link>https://www.debug.school/vinayanayanegali_311/day2-chef-lab-rajesh-4o9l</link>
      <guid>https://www.debug.school/vinayanayanegali_311/day2-chef-lab-rajesh-4o9l</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;**Write a recipe to create a file which should be owned by group called “root”, user “ec2-user” and permission executable.**
[root@ip-172-31-5-82 recipes]# cat user.rb
`user 'ec2-user' do
  comment 'A random user'
  uid 1234
  gid 'root'
  password 'password'
end
`
`file '/home/centos/test/vinay.txt' do
  content 'hello world'
  mode '0755'
  owner 'ec2-user'
  group 'root'
end
`
** Write a recipe to updates the access (atime) and file modification (mtime) times for a file.**
`file '/home/centos/test/vinay.txt' do
  action :touch
end
`
**Write a chef recipe to Create a directory**
`directory '/home/centos/test/dir' do
  owner 'ec2-user'
  group 'root'
  mode '0755'
  action :create
end
`



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
  </channel>
</rss>
