1- Write a recipe to create a file which should be owned by group called “root”, user “ec2-user” and permission executable.
file "created-file.txt" do
2- Write a recipe to updates the access (atime) and file modification (mtime) times for a file.
file '/home/centos/chef-repo/cookbooks/example/recipes/atime.txt' do
content 'This is my first file'