Skip to main content

Questions tagged [chef-solo]

The tag has no usage guidance.

0 votes
1 answer
72 views

chef-solo binary removed after chef upgrade, returns on reinstall

I'm setting up a server configuration for ubuntu trusty that must be compatible with our node configuration using chef-solo. This is in AWS EC2, and the base node is from the official ubuntu repo in ...
RogerFC's user avatar
  • 344
0 votes
1 answer
140 views

Chef deploy not working on Ubuntu 14.04 looking for credentials

I am using Ubuntu 14.04 chef-solo stack but since today when I am running the deploy script its giving me below error. Please assist. ========== ubuntu@i-production-base:~$ sudo /var/chef/scripts/...
Chandan Singh's user avatar
0 votes
0 answers
44 views

Interpolation in PHP for chef automation

Hi I am using chef for deployment automation of a wordpress site where in I need to read database, host, username and password from my shared.yml for wp-config.php so I am trying below code in my ...
Shailesh Sutar's user avatar
0 votes
1 answer
1k views

Chef recipe gives error as undefined method 'split'

Hi I am using below in code in my chef recipe and it works fine with all the other existing servers however it doesn't work well with my new server. user_array = node node['user']['...
Shailesh Sutar's user avatar
1 vote
1 answer
473 views

chef recipe: fix flow of installation of packages

I am using chef for provisioning a vpn-server in my infrastructure. Below is the code which is used to install few components of libreswan-ipsec vpn. %w( libnss3-dev libnspr4-dev pkg-config libpam0g-...
Shailesh Sutar's user avatar
0 votes
1 answer
524 views

How to solve the cookbook naming mismatch between berks and chef-solo?

Follow-up to this answer. Running chef solo: sudo chef-solo -c config.rb -j config.json Starting Chef Client, version 12.16.42 resolving cookbooks for run list: ["terraform"] ======================...
030's user avatar
  • 6,015
1 vote
2 answers
6k views

How to run a chef cookbook?

It is possible to install software using Ansible and Puppet by downloading a role from galaxy or puppetforge and run it masterless. Aim The aim is to install MongoDB using chef masterless. I just ...
030's user avatar
  • 6,015
0 votes
3 answers
164 views

Rerunning chef after setting PermitRootLogin no

I am configuring my first server at Linode using knife-solo. Everything is working fine but I've just added a step by which I am disabling root login for extra security. My understanding is that ...
Dionysis's user avatar
  • 103
2 votes
1 answer
1k views

Chef dynamic inventory like Ansible?

In Ansible, I can use a shell script to provide a list of hosts to be configured, in Chef, I knew Chef Server provide the similar features. However, I don't want to install a heavy server to provide ...
Ryan's user avatar
  • 6,101
1 vote
1 answer
64 views

Configure management tool to auto-configure by reading config file

The use-case is as given below: The user has a Flat File in his Linux system. This file is a human readable/editable file which contains the configurations for all the needed components of his ...
LinuxPenseur's user avatar
1 vote
1 answer
212 views

How do I run chef recipe from inside ruby code?

From the Rails app I need to provision, configure and manage servers on Amazon AWS. Some time ago I've been using chef-solo and knife to do that, but from the command line. Would that be possible to ...
misza222's user avatar
  • 111
1 vote
0 answers
86 views

How do I set up omnibus builder environment on vagrant centos box using chef?

I need an omnibus builder box for building a python cli package. I would like to use this cookbook, on this vagrantbox I am running this as root since the omnibus installer needs to check something ...
Gil Zellner's user avatar
1 vote
1 answer
215 views

Chef recipe not working

I am working on chef and vagrant. I am trying to configure nginx with php-fpm and spin-up new server using chef-solo. Here is the configuration of my vagrant file. Vagrant.configure(2) do |config| ...
Shailesh Sutar's user avatar
1 vote
1 answer
1k views

Monit Web Service not available

I'm trying to configure monit on my server using chef solo. When I visit port 2812 response saying this webpage is not availble. config/chef/files/default/monitrc set daemon 30 set pidfile /var/run/...
Antarr Byrd's user avatar
0 votes
0 answers
480 views

AWS Cloudformation OpsWorks Custom Recipe SSH Key

Is there a method to pass a SSH Key through to a Cloudformation script for custom recipes repo when configuring an Amazon Web Services OpsWorks stack besides mangling the newline characters and ...
J. Lawson's user avatar

15 30 50 per page
1
2 3 4 5
7