0
votes
0answers
15 views

Preferred “Chef/Berkshelf/Vagrant” Way to Change Java Versions

On a Linux box, what's the preferred, best-practice way of switching Java versions? For example - let's say that I want to build & test out my app on Java 7, and then Java 6. Here's a few ...
2
votes
1answer
134 views

How to manage Linux servers and tasks?

As a developer who is managing more and more Linux servers for my various projects and tasks, I'm starting to seriously think about how to manage these servers efficiently. I have come up with such a ...
0
votes
1answer
545 views

How to install tomcat for many instances with CHEF?

I would like to install tomcat with a recipe through chef at some folder, like /company/tomcat6.0.45-port8081. But sometimes I have many instances of tomcat, like /company/tomcat7.0.41-port8082, ...
0
votes
1answer
63 views

Chef cookbooks marked as executed

I have setup a Chef server in our network that I use to manage several nodes. These nodes have a chef-client installed executing as a daemon every X minutes. The problem is that every time the client ...
1
vote
1answer
136 views

How auto configure or mirror my dev Ubuntu installation onto other dev machines?

I have a lot of packages and configurations done to setup my dev machine. I have other developers in my team and want them to have the same setup to start with to ensure compatibility and availability ...
0
votes
1answer
230 views

How to copy the appropriate config file, with CHEF, in a recipe?

I'm starting to learn how develop recipes to chef. I need to install Ganglia Monitor in some servers (or nodes in ganglia literature). So that's why I'm checking if the plataform is ubuntu, centOS and ...
1
vote
2answers
245 views

Service doesn't start when using chef

I've written a script which I trigger as a service. When I call service myservice start the service starts fine. However, when the same service is triggered using chef, the service doesnt start. My ...
0
votes
1answer
164 views

Cloning and deploying existing Linux builds via Chef, Puppet, etc

Is Chef, Puppet, etc able to be pointed at an existing Linux server and suck down 100% of the 'stuff' that would be required to build the server OS/package-versions/custom-files/etc including the ...
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 ...
5
votes
1answer
120 views

Looking for a Backup/Recreate Solution

I have 2 crucial servers that are running an unsupported & ancient version of Linux, and there's currently no disaster plan for them. I want to set up a backup system for them, and be able to ...
3
votes
1answer
300 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 ...
0
votes
1answer
273 views

Linux Container conversion to Vagrant and back

The situation is the following: we have an lxc (linux-container), which contains a Debian Squeeze distribution, built up with a preseed file. We wanted to add some extra packages (packages for the OMF ...
1
vote
2answers
2k views

Net::SSH::AuthenticationFailed when using Chef's Knife ssh

Facts: I have a Chef server installed. I have registered a node to this server, and I can see the node in the webUI (This is an existing node, NOT bootstrapped using knife bootstrap When I execute ...
9
votes
6answers
9k views

How to set ulimits for a service starting at boot?

I need, for mysql to use large-pages, to set a ulimit - I've done this in limits.conf. However, limits.conf (pam_limits.so), doesn't get read in for init, only for "real" shells. I solved this before ...
2
votes
2answers
359 views

Run config script on next/first boot?

I'm wearing the devops hat for my company. All our infrastructure is manually configured in AWS and I would like to start using Chef for configuration. First step: Make it easy to bootstrap an ...
3
votes
1answer
1k views

setting chef hostname to nodename on/after bootstrap

I do tests atm with Chef and I have a virtual machine which I'm cloning to generate new nodes. I do bootstrap with the knife command and the -N Parameter to give each host a nodename. The Problem is ...
2
votes
1answer
142 views

Tools helpful for setting up virtual test environment

I'm looking for something similar to vagrant, but working with KVM. I'd like to setup a couple of machines with packages I point at using a single command, but I don't really want to write the whole ...
2
votes
6answers
4k views

How to edit /etc/shadow on many Linux servers?

I would like to change the root password on about 20 Linux servers. Mostly CentOS and Ubuntu. So I have looked at Puppet, chef, and cfengine, but I can't really tell if they can do that, or if they ...
0
votes
1answer
246 views

Chef - not able to install sysstat

I am having trouble installing sysstat using a chef (v0.9.8) recipe. Any help or pointers would be greatly appreciated! I have included my chef recipe towards the end. After running this recipe, I am ...
4
votes
1answer
1k views

Which way is the most 'elegant' way of installing packages with Chef?

I have 3 different ways to install said package, and I prefer option #1 the most, but I wanted to see if there was a reason to use option #2 or 3 or any other options? (My goal of this question is to ...