Re: [Puppet Users] Propagating local config changes from a client to the puppetmaster

2010-11-30 Thread Matt Wallace
On Tuesday 30 Nov 2010 12:58:33 gdb wrote: > Hi, > > I'm using puppet with a centralized puppetmaster pushing config to > many client nodes. Most of the configuration files that puppet > manages are static and served via the puppet fileserver (running on > the puppetmaster). I often find myself

Re: [Puppet Users] Process to upgrade from 0.24.8 to 2.6.x ?

2010-11-10 Thread Matt Wallace
On Wednesday 10 Nov 2010 10:30:02 nemo wrote: > Hello, > > I'm really kind of newbie in the Puppet's world but this tool is quite > impressive. So I wish to thank the authors first and all people > participating to this amazing project. > > Now get straight to business :) I'm responsible of a pla

Re: [Puppet Users] Query facter 'facts' from webapp

2010-11-09 Thread Matt Wallace
On Tuesday 09 Nov 2010 15:06:28 Pieter Baele wrote: > Hi, > > I would like to query the puppetmaster (or the puppet nodes...) for some > facts and display/use these in an external web application (written > django) using the certificates from Puppet. > > What's the correct (nice) way to do this?

Re: [Puppet Users] Prevent users from creating new accounts

2010-11-04 Thread Matt Wallace
On Thursday 04 Nov 2010 10:40:02 Martin Alfke wrote: > On Nov 4, 2010, at 8:28 AM, hywl51 wrote: > > Hi, all > > > > I want to control the user accounts on our company servers with > > puppet. The complete requirements are the following: > > > > 1. Assuming that one user run " useradd " on th

[Puppet Users] Puppet Training in the UK

2010-10-22 Thread Matt Wallace
Hi all, I've asked my company to send me on the training in London at the end of November, however owing to budget restraints I've been asked to investigate training next year instead. Does anyone know when the next round of training will be in the UK after November? Thanks, Matt -- You re

[Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-22 Thread Matt Wallace
Hi all, We're writing a few scripts at the moment that could really make use of Facter, however the vast majority of them team (including my self!) are not proficient in Ruby, however they are highly proficient in other languages such as (dare I say it!) Python. Is there (or are there any plan

Re: [Puppet Users] Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-20 Thread Matt Wallace
On Tuesday 19 Oct 2010 21:52:37 Nicolas Szalay wrote: > - "Al @ Lab42" a écrit : > | Hi List, > > Hi, > > | I would like to discuss with whoever is interested one topic that I > | suppose has general interest. > | > | I want to implement some kind of automatic testing on the status of a > |

Re: [Puppet Users] First boot with Puppet

2010-10-15 Thread Matt Wallace
On Thursday 14 Oct 2010 23:49:11 Michal Ludvig wrote: > On 10/15/2010 08:36 AM, Arnau Bria wrote: > > On Thu, 14 Oct 2010 23:47:16 +1300 > > Michal Ludvig wrote > > > >> 1) kickstart installs the system, including puppet from our local repo > >> 2) after reboot I have to login and set the hostna

Re: [Puppet Users] manipulating facter variable

2010-10-14 Thread Matt Wallace
On Thursday 14 Oct 2010 14:57:08 Dennis vdM wrote: > I'm trying to manipulate the following facter variable: > > ipaddress => 10.85.207.2 > > What I need is the second group of digits. If it's 84 then location is > A, but if it's 85 then location is B. > In puppet I couldn't grab this second set

Re: [Puppet Users] Re: Duplicating web servers

2010-10-01 Thread Matt Wallace
On Friday 01 Oct 2010 15:01:25 Kikanny wrote: > Thank you all for taking your time to explain it to me. I guess I'll > give it a whirl and see how it goes. Another question I have is what > if the person managing a web server does not have full knowledge of > whatever is installed in a server or th

Re: [Puppet Users] Duplicating web servers

