Top "Chef-infra" questions

Chef Infra (formerly just Chef) is a DevOps tool for scripting server configurations in Ruby (called cookbooks).

How to move/copy files locally with Chef

I haven't yet come across a Chef resource that will copy/move files locally. For example, I want to download …

chef-infra
Overriding attributes in the recipe

Let's say I have a default attribute in a cookbook: default.nginx_upstreams = { 'service1' => ['service1.server.com'], 'service2…

chef-infra chef-recipe
Which special characters need escaping in a solr query?

Update: I think this question has to do with solr syntax in general, and not Chef in particular. So while …

solr lucene chef-infra knife
Chef - ERROR: RuntimeError: Please set EDITOR environment variable

I've installed successfully chef on my workstation but when i am trying to create a role using the following command …

chef-infra
Should I use include_recipe or add the recipe to run_list?

Trying to figure out the best approach for a large project. When is it appropriate to add recipes within a …

chef-infra recipe chef-recipe
How can I get Chef to run apt-get update before running other recipes

Right now I have the following in my Vagrantfile: config.vm.provision :chef_solo do |chef| chef.cookbooks_path = "cookbooks" …

apt apt-get chef-infra vagrant
Using a variable inside a Chef recipe

I'm using chef-cookbook-hostname cookbook to setup node's hostname. I don't want my hostname to be hard coded in the attribute …

variables chef-infra recipe
How can I change a file with Chef?

I have 7 files and 1 war. I need to change values when I deploy them. I have this: ##usuario #alfresco.user=***** …

chef-infra chef-recipe
How to uninstall chef-client and the whole Chef package

Is uninstalling Chef-Client just as easy as removing the directory, and making sure its not in the rc files? Is …

uninstallation chef-infra
How do you abort/end a Chef run?

Under certain conditions, I need to abort/end a Chef run with a non-zero status code, that will then propagate …

chef-infra continuous-deployment