Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Best sequence for building/managing servers with Puppet?

Researching Puppet - Local host variations
(40 lines)
Removing custom facts from Facter
(15 lines)
Feb 7, 2012
Weloki
Weloki
I need to both build some new servers and rebuild some existing ones
keeping in mind I want to use Puppet. The question is which is the
best sequence to proceed with?

A) Develop modules one by one and make sure each component works, then
assemble and test modules that need to talk to each other and make
sure those work together, all *before* building the servers. Then once
all the modules are completed and tested for each piece of
configuration and functionality needed at the systems level they can
be used to build each server automatically.

B) Build the servers manually first and retrofit them with pre-
existing Puppet modules, hoping that the modules will just work AND
match how each system should be for your particular needs.

C) Build the servers manually first and then develop the modules
needed to manage each one.

Is there one way that saves more time? Is there one that lends a
higher degree of confidence everything will work as expected at the
end?





Reply
Tags: puppetservers
Messages in this thread
Best sequence for building/managing servers with Puppet?
managing 5-10 servers
November 23, 2010 03:15:05 PM
Hi, How much of a guru do you have to be to keep say 5-10 servers humming? I'm a 1-man shop, and I dream of developing a web application, and scaling will be a core part of the application. Is it feasable for a 1-man operation to manage a 5-10…
network device: appropriate for managing ec2 servers?
September 11, 2011 10:11:18 PM
Hi All, I'd like to declaratively manage EC2 servers using Puppet. I'm aware of the new cloud-pack, however it's only useful for provisioning, not for managing an over-all consistent EC2 account state. Essentially, I'd like to use Puppet like an…
Utilities for managing streaming replication servers?
March 23, 2011 01:53:30 AM
Hi, I wondered if there were any software packages floating around to manage servers using streaming replication with Pg? ie. To handle failing over and adjusting the config to promote a slave; and performing the steps of syncing and restarting…
Automate Scripts to make for managing Large Database Servers.
December 29, 2010 10:17:19 PM
Dear all, I am working on some common tasks that need to be performed on regular intervals in a large Database Servers. I find below lists of tasks that need to be performed and Please tell me if i missed some. 1. Tacking Daily, Weekly Backups.…
Managing cronjobs as a file in solaris with appendifnosuchline for specific servers
January 3, 2011 03:54:37 PM
I want to manage cronjobs as a " file " in solaris through puppet and not using the puppet cron resource. I will be managing the file /var/spool/cron/crontabs/root. I want the cron file to be same across all servers except some servers will have…
newbie question about managing parallel video encoding through multiple job servers
March 31, 2011 12:27:56 PM
Hi, Here is the situation: I developed a PHP application that runs ffmpeg locally to encode videos. For each submitted video, I encode 3 new versions of it (low/mid/high def). Submitted videos are handled one after the other, so that each version…
building and installing on different servers, different directories
January 31, 2012 03:41:30 AM
hi Apache gurus, we have -what I assume a rather typical situation of modern IT environment- no compiler on our production servers. So, the building of Apache will need to be done on (duh) development servers, that do not necessarily have the…
Building out Hive in EC2/S3 versus dedicated servers
November 22, 2011 02:15:32 PM
My colleague has a Heroku-based startup and they are just getting started with Hadoop and Hive. They’re evaluating running Hive in EC2/S3 versus buying a handful of boxes and installing CDH. One nice (albeit dated) analysis on this question is…
Puppet for managing a cloud?
October 11, 2011 11:16:24 AM
Hi All, I've been exploring puppet and mcollective recently and I was wondering if people here might be able to point me towards some information on a potential use case. It seems like puppet is primarily used at the moment as a tool for managing…
Managing /etc/fstab with puppet
November 11, 2011 11:16:59 AM
Hey everyone, I'm trying to figure out how to manage my /etc/fstab with puppet on all my servers. Does anybody have an idea for me how to do? I tried it with augeas but I didn't like the results I got so far... here is what I've tried: define…
Managing puppet mount resources in AIX
December 23, 2010 03:24:23 AM
Hello, I am working on the mount provider for aix. I implemented it using the native commands from AIX to do so: crfs, rmfs, chfs, lsfs... In AIX the recomended and supported way to manage mount points is by using these commands, and not to…
Managing sensitive strings with puppet
December 23, 2011 11:11:28 AM
I'm new to Puppet, and I'm a software developer, not a sysadmin, so be gentle. I have puppet managing some files via templates, and one of the template variables that needs to be plugged in is a password of sorts that shouldn't be generally…
Managing dynamic instances with puppet
September 1, 2011 10:44:38 AM
Hello, My organization is currently running a complete production environment on Amazon EC2, and I'm now trying to implement some automations and scaling with puppet. I have several instances which I want them to be almost automatic, meaning …
Managing sudo via puppet using #includedir
August 1, 2011 12:42:22 PM
Is anyone having success with #includedir option in sudo? I have a module that uses a definition to create files in /etc/sudoers.d/ which is referenced in the main suders file as #includedir "/etc/sudoers", but these entries are not getting…
managing normal users with Puppet
November 5, 2010 12:34:01 PM
What are the recommended practices for adding regular users with a specific group and password ? I'd like to add new users to a cluster, and also to append an existing ssh key to authorized_keys on all the cluster nodes for some users. This is the…
Managing netgroups in /etc/passwd with Puppet via Augeas
May 25, 2011 03:49:02 PM
Hi all, I'm relatively new to both Puppet and Augeas. I'm currently stuck trying to figure out how to manage hosts' netgroup entries in /etc/ passwd. I've got it working to ensure a single specified netgroup is the only one in /etc/passwd: class…
Managing FMS (Flash Media Interactive Server) with Puppet
May 17, 2011 03:42:25 PM
Is anyone currently using Puppet to manage and/or rollout Adobe FMS? If so, I'd be interested knowing about your config, approach, etc. I can see where the configs can be templated. Applications installed separately (ours are complicated with…
PATCH/puppet 1/1] (#4835) Fixes spurious changes when managing group membership on OS X
April 12, 2011 09:33:28 PM
Unless you happened to have members added to a group in exactly the same order as they appear in your puppet manifests, Puppet considered the 'is' and 'should' values to be out of sync due to ordering differences between the arrays. The fix…
PATCH/puppet 1/1] Minimal fix for #4975 -- only call chage when managing password age rules
October 11, 2010 11:29:30 PM
This is intended to be a minimal fix, with tests, to prevent chage from running unless needed. Signed-off-by: Markus Roberts <Mark### @reality.com> --- lib/puppet/provider/nameservice.rb | 4 ++- …
PATCH/puppet 2/3] (#6309) Ensure the correct device is mounted when managing mounts
February 18, 2011 05:41:05 PM
Previously the mount type would only check if anything was mounted at the desired point, when 'ensure => mounted' was specified. Now we check not only whether something is mounted at the desired point, but also that it is the thing we wish to…
Sequence field, tracking individual sequences for primary key/sequence pair
April 23, 2011
I have a table of user-uploaded objects. Each user can have an arbitrary number of objects. I want each object to have a sequential identifier, like…
Templating MySQL's my.cnf for setup in Puppet
February 18, 2011
I have been tasked with templating MySQL's my.cnf in an attempt standardize the configuration amongst the slave databases using Puppet. Right now,…
How can I configure exim4 with a smarthost via puppet?
March 26, 2011
I have tried to automate the exim setup via puppet. I followed the approach described here , whiched worked for me for a few packages, but for exim…
Puppet + Passenger + Apache/Nginx
June 22, 2011
I'm working on a very large puppet deployment, but seem to be hitting a brick wall. My ideal setup is to use Nginx + Passenger to serve puppet. The…
Is there any way to use arrays in a puppet module (not in template)?
May 10, 2010
I want to use puppet to manage a hadoop cluster. On the machines we have several directories which must be created and set permissions. But i'm…
Puppet offloading using NGINX, 403 forbidden error
May 21, 2011
I'm currently trying to offload some of the file serving puppet does using NGINX (As displayed here…
Puppet defined resource - selective parameterization?
May 6, 2011
Hi all, I'm currently banging my head trying to find the "best way" to achieve this type of granularity for puppet: I have a server running…
Nginx traffic is going to wrong upsteam when mixing named servers and default servers
June 24, 2011
I have the below config file for nginx. The problem is all traffic is going to upstream clustera. How do I configure nginx to only send traffic for…
Is it beneficial to add more hbase servers without adding more hdfs servers?
May 20, 2011
I'm using Eucalyptus and am considering putting hdfs and hbase on our node controllers. Would running hbase on some of our instances improve…
Mongodb do i need to put my config servers on separate servers?
April 16, 2011
i assume yes since if an instance goes down all 3 go down?
Managing Joomla Website
February 9, 2011
Currently my workflow is like this: Make some changes to the local copy of my website Use Akeeba backup to make a copy of my website and database…
Managing Regex in java
April 5, 2011
How we can manage regex in java ? Yes I did search regex topics but I think it is strange in java. What I would like to do is My team…
Managing Nonces in Apache/PHP
March 9, 2011
I have been going through the various questions here about nonce generation and PHP, but not found any discussions about the details of managing the…
Managing a Cassandra Cluster ?
April 14, 2011
Suppose that one has set up a cassandra cluster. You've got a 10[TB] database that is distributed evenly between 10 nodes, everything runs smoothly…
Best way of managing SSL on production and staging sites
March 26, 2011
I'm using II7 to host my production sites as well as my staging sites. I want my staging sites to as closely mimic the functionality of my…
Tomcat + managing properties files
February 9, 2011
Hi, We currently have one Tomcat server running 2 webapps; one for US sites, and another webapp specifically for the EU. We have functionally…
Managing nested sets of data
February 26, 2011
I have been reading about storing nested data and the examples i have come across so far demonstrate on how one can create and manage an hierarchy…
Managing SQLite Connections in Android
March 1, 2011
Hello, I have a (hopefully) quick question regarding handling SQLite database connections in Android. I have an app that is composed, naturally, of…
Managing multiple settings.py files
March 1, 2011
I have managed to deploy successfully a Django project on Apache's Web Server with mod_wsgi . I would like some recommendations on how to manage…
Managing database connections with Stripes, Guice
June 21, 2011
I'm wondering about best practices to use for managing database connections in Stripes with Guice. Ideally I would want to enforce the following:…