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

Researching Puppet - Local host variations

class inheritance question
(28 lines)
Best sequence for building/managing servers with Puppet?
(27 lines)
Feb 7, 2012
Thinkwell
Thinkwell
Hello everyone,

First-time poster investigating Puppet for managing CentOS-based
firewall distros at various locations. I have approximately 130
machines to administrate so some type of config management is
certainly needed.

I've been working through Puppet tutorials and I'm wondering if Puppet
will do what I need; all machines are very similar. However each
machine will have small differences. For example,

1. SSH Ports: Machines have custom SSH ports so that's one variable
that would prevent me from just copying sshd_config.

2. Squid ACLs: All machines will have certain Squid ACLs, but many
machines will vary otherwise, say in cache size for example.

3. Iptables: All machines have standardized Iptables rules in /etc/
rc.d/rc.firewall.local. But again each machine has rules on a per-host
basis.

Originally, what I thought I could do is have certain sections of the
config files managed by Puppet, with other sections managed by local
edits on a per-host basis. But I'm gathering that's not how Puppet
works - you manage the whole config file and apply various config
versions based on Facter facts, node types, etc. If that's my only
option, I'll have to maintain custom conf files on Puppetmaster for
every host!

I'm open to advice generally, and comments specifically on how to
manage small per-host variations. Create custom Facter conditionals
for hosts?

Thanks!