2010-10-01 Thread Matt Wallace
On Friday 01 Oct 2010 14:27:38 Daniel Pittman wrote: > On the plus side: it will make the *next* web server, after this one, > really easy. Like, five minutes of work easy. I have to agree with this. It's taken me the better part of two months (on and off) to get a mailserver manifest to mirror

Re: [Puppet Users] Classes and Inheritence

2010-09-29 Thread Matt Wallace
On Wednesday 29 Sep 2010 08:15:08 Felix Frank wrote: > On 09/28/2010 06:20 PM, Disconnect wrote: > > You need to include or inherit the class that defines the service before > > you can notify it. (Or just redefine the service in the other module.) > > > > There is no link between smtpexternal and

[Puppet Users] Classes and Inheritence

2010-09-28 Thread Matt Wallace
Hi all, I'm going out of my mind trying to get my head around inheritance in Puppet 0.25. I have a module named smtp which contains a number of classes for setting up the various configurations that we have for SMTP Servers based on Exim. I have a class called SMTP which has a service defined

Re: [Puppet Users] YUMREPO { productname => PowerEdge 2650}

2010-09-28 Thread Matt Wallace
On Tuesday 28 Sep 2010 15:12:34 CraftyTech wrote: > Hello All, > > How do I specify a variable that has a space in it? I'm trying > to setup a yum repo that has two different baseurl's based on the > product name ($productname). Default goes one way, but if the product > is "PowerEdge 2650"

Re: [Puppet Users] puppet and git

2010-09-10 Thread Matt Wallace
On Friday 10 Sep 2010 11:29:31 Julian Simpson wrote: > On 10 September 2010 11:16, Matt Wallace wrote: > > 1) I'm not sure how to get Hudson to merge the "staging" branch into > > "master" > > when the tests complete > > I've not used

Re: [Puppet Users] puppet and git

2010-09-10 Thread Matt Wallace
On Friday 10 Sep 2010 11:33:31 Patrick wrote: > On Sep 10, 2010, at 3:16 AM, Matt Wallace wrote: > > 2) I'm struggling to find a way for puppet 0.25 to perform a "git pull" > > on all the master branches _before_ it runs to ensure that the latest > > configs are

[Puppet Users] puppet and git

2010-09-10 Thread Matt Wallace
Hi all, We're keeping all our modules in Git and we run automated tests against them using Hudson including building virtual servers using cucmber-vhost and deploying our configs via puppet to these vhosts. I've now run into two problems: 1) I'm not sure how to get Hudson to merge the "staging

Re: [Puppet Users] Re: Centralised Graphing?

2010-08-26 Thread Matt Wallace
On Wednesday 25 Aug 2010 19:17:18 Phips wrote: > puppet-dashboard? Could do, but we use Cobbler as our extnode source and I don't really want to fire up an additional management web interface just for a few graphs... :( Cheers, Matt -- You received this message because you are subscribed to t

Re: [Puppet Users] Centralised Graphing?

2010-08-26 Thread Matt Wallace
On Wednesday 25 Aug 2010 19:29:52 Luke Kanies wrote: > On Aug 25, 2010, at 9:54 AM, Matt Wallace wrote: > > Hi all, > > > > I'm starting to look at the graphing features of Puppet and I'm > > struggling to find a way of collating the graphs for testing

[Puppet Users] Centralised Graphing?

2010-08-25 Thread Matt Wallace
Hi all, I'm starting to look at the graphing features of Puppet and I'm struggling to find a way of collating the graphs for testing purposes. Is there a way to centralise the output from the graphs into something like "hostname.relationships.dot" on the puppet master? Thanks, Matt -- You r

[Puppet Users] Fun with Custom Providers

2010-08-03 Thread Matt Wallace
Hi all, I'm having an issue with custom providers (the pear/pecl ones mentioned in an earlier post today) and I'm hoping you can all help. I have a "base" class that includes other modules and installs other packages including the distribution of the custom providers. I have a second class "st

Re: [Puppet Users] Managing Pear and Pecl packages in Puppet

