Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [chef]

Chef is an open-source automation platform built to address the hardest infrastructure challenges on the planet.

0
votes
0answers
19 views

Using scp -i to copy

I have two AWS EC" Ubuntu 16.04 instances. One is a Chef workstation and the other is a Chef Server. I want to copy the RSA private key file, chefadmin.pem, from the Chef server to the workstation ...
0
votes
0answers
118 views

Package linux-image-extra-3.13.0-166-generic is missing in 14.04

I have a chef script that installs linux-image-extra for whatever the given kernel is on the system by doing "apt-get -y install linux-image-extra-uname -r but today it's started to fail saying that ...
0
votes
0answers
24 views

Failed to install mysql using chef recipe

I want to install and set initial root password to mysql server by using chef recipe. I have included depends 'mysql', '~> 8.5.1' in metadtata.rb file. And my default.rb looks like this. ...
0
votes
0answers
59 views

My provisioning script's stopped working with FATAL: Errno::EADDRNOTAVAIL: Cannot assign requested address - bind(2) for 192.168.2.4:8889

Here is the script content: user@ubuntu12:~/my_src/workstation$ cat bin/run #!/bin/bash if [ -z "$1" ] then sudo -E chef-client -z -j config/node.json -c config/solo.rb else sudo -E chef-client -...
0
votes
0answers
29 views

Chef language plugin for Atom.io is not working

I have installed chef language plugin for Atom.io and it will not give me suggestions/auto complete/ predicative results or anything of the like. I had it working on an old install but had to ...
0
votes
0answers
12 views

Chef server error creation organisation

Okay, I have a Chef server and I have a problem when creating organization. I'm going to 127.0.0.1 and there is a "Welcome to chef login etc.". After I see windows for creating organization, I paste ...
2
votes
0answers
69 views

How to download files to multiple laptops at once with dynamic IPs

I work at a company that teaches kids how to code, we often travel to the school sites to do the camp and have our own fleet of laptops that we bring with us. I have the laptops in a Deep Freeze ...
0
votes
0answers
96 views

How can I find out where chef server is installed in my Ubuntu system?

I have installed chef server but I am unable to find the path to it. Where is it installed, or how can I find out where it is installed?
2
votes
2answers
175 views

apache2 and sshd are listening, but only sshd is accessible from remote

I've just installed apache2 on Ubuntu (aws) using chef. Apache2 on Ubuntu Server: 10.1.1.1 Client: 10.1.1.200 I've also verified that both tcp 22 (sshd) & tcp 80 (apache2) are listening ...
6
votes
1answer
750 views

How can I manage and deploy snap packages without using the official Snap store from Canonical?

I was wondering if it would be possible to create and self-host a repository of snap packages which could then be deployed / updated via something like Puppet, Chef or Ansible. Is this feasible, or ...
2
votes
1answer
10k views

apache2 localhost refused to connect

I'm installing apache2.4 on Ubuntu 16.04 with a custom cookbook in Chef. I cannot connect to localhost after a fresh converge, and I'm not having Chef modify any configuration files until I figure ...
0
votes
1answer
72 views

Can you return 0 when stopping an upstart service which is already stopped?

I have a custom upstart service which I'm trying to automate via Chef. The chef flow is like this: - Create /etc/init/myservice.conf, notify restart myservice (if conf file changes) - Start myservice ...
0
votes
1answer
2k views

getting error for knife bootstrap on ubuntu chef node

Getting knife bootstrap error on ubuntu chef node $ knife bootstrap 52.8.178.221 -x ubuntu -i ~/Keys/chef1.pem mkdir: cannot create directory ‘/etc/chef’: Permission denied 52.8.178.221 bash: ...
0
votes
1answer
1k views

unable to install and configure chef-server on ubuntu 12.04

I have ubuntu 12.04 installed on aws cloud and I am trying to install chef server on it, but it does not configures correctly and returns an error. I am following this simple guide for installation ...
4
votes
2answers
336 views

Is there a tool like Juju or Chef that I can use to automate the set up of my computer?

There are a lot of tools (chef, puppet, juju) out there to automate server deployments and set ups. How can these be used for automating my laptop set up? I want to be able to do nothing but run a ...
1
vote
2answers
2k views

chef server version for ubuntu 12.04, 32 bit

Where can i get chef-server version for ubuntu 12.04, 32 bit. this link provided does not have it for 32 bit os, http://www.opscode.com/chef/install/ plz help
78
votes
4answers
28k views

What's the difference between Juju and Puppet/Chef?

Have tried asking 3rd party about key differences between Juju and Puppet/Chef. 3rd parties are not too familiar with Juju and could not say. They simply stated the others have a lot of momentum, and ...