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
0
votes
0 answers

Alternatives to ansible-pull

I have a number of systems that need configuration/updates, while being offline for long periods of time. They therefore need to contact a configuration system on boot, and in regular intervals and apply their updates in a pull fashion. I have some…
relet
  • 101
  • 4
0
votes
2 answers

Using Configuration management tools to synchronize large files

We are looking into using a configuration mangement tool (like Salt or Puppet) to automate what is currently a lot of manual work. One requirement is that we have to distribute rather large files / directories to our servers (in sum about 400gb). In…
Leifb
  • 115
  • 1
  • 9
0
votes
1 answer

Which server configuration management tool to use for my personal nextcloud deployment

I want to deploy a personal nextcloud application. I already have setup nextcloud using docker-compose, which tool should I use for server configuration management? I have the following things to cater to. SSH setup Kernel hardening Network…
Shaz Hemani
  • 131
  • 1
  • 6
-1
votes
2 answers

Can we write a chef cookbook to enable epel repository on centos

I have configured 3 centos servers for chefworkstation, chefserver and chefclient. Now I want to install nginx using the cookbook. For that I have below script. package 'nginx' do action :install end This did not work because there were not…
Janith
  • 223
  • 2
  • 4
  • 8
-1
votes
1 answer

How to run or integrate Shell scripts in Chef

I have developed many automation solutions as shell scripts and it has been successfully being used in Prod/Dev environments. With Chef being introduced, I need to start using Chef as a future automation solution. As a First Step, I am trying to…
CoolChap007
  • 13
  • 1
  • 3
-1
votes
1 answer

Can ohai retreive the VM name from a node?

I am working on building an inventory using Chef and ohai. The plan is to pull relevant data from ohai and build an inventory "spreadsheet" that gets published on a webpage. Chef and ohai are capable of returning the hostname and FQDN, but can they…
D34DM347
  • 1,471
  • 2
  • 19
  • 32
-1
votes
1 answer

Deploy or shut-down nodes based on load with Chef

AWS has OpsWorks, which is their own take on Chef. We have several reasons[1] why we want to use a "normal" chef-server/-client setup. But OpsWorks has one feature that I cannot find in chef-server/-client setups: load based instances. They allow a…
berkes
  • 2,205
  • 3
  • 18
  • 19
-1
votes
1 answer

Encountered error "in `recv': Operation timed out " when creating an aws instance with vagrant and chef

I have used the vagrantfile to create a Virtualbox instance and it did not have any issue. However when I added the switch --provider aws I got this error message: ==> server-1: Loading Berkshelf datafile... ==> server-1: Sharing cookbooks with…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
-1
votes
1 answer

Chef-client --local-mode returning zero-length file

I am switching from chef-solo to chef-client -z (--local-mode) for running chef on my machines because of an issue that I've seen recently with chef-solo in version 12. I have one spot in one of my cookbooks where I'm downloading a 499 MB, gzipped…
RBWolf
  • 1
-1
votes
2 answers

Real-time integration with Chef Server

We have a set of Chef servers whose node data we integrate with data outside of Chef. Currently we use a batch sync process to read nodes out of Chef and then push the data into the data integration system. We run this every hour, and so far it…
user19509
-1
votes
1 answer

on nginx webdav, PUT returns 501

I've been charged with converting a webserver from apache to nginx, and I'm currently stuck on getting webdav to work. WebDAV is served by the PEAR webdav server (http://pear.php.net/package/HTTP_WebDAV_Server). I'm new to nginx, but I've done my…
abathur
  • 109
  • 4
-1
votes
2 answers

chef-client stop working just since 2 days ago

I'm having some troubles with new windows node deployments. The chef-client fails with this error I want to solve this, but i don't know were to find errors which can help me to solve this. Thanks!!! Stacktrace output from…
ccamacho
  • 213
  • 4
  • 10
-1
votes
2 answers

How to use wrapper recipes in chef?

How can I cal a custom recipe from my default recipe? If I try recipe 'my-base-server' I get an error 1 argument for 0 What I want to achieve is a logical division of my recipe into base, web-server and app-server. I will setup each recipe as…
markhorrocks
  • 513
  • 3
  • 10
  • 26
-1
votes
1 answer

Ansible/Chef/Puppet to manage personal VMs

Does it make sense? I know it's useful when we have many servers/virtual machines, but I wanted to use these tools to manage my personal virtual machines. I'm using virtualbox. sometimes I have to write something in Ruby, later in Python, from time…
Simon
  • 213
  • 1
  • 2
  • 4
-1
votes
4 answers

multiple-account managing on linux

I would like to know how to solve multiple user account managing on Linux. For example, I have few linux servers. Few employee have access to all linux servers with their own usernames. When these is a new employee I should create a new user…
com
  • 261
  • 2
  • 15
1 2 3
42
43