Category "chef-infra"

how to pass parameters to template in chef?

I just started to study chef. These days, I'm testing the sample of templates on -- https://docs.chef.io/resources/template/ But I failed all the times ... Here

pass variables from a chef resouce to other resources in the same chef recipe

I'm new to Chef and Ruby, I'm very confused how to handle variables in Chef, and I am trying to pass a variable [Var] from ruby_block resource to http_request

how to pass parameter to execute in chef?

I'm new to chef. Recently, I'm studying the resources, I got a problem on how to pass parameter to command in execute in chef. Here's the details -- I searched

Chef: Calling a custom resource based on variable name

We have a number of RPMs that we list in a role that can be deployed, as desired, via a loop. for installation this works well. However, removal of these RPMs i

inspec run a single control as sudo

I am using inspec to verify some AMIs that I am building, and in the main I want the controls in the profile to run as a normal user so I can test as a standard