Debug School

Rajesh
Rajesh

Posted on

create a file which should be owned by group called “root”, user “ec2-user”

user 'ec2-user' do
Comment 'A EC2 user'
uid 12345

gid 'root'
action :create
end

file 'hostfile' do
content 'welcome to the chef training@capgemini.'
owner 'ec2-user'
group 'root'
end

Top comments (0)