0
votes
0answers
22 views

What accounts does clamav use on different Linux distros

I'm trying to fix a problem in a Chef recipe for installing / configuring ClamAV which is caused by the recipe using the wrong default user/group name for the clam service account on some platforms. ...
1
vote
1answer
465 views

Install Java 7 with Chef using Opscode Java Community Cookbook

I am trying to install Java 7 on Ubuntu with the opscode java community cookbook. Java 6 seems to be the option no matter what incantation I make: [2013-09-24T00:24:32+00:00] INFO: Processing ...
0
votes
1answer
142 views

unable to upload cookbook from knife to chef-server

I am running open source chef server on ubuntu ec2 instance. I am trying to upload the cookbook from my workstation using knife to chef-server, I am getting following error ...
0
votes
1answer
87 views

How to provision a vagrant VM with Chef and and a .rb file filled with instructions

I probably got the whole concept wrong: I have a working Vagrant VM with Ubuntu 12.04, on top of it I want to install a few packages and config files. I have them set in Chef, in the path ...
3
votes
2answers
508 views

How to make Chef-Server use Ruby 1.9 on Ubuntu?

I've installed Chef Server on Ubuntu 12.04 using the official instructions, which uses the "omnibus installer" that has embedded ruby 1.8.7. I'm trying to install knife-windows, but when I run gem ...
0
votes
0answers
132 views

Chef doesn't preseed installation of the package

I have created a a file in my cookbook in files/default/debconf-selections-libnss-ldapd with the following content : libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow ...
0
votes
1answer
260 views

Chef rbenv cookbook recipe user not found

I have a problem with Chef rbenv cookbook. Once I start to bootstrap a server it gives me a error: could not find user recipe for cookbook rbenv But the recipe is in the recipes folder. I can not ...
0
votes
2answers
456 views

node's FQDN is missing in chef

I am a newbie to the chef and knife, I am running couple of ec2 instances and have install chef-client and I can see all the instances in the node list of the chef, but couple of them are missing FQDN ...
0
votes
1answer
66 views

unable to bootstrap ec2 ubuntu instance

Hi I am trying to bootstrap an ubuntu ec2 instance using knife command line tool, but when ever I run this command knife ec2 server create -x ubuntu --region ap-southeast-1 -i ami-0cdf4965 -S key ...
2
votes
2answers
408 views

bootstrapping an ubuntu ec2 instance using chef and knife

I am bootstrapping a ec2 ubuntu based chef node using chef, it creates an instance but it says Failed to authenticate ubuntu - trying password authand asks for the password. But a newly created ubuntu ...
2
votes
3answers
1k views

Running `apt-get upgrade` with Chef Solo

I'm using Chef Solo to provision a Vagrant VM based on Opscode's "Bento" box for Ubuntu 12.04. When it's done provisioning and I SSH in for the first time, the MOTD tells me there are packages and ...
1
vote
1answer
651 views

How to install APC on a vagrant box running Ubuntu 12.04 with PHP 5.4?

In my "Vagrant" file I have this line: chef.add_recipe("php::module_apc") But it gives me this error: [2013-01-11T22:14:53+00:00] INFO: Processing package[php-apc] action install (php::module_apc ...
0
votes
1answer
221 views

Removing an ubuntu package with chef

An older version of a cookbook installed a package that I no longer want on my systems. My understanding is that chef doesn't have a straightforward way to explicitly remove a package, so I resorted ...
0
votes
1answer
254 views

chef apt_repository fetching fails

I am trying to fetch a specific repository to install a php version but I keep getting 404 NOT FOUND. chef recipe code: apt_repository "dotdeb-php54" do uri "http://archives.dotdeb.org" ...
0
votes
1answer
94 views

installing php .deb files

I am using dotdeb.org php 5.4.8 http://archives.dotdeb.org/dists/squeeze/php5/5.4.8/binary-amd64/ I download all the files on to my box and run the following cd /tmp/php-deb-5.4.8 dpkg -i ...
1
vote
2answers
434 views

How do you configure rvmsudo using chef?

I am using the chef-rvm cookbook by fnichol to perform a system wide installation of Ruby via RVM with the rvm::system recipe. I.e. In my run list, I have (with no additional attributes set): ...
3
votes
3answers
2k views

Chef bootstrap giving 401 unauthorized

I'm trying to bootstrap a new chef node by running: knife bootstrap <server ip> -x lewis -N gitlab --sudo But I get the following output: [Mon, 03 Sep 2012 14:45:17 +0000] INFO: *** Chef 10.12.0 ...
3
votes
1answer
298 views

omnibus installed chef and rvm issues

I'm trying to figure out one thing and would like someone's else view on this. I installed chef on my Ubuntu server (11.10) via the awesome omnibus install. It worked perfectly fine. I was able to run ...
2
votes
1answer
437 views

Chef 'notifies' fails to restart or reload services

I'm using chef-solo v10.12.0 to configure an Ubuntu 12.04 VM, and I keep running into an issue where services don't restart or reload as expected when a configuration file is changed. There are no ...
0
votes
1answer
195 views

Convert Chef recipe from Centos to Ubuntu

I'm trying to adapt a chef recipe developed for Centos to Ubuntu, and thinking that there must be a better way. Methodology (I'm using Vagrant): vagrant reload Look through log to find the package ...
0
votes
5answers
123 views

Any conference videos online that you guys can recommend?

I like watching conference presentations that show you how to do things when it comes to server setup/deployment etc. Any good ones out there? The more practical and hands on the better.
1
vote
5answers
1k views

Change the order of IP addresses returned by ifconfig?

I have an Ubuntu server with several IP addresses attached to it. 127.0.0.1 is listed as venet0 by ifconfig. I'm using Chef to configure the server. The problem is that chef is listing 127.0.0.1 as ...
22
votes
9answers
9k views

Are configuration management tools (Puppet, Chef) capable of keeping installed packages up to date?

This is probably a simple question for those of you already running configuration management tools. Are configuration management tools such as Puppet or Chef the right approach for keeping installed ...