Reply
Tags: time posterdistroshello everyonepuppet
Messages in this thread
Researching Puppet - Local host variations
Re: Re: [SOLVED] Named virtual host dot local [.local] tld
February 13, 2011 04:36:33 AM
I've managed to solve this - for reasons I'm not fully understanding. Previously I was actually editing an existing named virtual host called 'testbed' and adding the .local to the ServerName directive. Despite restarting/reloading it refused to…
Named virtual host dot local [.local] tld
February 12, 2011 10:29:52 AM
I have a test deployment: Server version: Apache/2.2.12 with a number of virtual hosts. All work fine without any issues, and have done so for quite some time. Today I wanted to add a named virtual host called 'testbed.local'. This is resolvable…
Re: Re: Named virtual host dot local [.local] tld
February 13, 2011 06:23:14 AM
> Is it actually a stone cold fact that Apache can't cope with .local as I > don't see any documentation explaining it? Works just fine for me, doubt it's a bug in your version: NameVirtualHost *:80 <VirtualHost *:80> ServerName…
Questions before researching a move from squid
December 29, 2010 07:17:48 PM
Hi Guys, I've been using squid in a reverse proxy environment for some time now, and am pretty unimpressed with its performance and lack of scalability and im looking at giving Traffic Server a bit of a trial. But before I do that I need to know…
user connections to local host
May 12, 2011 02:29:20 PM
Greetings All, Let me first say that I have been evaluating non-relational databases lately like CouchDB and MongoDB for some projects that I am beginning work on at this time and it seems that MongoDB is much better for my need. In particular, I…
How to Modify archiva to host artifacts from a new local storage !!
January 24, 2012 12:31:43 AM
Hi, I have some artifacts ( local packages ) that are stored inside local store of my company. I want archiva to fetch them as it fetches artifacts from other repositories like maven central. My local artifacts follow a certain nomenclature and i…
Theme and variations..
July 28, 2010 12:59:16 PM
So here's my problem. I have a customer, and the customer has potentially many orders. I want the orders to be stored as documents of "type" Order. And I want them to be stored uniquely, and I'm willing to use the Sling wildcard as part of the…
PATCH/puppet 1/1] [#4813] Remove dead code from puppet/rails/host.rb
September 21, 2010 04:46:00 PM
def self.clean – became orphaned in commit 28cee40689440388994a4768bd301ae32c8ecc05 def self.store – became orphaned in commit 863c50b1273a7fa48d74fb74948938214b45967c def fact – was added as a helper method for unit tests in commit…
(puppetlabs/puppet) (#12127) Implement local pluginsync from modulepath for puppet apply
January 31, 2012 01:30:45 PM
On Tue Jan 31 19:28:36 UTC 2012 pull request #427 was closed. (#12127) Implement local pluginsync from modulepath for puppet apply [Link: https://github.com/puppetlabs/puppet/pull/427 ] requested by (pcarlisle) The pull request was…
(puppetlabs/puppet) (#12127) Implement local pluginsync from modulepath for puppet apply
January 30, 2012 05:30:37 PM
Please review pull request #427:(#12127) Implement local pluginsync from modulepath for puppet apply [Link: https://github.com/puppetlabs/puppet/pull/427 ] opened by (pcarlisle) Description: This makes pluginsync work when running puppet…
puppet can not set password for a local user account. Plus puppet can not add members to a group
April 15, 2011 03:35:00 PM
Hi, I try to create a user account for example test1 and set the password for it. Both puppet master and client are CentOS 5.5. My code on master: class localaccountmgmt { user { 'test1': allowdupe => 'true', ensure…
IvyDE & source variations (was: workaround to consume legacy Ivy modules)
October 18, 2011 04:01:10 PM
Archie, thanks for the alternate approach. In case I still want to consider the original approach--if anyone else knows about the particular place in the code that I want to override, I'd love to hear. Correction. I believe I meant…
Ignored proxy_maybe var and no local login when "host = Proxy FQDN"
March 25, 2011 05:28:02 PM
Hi help is preciated, PROBLEM The dovecot-ldap.conf of "proxy server A" is working when the "host" attribute is the FQDN of other server: pass_attrs = uid=user,userPassword={SSHA}password,\ …
Exported resource Host[fqdn] cannot override local resource
September 21, 2010 09:06:49 AM
Hello All, So, I realize this is a common issue, but still can't identify the problem here. Even after reading similar posts... Essentially, I'm exporting / collecting hosts via stored configs.. Here's my export class: class basic::export{…
svn commit: r1084109 - in /tomcat/trunk/webapps: docs/ host-manager/ host-manager/WEB-INF/ host-mana
March 22, 2011 03:57:50 AM
Author: markt Date: Tue Mar 22 08:57:12 2011 New Revision: 1084109 URL: http://svn.apache.org/viewvc?rev=1084109&view=rev Log: Prevent the custom error pages for the Manager and Host Manager applications from being accessed directly. Added: …
puppet kick problem: host is already running
December 5, 2011 11:15:38 AM
Hi, I’m managing several machines with a 2.7.6 master, and 2.7.1 and 2.7.6 mixed, not yet all fully upgraded clients. On the puppet master, I want to kick a node but it exits with error code 3, which doesn’t seem right. The agent seems to return…
Reusing host names with puppet and SSL certificates
October 17, 2011 09:53:31 AM
Hello all, I'm trying to figure some things out with SSL and would appreciate some help or best practices here. I'm implementing auto scaling over Amazon EC2 for some services I have, all of the instances are based on the same AMI and I'm using…
PATCH/puppet 1/1] (#8644) Host provider on Windows
July 29, 2011 04:05:48 PM
The host provider did not work on Windows because it didn't know where to find its hosts file. The provider now uses Win32::Resolv, which is part of the standard ruby library, to find it. Several host type/provider spec tests were marked as…
Ruby error when running puppet agent on host
December 14, 2011 10:39:05 AM
Hi. We have started to receive some strange errors when running puppet agent on some hosts in our datacenter. We have about 500 clients and there are about 30 that gives us this error: …
Odd SSL issue - host not showing with puppet cert --list --all
July 29, 2011 01:43:51 AM
Hi, Just wondering if anyone had any similar issues OR idea's on troubleshooting the following problem. I have a client/node registered to the puppet master and it is working without any issues. On the server I can see it compile the catalog in…
Email: Remote host address is the local host
April 22, 2011
Hi, I try to send an e-mail to my Ubuntu server. After waiting a long wail, nothing happens. This is what I found in my log files: 2011-04-22…
Running web application on local host
January 22, 2011
Hi , I wrote a web-application which is using java library SOCIAL AUTH for oauth . For this i need to generate a secret with oauth provider like…
Local host gives error 403 on Ubuntu
February 19, 2011
Hello I am new to ubuntu linux and am currently trying to configure my netbeans to work with PHP. I have found several tutorials to install all the…
FTP a site from local host to server
January 12, 2011
Hi I know this is a very basic question. I am new to web programming.Im working with a CMS.My client has asked me to 'FTP' the site that i am…
Can cassandra be installed in Local host?
November 26, 2010
I want to learn Cassandra. Can the database be installed in a desktop or a laptop. Please let me know? I also want to know the minimum system…
Can't access internal local website by host name
May 13, 2011
I just set up a new Ubuntu 11.04 test VM which I hope in the future to use as a wiki for internal documentation. My problem is that I cannot seem to…
Using Apache to host websites on local network
April 7, 2011
I currently use Apache on my machine to test PHP websites locally. I was just wondering how I can allow computers connected to my local network to…
Connecting the Database and Python not through local host
June 25, 2011
I'm Using Python and connecting through the Database .. Python is connected with android Operating system through Network IP connection not using…
XAMPP v1.7.4 installation issues,local host not working
March 20, 2011
I had an older version on XAMPP and it was working fine. I uninstalled it to install the new version.Since then local host has stopped working.…
How to redirect request for any host to my hostname within a local network
March 23, 2011
I have a local wireless network running. It is not connected to the internet and it has a webserver (lighttpd) running on 192.168.0.1 This webserver…
Apache on windows 7 local host is not displaying php page
January 12, 2011
Hello, I just installed zend server ce on this new desktop running Windows 7. When I downloaded the installer for zend server it said if I wanted to…
Wamp or an other local host server to develop PHP on a windows environment?
March 11, 2011
I'm used to WAMP, but I've experienced some issues lately on the windows 7 OS. So I wondered if there are other or better local host servers that I…
Shorewall drop all incoming traffic from one internet IP except for all local host except two
March 4, 2011
How i can block all incoming traffic from one internet IP for the local network, except for two host? DROP all inet:78.31.8.0/24 - - The previous…
Can my iPhone app host a Local Web server and allow other apps to the phone to access the LWS??
January 17, 2011
I will use one of the following cocoahttpserver or iPhoneHTTPServer3, SimpleWebSocketServer, MultithreadedHTTPServer3 to host a server in my app.…
How to configure sendmail to relay local user mail to public host?
January 7, 2011
I am using Linux/Fedora's sendmail as my mail server. The server do not has a public domain name. It connect to Internet via dial-up. There are few…
Adding a local/custom domain on a windows LAN network (without editing host files)
March 9, 2011
Hi, I did find somewhat similar questions here, this one shows first I think, on google: Modify DNS cache other than HOSTS file? This one too:…
Mysql_connect returning "Can't connect to local MySQL server through socket" on remote host connection?
June 23, 2011
I have a server that's returning an unexpected, intermittent error and wondering if anyone has either experienced it before or can guess what might…
C#: regex how to differentiate between two variations of a string
May 12, 2011
This is tough to explain enough to ask the question, but i'll try: I have two possibilities of user input: S01E05 or 0105 (two different input…
Multiple clients database with column variations ?
January 5, 2011
How would you design such db? DB per client? EAV model? Ideas please... Thank You EDIT: In (at least) one table clients will store different…
Database design for multiple game variations
June 1, 2011
Hopefully the purpose of these tables will be apparent, but just in case here's a simple explanation: I basically wish to store the results of…