chef-infra Questions

2

I have installed sensu with chef community cookbook. However, sensu client fails to connect to server. Results in rabbitmq connection error with message timed out while attempting to connect Here ...
Basipetal asked 8/7, 2014 at 13:1

2

Solved

Below my code for installing vcider. I am learning chef but have not seen anything for installing a dpkg. I would like to use version in the script. The code below works. script "install_vcide...
Carlina asked 27/3, 2012 at 22:26

2

knife node show my_chef_node will give you information like the recipes, roles, etc. but ideally what I want is to be able to see the version of those cookbook recipes as well. knife search node ...
Dorise asked 23/6, 2015 at 20:22

10

Solved

Usage case: The DevOps team launched a node sometime ago, and my team would like to know what's the version(s) of one/several cookbook(s) being used in the run_list. Our DevOps team is firefightin...
Schaal asked 22/6, 2015 at 18:51

5

Solved

I want to include_recipe only_if some condition is met. The following code doesn't raise any error but it doesn't care about the only_if condition either, so gets executed in any cases: include_re...
Shoup asked 12/4, 2013 at 1:12

7

When deploying an application with Chef, I've got the code base set to be cloned from a private github repository with the following resource: git '/mnt/application' do repository '[email pr...
Mcconaghy asked 9/12, 2013 at 11:58

12

I don't know what is wrong with my settting: siegfried@ubuntu:~/chef-repo$ knife ssh -a ipaddress 'name:chefnode' 'uptime' WARNING: Failed to connect to -- Net::SSH::AuthenticationFailed: Authen...
Recessive asked 4/3, 2014 at 20:55

3

The use case is fairly straightforward. I am dockerizing our local provisioning (which utilizes chef to configure our ubuntu servers). I am using a few data volumes to share host directories that I...
Kinsfolk asked 23/6, 2014 at 18:25

2

Solved

I'm trying to understand the concept of Chef clients and validators, and their relationship to the bootstrapping process. According to this article, the chef-client will use the /etc/chef/validati...
Hershel asked 16/7, 2014 at 19:18

2

Solved

I am having 2 cookbooks name as mycookbook and version 0.1.0 and 0.1.1 on chef server. Now I want to run only cookbook mycookbook version 0.1.1 using chef-client. How do I do this ?
Chobot asked 9/2, 2015 at 7:32

2

Solved

I have been experimenting with open source chef server. I configured a node on my server which had ip address 10.114.7.41. Now when I restarted the node machine and now the ip address of the machin...
Ruination asked 3/3, 2014 at 17:6

4

Solved

I'm using a Chef hosted server, a workstation and nodes and have run cookbooks on the nodes to install Java, update hosts file. I'm not able to find a reference in sites to unzip tar files. Could y...
Istic asked 10/2, 2015 at 21:15

4

Solved

I am modifying /etc/security/limits.conf on the machine, and then installing Supervisor in a Chef recipe. After the recipe run finishes, if I run cat /proc/<process id>/limits I see: Limit S...
Mathews asked 13/1, 2015 at 23:35

5

I'm using terraform and chef to create multiple aws ebs volumes and attach them to an EC2 instance. The problem is I want to be able to give each ebs volume a specific windows drive letter. The p...
Pogrom asked 24/10, 2017 at 22:47

5

Solved

I'm generating a config for my service in chef attributes. However, at some point, I need to turn the attribute mash into a simple ruby hash. This used to work fine in Chef 10: node.myapp.config.t...
Giga asked 6/2, 2013 at 20:40

3

Solved

How would you make an erb template that has human readable json? The following code works, but it makes a flat json file default.rb default['foo']['bar'] = { :herp => 'true', :derp => 42...
Flutter asked 26/6, 2015 at 23:15

9

I am extremely new to chef and I am attempting to create a chef server running on a Digital Ocean Ubuntu 14.04 droplet. I am using this guide for the install. I download the .deb and installed it f...
Julio asked 19/2, 2015 at 11:43

6

I am trying to cluster rabbit using chef Here is my error. I shutdown all of rabbit on the second node. rabbitmqctl join_cluster --ram rabbit@ip-10-158-xxx-xxx Error: mnesia_unexpectedly_runnin...
Barefoot asked 3/1, 2013 at 0:28

4

Solved

Intro I am learning Chef to automate the server management at work. I downloaded chefdk 3.0 from here and now I am trying to build my first cookbook using chef. Important I am using this in a Wind...
Daydream asked 15/10, 2014 at 21:50

1

Solved

Greeting everyone, I've recently started messing with Ansible (in particular Ansible Tower). I ran into an issue using secure values in my playbook, more accurate, I didn't understand how to use it...
Hallway asked 6/9, 2020 at 15:58

4

I have 7 files and 1 war. I need to change values when I deploy them. I have this: ##usuario #alfresco.user=***** alfresco.user=******** ##pass #alfresco.password= sfsfs alfresco.password=sfgsf ...
Puerilism asked 13/2, 2013 at 6:58

3

I am trying to implement a wrapper cookbook by taking inspiration from How to Write Reusable Chef Cookbooks, Gangnam Style. I wish to install tomcat 7 on my node without manager app. I have created...
Falgout asked 8/1, 2014 at 15:41

7

I'm using the opscode nginx cookbook for configuring the nginx server on my nodes. The nginx cookbook has some default attributes I'd like to override in my role ("web_server"). These are the attr...
Totem asked 27/8, 2012 at 15:4

2

Solved

Being relatively new to Chef, I am required to create libraries or definitions from existing recipes. There recipes use bash resource, ruby block resource (which notifies another ruby block resour...
Psf asked 12/2, 2014 at 10:51

3

Solved

I have the following (simplified) recipe called java, to install Java of course. File recipes/default.rb include_recipe "install_java" File recipes/install_java.rb # Install RPM from yum repo ...
Lammond asked 22/9, 2014 at 18:29

© 2022 - 2025 — McMap. All rights reserved.