0 votes
in DevOps by

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

Related questions

0 votes
asked Mar 3, 2020 in DevOps by rajeshsharma
0 votes
0 votes
asked Oct 15, 2020 in DevOps by rahuljain1
...