2010-08-03 Thread Matt Wallace
On Tuesday 03 Aug 2010 12:56:45 Trevor Hemsley wrote: > No, it's not a clean solution but if the PECL maintainers are silly > enough to hard code a memory limit in the shell script that is used to > invoke it then there is not a huge amount that you can do about it. > There are lots of hits on goo

Re: [Puppet Users] Managing RPM Repositories

2010-06-03 Thread Matt Wallace
On Thu, 2010-06-03 at 18:22 +1000, Daniel Pittman wrote: > ...but from experience I wouldn't recommend doing this. You are almost > certainly going to be better off having the same set of repositories on every > server, and using some other mechanism to control which packages or updates > are app

Re: [Puppet Users] Managing RPM Repositories

2010-06-03 Thread Matt Wallace
On Wed, 2010-06-02 at 15:16 -0700, Patrick wrote: > Sorry, but you might have lost me. Are you saying that you're having > problems because when you define the repository in two places it throws an > error? > Not quite! :) I want to define all my repos in one module and then include the repos

[Puppet Users] Managing RPM Repositories

2010-06-02 Thread Matt Wallace
Hi all, I'm trying to write a module to manage yum repositories but before I re-invent the wheel I was wondering if anyone out there had existing code I could adapt! I've looked on Puppet Forge but the only two package management modules out there appear to be for APT/Deb repos. Can anyone help?

[Puppet Users] Error with resource in puppet cucumber

2010-05-25 Thread Matt Wallace
Hi, I'm getting the following error when trying to run a feature in puppet: === cucumber-puppet modules/smtp-external/smtp-external.feature Feature: smtp-external In order to allow our customers to send email As a user I want to send email to people

[Puppet Users] Ralsh output is not consistent

2010-05-21 Thread Matt Wallace
Hi, I'm using Ralsh to audit our existing systems and I've run into a strange issues with the output. Compare the examples below taken from two separate servers and spot the difference: Server 1 user { 'root': ensure => 'present', comment => 'root', shell => '/bin/bash',

Re: [Puppet Users] Multiple Puppet Servers

2010-05-14 Thread Matt Wallace
On Thu, 2010-05-13 at 22:53 -0700, Abhishek wrote: > Hi, > > Is there any way to define multiple puppet servers in client > configuration so that if my one puppet server is down then my > production config changes can be applied from other puppet server. I > am using apache and Mongrel for puppet

Re: [Puppet Users] Re: mcollective scalability

2010-05-07 Thread Matt Wallace
On Thu, 2010-05-06 at 20:29 -0400, Eric Shamow wrote: > Matt, > > Really great posts -- you've inspired me to take a crack at MCollective. Thanks Eric, Let us know how you get on! M. > > -Eric > > > On Thu, May 6, 2010 at 4:11 AM, Matt Wallace > wrote:

Re: [Puppet Users] Re: mcollective scalability

2010-05-06 Thread Matt Wallace
On Wed, 2010-05-05 at 23:31 -0700, donavan wrote: > > 2000 nodes certainly is within my goals with the design, that said there > > has not been such a big deploy. > > We've got 500+ nodes on mcollective currently. Nothing special as far > as setup, a few of the contrib agents and few more in hous

Re: [Puppet Users] Using classes from extnode to define config files?

2010-04-30 Thread Matt Wallace
On Fri, 2010-04-30 at 12:10 +0200, Peter Meier wrote: > > but I'm not too sure how to set the value of $CLASSNAME. > > we do something similar: > > file{'/etc/exim/exim.conf': >source => [ "puppet://$server/modules/site-exim/${fqdn}/exim.conf", >"puppet://$server/modules/site-

[Puppet Users] Using classes from extnode to define config files?

2010-04-30 Thread Matt Wallace
Hi all, I'm using cobbler as our external node manager and it's working really well (including deployment of ActiveMQ from RI's RPMS and Mcollective - blog post coming soon!) however I've run into a problem with exim configuration files. We use exim in a number of different configurations dependi