Questions tagged [chef]

a Ruby based provisioning and configuration management tool

From the Opscode web site:

Chef is a systems and cloud infrastructure automation framework that makes it easy to deploy servers and applications to any physical, virtual, or cloud location, no matter the size of the infrastructure. Each Chef organization is comprised of one (or more) workstations, a single server, and every node that will be configured and maintained by Chef. Cookbooks (and recipes) are used to tell Chef how each node in your organization should be configured. The chef-client (which is installed on every node) does the actual configuration.

24 questions
4
votes
1 answer

Are any large-scale services based on NixOS or Guix System?

Following the permeation of virtualization and containerization through world of network services, various tools and systems have emerged for provisioning and orchestrating such systems from templates with applied custom overlays. However, most…
brainchild
  • 330
  • 2
  • 16
4
votes
3 answers

Use JQ to generate CSV from knife search

JQ looks like a great tool, but I'm struggling with it. Here is what I am trying to do: Extract just the values from this chef knife search and generate a CSV. given this command and output: knife search node "name:foo*" -a name -a cpu.total -a…
rb1980
  • 73
  • 6
3
votes
2 answers

Python-friendly machine configuration management systems

Are there machine configuration management systems akin to: Puppet Chef which are natively, or at least intimately, Python-friendly? Any recommendations with supporting evidence and/or backing reasoning as to why? (The two systems above have a…
Maroloccio
  • 145
  • 6
3
votes
1 answer

Is it necessary to run a SSH daemon if I use Chef locally?

I want to write a chef cookbook to setup Linux desktop environments. I created a kitchen by knife solo init chef-repo, and created a cookbook hello and a node file localhost.json. Then I run: $ knife solo cook localhost and got this error: Running…
ironsand
  • 5,085
  • 12
  • 50
  • 73
2
votes
0 answers

How to use chsh with ldap authentication

How to use zsh as default when starting an ssh session to a remote chef server using LDAP for authentication? tom@chef:~$ chsh -s /usr/bin/zsh Password: chsh: user 'tom' does not exist in /etc/passwd Zsh is installed on the system. cat…
Tom M
  • 121
  • 1
  • 5
2
votes
0 answers

GLIBC not loading even after source compilation

While I am installing chef , I am getting below error. [root@centos Tools]# chef-server-ctl reconfigure /opt/opscode/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by…
Raja G
  • 5,749
  • 12
  • 44
  • 67
2
votes
3 answers

pass parameters to bash script using chef attributes

I have a bash script ( let's say main.sh ) which I need to integrate with chef. Currently we are using "expect" to pass the parameters to main.sh. Now I need to make script in such a way that the parameters for main.sh will be passed using attribute…
Krishna Sharma
  • 151
  • 1
  • 2
  • 6
1
vote
2 answers

How can i free up memory / manage memory on a linux box?

I am running two Ubuntu 12.04 servers (no GUI / desktop) using canonical's cloud images on Amazon EC2. One is a micro with 613MB of RAM and one is a medium with 3.75GB of RAM. I only have opscode's chef installed on the micro box, and on the large…
cwd
  • 44,479
  • 71
  • 146
  • 167
1
vote
0 answers

using powershell on Linux with Ansible

In looking at powershell, the general assumption is that it's being used either for or on Windows machines in a homogeneous network. Strictly within Linux, and only using "core" powershell, looking at automation: You are reading an unmaintained…
Thufir
  • 1,810
  • 6
  • 33
  • 60
1
vote
1 answer

Determining source of ulimit change

I have a server built with AWS OpsWOrks, so everything is in configuration. There is a process whose ulimit is set to 4096, as checked from /proc/$PID/limits. This process runs as root. I ran the ulimit command as root user which shows the file…
theTuxRacer
  • 1,053
  • 5
  • 11
  • 15
1
vote
3 answers

trying to install chef-client package via local yum repo

I am trying to make chef-11.16.4-1.el6.x86_64.rpm available to our servers via a local yum repo that we've built. it is not available in RHEL Repos, so i had to manually download and save it in our repo. so here is what i did on yum repo server: 1.…
taki
  • 62
  • 1
  • 2
  • 13
1
vote
2 answers

When puppet, chef or ansible are simpler solutions than package manager?

I'm new to above deployment and configuration tools. I have typical need to install and upgrade on a target machine a customized and configured webserver, maybe reverse proxy, database, required runtime for interpreted languages and such. My…
sevo
  • 1,217
  • 2
  • 10
  • 22
1
vote
1 answer

How to install man command for chef

I want to see manual for chef with command man knife-cookbook. But it looks like manuals are not installed by default install gem install chef. I found the man page of knife cookbook. http://manned.org/knife-cookbook/061616e2 How can I install these…
ironsand
  • 5,085
  • 12
  • 50
  • 73
0
votes
3 answers

Error while generating cookbook: Missing shared library "libcrypt.so.1"

I encountered an error when trying to generate a cookbook using the command chef generate cookbook test-cookbook. The error message I received is as follows: ERROR : exit status 127 /opt/chef-workstation/embedded/bin/ruby: error while loading…
0
votes
0 answers

Chef-Client service restarting on its own

I run chef-client on some of my servers and want to be able to stop the service in case of testing or emergencies. However, when I stop the service using systemctl chef-client will resurrect itself within 5 minutes of stopping the service. Within…
aperna
  • 1
  • 1
1
2