Questions tagged [chef]

Chef is an open source configuration management framework for infrastructure automation.

Chef is an open source systems integration framework built to bring the benefits of configuration management to your entire infrastructure. You write source code to describe how you want each part of your infrastructure to be built, then apply those descriptions to your servers. The result is a fully automated infrastructure: when a new server comes on line, the only thing you have to do is tell Chef what role it should play in your architecture.

More information can be found in the Documentation.

635 questions
3
votes
1 answer

How to manually set up a Chef node?

I have a Chef server running on Ubuntu 14.04 (see Note 1) and I can access the "Chef Manage" website by visiting the IP address (mychefserver.myorg.com) in my browser. I have a workstation running on Mac OS X El Capitan (see Note 2) and I can…
user267001
3
votes
2 answers

What is the difference between AWS OpsWorks and my own Chef server?

Is there any difference between using AWS OpsWorks, which uses Chef internally, and using my own installation of Chef? Currently I have a my own Chef server. What are the advantages or disadvantages of replacing it with OpsWorks?
Vikas Saini
  • 163
  • 3
3
votes
0 answers

etcd cluster setup with chef - determining initial-cluster-state

I am writing chef scripts to setup an etcd cluster. The list of nodes (including their IPs) will be hardcoded in the chef script (as an attribute) and it will pass them to etcd using static bootstrapping with --initial-cluster and…
Heinzi
  • 191
  • 1
  • 6
3
votes
2 answers

chef-shell as chef-client in chef-zero mode (local mode)

Can I run chef-shell as chef-client when my chef-client is running in chef-zero (chef-local) mode? The parameter used to run chef-client in zero mode is -z. However using -z with chef-shell just makes it run in chef-client mode...
Merlijn Sebrechts
  • 469
  • 1
  • 5
  • 16
3
votes
2 answers

Chef - Automatically add nodes to chef server

How would you configure a VM so that it will automatically register with a chef server? I know that I could use knife bootstrap, however that is very tedious if you are starting dozens of servers at once. The Chef documentation says to use…
spuder
  • 1,725
  • 3
  • 26
  • 42
3
votes
4 answers

Knife can't ssh into newly instantiated EC2 server

I just set up a new Chef environment as I'm currently expanding my knowledge of Chef. I have a Key Pair set up on EC2, I have my Knife configuration set up. When I attempt to spawn a server, the node is created but Knife can't ssh into it. Here's my…
Ian Atkin
  • 203
  • 2
  • 9
3
votes
1 answer

Migrate from enterprise chef to open source chef

I tested out Enterprise Chef and its 5 free nodes. Since then, I have setup the open source chef and want to migrate three nodes from the enterprise setup to the open source server. Aside from just changing the chef_server_url on each of my three…
veilig
  • 161
  • 6
3
votes
1 answer

How do I get knife to bootstrap an EC2 instance in a public VPC?

I don't know much about routing and subnets and vpc's, I never had to use those with my old AWS account. In my new AWS account, I started a new Amazon Linux AMI instance (ami-043a5034). The security group it is attached to includes allowing port 22.…
Reese
  • 148
  • 10
3
votes
3 answers

File Caching Proxy Server For Config Management Software (Chef)

I have several servers that I manage with Chef. They all belong to one network and bandwidth among them is big in contrast to bandwidth to outer internet. The problem is: many times there is a need to download some archive from the internet. When I…
Draco Ater
  • 357
  • 3
  • 12
3
votes
2 answers

Customizing Chef cookbooks

I am trying to setup Munin using Chef, and I'm not sure where to put the customizations that are needed. For example, the documentation on Github says to add munin_plugin 'plugin_name', in the client.rb. While this is fine for right now, it seems to…
Cody
  • 163
  • 3
3
votes
1 answer

Prevent sssd from using ldap to authenticate or id specific users for chef

I'm trying to use chef to add/modify a few local user accounts. For whatever reason there are duplicate accounts in LDAP. Since the system uses sssd/pam/ldap, it sees the user as existing, but is unable to modify them because they are not in…
lmickh
  • 350
  • 1
  • 3
  • 11
3
votes
2 answers

chef upload cookbook failed with network error

I've created a chef server on a virtual machine (192.168.0.21). The server runs fine on https (this is the last version from the opscode site). knife user list (and the other list commands) run fine, returning the right results (all the…
donald
  • 233
  • 3
  • 10
3
votes
1 answer

A chef recipe to install ruby 1.9.3 system wide without rvm nor rbenv

I'm looking for an Opscode Chef cookbook that installs system-wide Ruby version 1.9.3, patch-level latest at the time of the run_list execution. Have done some research and there is a Brightbox PPA available at least for Ubuntu flavors. I wonder if…
Leo Gallucci
  • 160
  • 9
3
votes
4 answers

chef-server-webui session not working when access from external IP address

I have installed chef-server on an Ubuntu 12.10 system using the official .deb package for that release. After the installation had finished I run chef-server-ctl test Which reported success, 0 failures. The server - an Amazon EC2 instance - has 1…
hek2mgl
  • 282
  • 2
  • 15
3
votes
1 answer

Vagrant: I need a provisioning system with no dependecies

Getting off the ground with a vagrant config. Host is Windows. I have a really simple config, so I wanted to use Ansible, but got this: [default] Running provisioner: ansible... The executable 'ansible-playbook' Vagrant is trying to run was…
ezuk
  • 323
  • 2
  • 4
  • 11