in DevOps by
Q:

Give a solution when a resource action is not specified in Chef

1 Answer

0 votes
by

Chef applied the default action when a resource action is not specified in Chef. Below is the best example:

      File ‘C:\User\Administrator\chef-repo\settings.ini’ do      action :create

              content ‘greetings=welcome all’

                     end

Click here to read more about DevOps
Click here to read more about Insurance

Related questions

+1 vote
asked Sep 8, 2020 in Service Now by Hodge
+1 vote
asked May 29, 2020 in DevOps by sharadyadav1986
0 votes
asked Oct 1, 2020 in PMP by SakshiSharma
0 votes
asked Jun 12, 2019 in DevOps by anonymous
+1 vote
asked Jan 20, 2020 in DevOps by AdilsonLima
...