[Puppet Users] Moving to RVM Ruby 1.9 and Puppet

2012-01-26 Thread Matt
Has anyone had any experience with using RVM with Puppet? I know with puppet 2.6 it directly invokes /usr/bin/ruby on RHEL based OSes but in 2.7 I see that its using env to invoke ruby. Is there a noticable performance increase with ruby 1.9 over 1.8? -- You received this message because you ar

[Puppet Users] Re: pass values to puppet-lvm

2012-02-29 Thread Matt
I get the same problem with CentOS. No error but no LV created. I've tried with Ubuntu client and same issue. Something might be wrong within the module... Matt On Feb 4, 1:59 am, Luke wrote: > Oh well. Maybe thislvmmodule doesn't like centos or something :( > > Thanks for

[Puppet Users] Re: ANNOUNCE: Puppet Module Tool version 0.3.4

2012-05-10 Thread Matt
Reading the documentation so far, it looks like it has the option to query a different repository other than forge. The question I have is if we have modules that we need to host internally how can we serve them up to be searchable by PMT? On Tuesday, August 9, 2011 6:47:59 PM UTC-4, James Turn

[Puppet Users] puppet module tool repository

2012-05-10 Thread Matt
Looking at the documentation it looks like you can specify an alternative repository other than puppet forge. How would we go about hosting our own modules, say for internally only type modules. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] template compilation performance

2012-05-16 Thread Matt
I'm running into an issue where I have hundreds of configuration files generated from templates, which they are apache vhosts for various sites. I'm running into a problem where it can take up to 10 minutes to build them and sometimes clients get server execution expired. I'm also on 2.6 puppet,

Re: [Puppet Users] template compilation performance

2012-05-16 Thread Matt
gt; Let us know what we're looking at and we can provide some help :) > > On Wed, May 16, 2012 at 8:46 AM, Matt wrote: > >> I'm running into an issue where I have hundreds of configuration files >> generated from templates, which they are apache vhosts for vari

Re: [Puppet Users] template compilation performance

2012-05-16 Thread Matt
e getting a bell curve on > compile time, or are they always that long? > > Trevor > > On Wed, May 16, 2012 at 12:30 PM, Matt wrote: > > Yeah my bad, lots of things going on right now, here is the information. > > > > I currently have 3 puppet masters

[Puppet Users] F5 Load Balancing

2012-05-18 Thread Matt
Is there any documentation on doing the ssl termination on the F5? The only thing I found is http://projects.puppetlabs.com/projects/puppet/wiki/Load_Balancing_F5 which is only providing the iRule and not suggested configurations or starting points? I currently use an F5 to load balance my pupp

[Puppet Users] issue with custom types and providers

2012-05-22 Thread Matt
So I'm trying to follow the example in the Pro Puppet book and I'm running into the issue where "resource" variable is not defined. Looking at the code for packages, I did something similar but it doesnt work either. newparam(:type) do desc "Deprecated form of `provider`." mung

[Puppet Users] Re: issue with custom types and providers

2012-05-22 Thread Matt
This is with puppet 2.6 and one minor difference was in my code I tried both newparam and newproperty to see if it was potentially just a simple mistake. On Tuesday, May 22, 2012 10:55:19 AM UTC-4, Matt wrote: > > So I'm trying to follow the example in the Pro Puppet book and

[Puppet Users] Re: How do puppet transform group with username in /etc/sudoers file

2012-06-04 Thread Matt
There is a trick I use on my infrastructure, it is around having an include dir for sudoers. You can write a custom function to retrieve the data from the database and return it as a hash. You would need to do a define if you want to define each user sudo permissions as a individual resource. A

[Puppet Users] puppet 2.6.9 debian packages

2011-07-19 Thread Matt
uldn't find the service scripts or any control files. Cheers, Matt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send e

Re: [Puppet Users] puppet 2.6.9 debian packages

2011-07-19 Thread Matt
Good point Steph, i'll grab the deb-src and have a look. On 19 July 2011 11:51, FRLinux wrote: > On Tue, Jul 19, 2011 at 11:01 AM, Matt wrote: >> Anyone hosting deb packages for puppet 2.6.9, or know how to build it >> from the tar.gz.  I know sid has 2.7.1 but i&#x

[Puppet Users] ruby dsl, loading files from within the modules

2011-07-25 Thread Matt
Is there a way to load a file from within the module in Ruby DSL? The idea I have is to load a file similar to like how template works. I'm trying to read in a database properties file and I would like to keep within the module instead of hard coding paths. -- You received this message because

[Puppet Users] Re: ruby dsl, loading files from within the modules

2011-07-26 Thread Matt
e but it doesnt seem to be working for me in outside of the file resource. On Jul 26, 12:16 am, Scott Smith wrote: > Sounds like a good use case for writing a custom fact. > > > > On Mon, Jul 25, 2011 at 5:09 PM, Matt wrote: > > Is there a way to load a file from wit

[Puppet Users] Re: ruby dsl, loading files from within the modules

2011-07-26 Thread Matt
 am, Nan Liu wrote: > On Mon, Jul 25, 2011 at 8:09 PM, Matt wrote: > > Is there a way to load a file from within the module in Ruby DSL? > > > The idea I have is to load a file similar to like how template works. > > > I'm trying to read in a database properties fi

[Puppet Users] Forcing package resources to fail to install in Solaris sparse root zones when install path is inherited from global zone

2011-08-26 Thread Matt
zone? facter reports virtual => zone and I thought maybe it's something to do with adding something to Package {} so all package resources inherit, but that's about as far as my (currently only a few days old) knowledge of Puppet takes me. Thanks, Matt -- You received this messa

[Puppet Users] config files for ruby dsl manifests

2011-09-06 Thread Matt
I know I brought this up in a different post a while ago in as a different question. Whats the best way to locate a configuration file from a ruby manifest? I'm tring to load a yaml for database properties but so far the only way to make it work is if I explicitly define a path either manually or

[Puppet Users] Re: config files for ruby dsl manifests

2011-09-06 Thread Matt
, and also be visible to other things like mcollective. The piece of code you provided did not work for me, it looks like I'm not able to pull back the module name from scope it seems. On Sep 6, 11:56 am, Nan Liu wrote: > On Tue, Sep 6, 2011 at 7:24 AM, Matt wrote: > > I kno

[Puppet Users] Re: config files for ruby dsl manifests

2011-09-06 Thread Matt
I am using 2.6.6, when I try your example I get a empty string back, I tried with 'module_name' and the actual name of the module and both return an empty string. On Sep 6, 12:27 pm, Nan Liu wrote: > On Tue, Sep 6, 2011 at 9:08 AM, Matt wrote: > > I'm trying to write

[Puppet Users] Requiring a package to satisfy a provider requirement

2011-09-19 Thread Matt
=> Package['glassfish'] 10 } 11 } The problem is that when I run this, the glassfish module causes it all to fail because asadmin, required as a provider, isn't available, nor is the passwordfile. But then it won't be available because glassfish isn't installed. Is th

[Puppet Users] Re: Requiring a package to satisfy a provider requirement

2011-09-19 Thread Matt
x ~/bin/asadmin $ puppet apply --modulepath modules/ manifests/test.pp --noop Parameter passwordfile failed: /opt/glassfish/.aspass does not exists at /home/matt/devel/puppet/modules/glassfish/manifests/testdomain.pp: 10 $ puppet -V 2.6.9 On a slightly seperate note, I've also had to set RUBYLIB

[Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-09-30 Thread Matt
You are trying to cherry pick from the assumptions. They explicitly state that the period delimits components of "domain style names". I know that phrase seems questionable and had me confused a little but if you look at the RFC and the date it was created DNS was just coming about. In fact, I thin

[Puppet Users] Re: weekend maintennce schedule

2011-10-01 Thread Matt
You could write a custom fact to figure out the maintenance window. If its always at a specific time and day of the week then that should not be that hard to do. On Oct 1, 9:51 am, Kanishka Hettiarachchi wrote: > Thanks. > I was hoping someone may have solved this issue. We intend to run > report

[Puppet Users] puppet dashboard and complex data

2011-10-17 Thread Matt
So I am messing around with puppet dashboard and for the most part for what I am working on it fits the bill for an ENC. The only question I have is I need to pass information about a customer to set up resources and the system can have multiple customers on it. What is the best way to handle compl

[Puppet Users] Re: puppet dashboard and complex data

2011-10-17 Thread Matt
011 at 3:57 PM, Matt wrote: > > So I am messing around with puppet dashboard and for the most part for > > what I am working on it fits the bill for an ENC. The only question I > > have is I need to pass information about a customer to set up > > resources and the system can

[Puppet Users] Re: How-To Question: Installing a "service" that does not come in an RPM ?

2011-10-19 Thread Matt
RPM itself does not mean that there is a service. A service is an init script that is placed in /etc/init.d and the appropriate installation commands used. You could create an init script and then execute chkconfig --add that will add it. You need a header in the init script that is parsed by chk

[Puppet Users] problem with templates

2011-11-04 Thread Matt
I am having an issue with templates that I cant quite figure out why it is having an issue. I am using ruby dsl to read a template from a database and it keeps having problems with anything other than <%= var %> type definitions. I even went as far cutting and pasting from the puppet online docum

[Puppet Users] Re: problem with templates

2011-11-04 Thread Matt
this with erb files stored locally. On Nov 4, 10:47 am, Matt wrote: > I am having an issue with templates that I cant quite figure out why > it is having an issue. > > I am using ruby dsl to read a template from a database and it keeps > having problems with anything other than &l

[Puppet Users] Re: problem with templates

2011-11-04 Thread Matt
it works correctly. On Nov 4, 11:10 am, Matt wrote: > What is interesting to note is if I change the template to > <% scope.to_hash.keys.each do |k| %> <%= k %> <%= "\n" %><% end %> > > The error goes away. > > I probably should have said th

[Puppet Users] Using regex to ensure package version

2011-11-18 Thread Matt
but don't automatically upgrade to anything later than that. e.g. 1.2.3-01, 1.2.3-05 are fine if I find them in the REPObut not 1.2.4 or later. I'm sure there's a way to do this with a regex or something, but I've not been able to find any examples in my searches so fa

Re: [Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-21 Thread Matt
e mount command. Occurs if I use the puppet Mount type, or just call mount via exec/bash script. Seems related to the amount of data on the EBS vols (40GB+) Running in debug provides no extra info - running 0.25.4 Thanks, Matt On 21 April 2010 13:44, Phillip B Oldham wrote: > Thanks for

Re: [Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-21 Thread Matt
try and narrow it down to provide any more info. Matt On 21 April 2010 18:09, Ken wrote: > I didn't seen this myself Matt. I was using 200g EBS volumes. Can you > see the mount command in action while its blocking and try to > replicate manually it with all command line opti

Re: [Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Matt
at using EC2 facters http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Ec2_Patterns then your instance will even know it's own instance id etc. I personally prefer to set-up the instances externally with some other tool, saves having AWS credentials on the EC2 instance. Matt -- You

Re: [Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Matt
om the main server > then? If not, any suggestions for other tools with which I can > automate this part of the process? > > I'd recommend using Ruby with the right aws library. You can then build the node manifest files in your ruby code and deploy to a directory on your puppet m

Re: [Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Matt
nly assume its something else doing it I > guess? > > At that point I'd drop to strace on the stuck puppetd and see what its > doing ... if its a large IO it should be obvious as you will see it > read/write on a particular file descriptor. > > I can reproduce it easily o

Re: [Puppet Users] Could not match '}'

2010-05-13 Thread Matt
Hi, I think your missing a ',' where source => "puppet:///apache/$source", Matt On 13 May 2010 05:44, Amandeep Kansal wrote: > Please help me: > what would be the cause of this error: puppetmasterd 0.24.4 > > > define apache::apache_files($ow

Re: [Puppet Users] Re: Puppetcamp

2010-05-19 Thread Matt
n Hotel (mid way between town's center and > the Camp place) around 6PM. > For me it's ok to arrange for dinner somewhere downtown, we can go to > the place suggested by RIP or wherever... > > Someone else wanna join? Someone is going to stay at Eden Hotel? > > cu soon

[Puppet Users] puppetd output standard output of service

2010-05-24 Thread Matt
ogged this output somewhere too. Matt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.c

Re: [Puppet Users] puppetd output standard output of service

2010-05-26 Thread Matt
; > On Mon, May 24, 2010 at 11:37 AM, Matt wrote: > > Did a quick google but couldn't find anything. > > Anybody know if puppetd captures the stdout of services it manages? I've > > been using it to manage a few services that issue warnings when > restarted. >

[Puppet Users] Re: [foreman-users] New Foreman release - 0.1-5

2010-06-09 Thread Matt
Love the speed increase. A couple of initial thoughts, I should probably raise tickets: 1 - Sort by name as default in Hosts section 2 - bring back the yaml link in the Hosts section for a host Matt On 7 June 2010 09:22, Ohad Levy wrote: > I’m happy to announce a new version of Foreman -

[Puppet Users] Could not retrieve catalog from remote server: certificate verify failed

2010-06-09 Thread Matt
Hi guys, I'm trying to setup my first puppet installation and I'm running into problems. I've got the puppetmaster running on a fresh install of Centos 5.4. The puppet client is also on another Centos 5.4 server. Once I've signed the client certificate on the puppetmaster, the client seems to bre

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-30 Thread Matt
se variables declared in an inherited node be used in a child node without specify the same classes that are in the inherited node. Matt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pup

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-04 Thread Matt
On 2 July 2010 09:50, David Schmitt wrote: > On 6/30/2010 10:57 AM, Matt wrote: >> >> On 29 June 2010 17:22, Luke Kanies  wrote: >>> >>> Hi all, >>> >>> Given the number of threads on variable scoping recently, it's pretty >>> cl

Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-05 Thread Matt
On 5 July 2010 09:15, David Schmitt wrote: > On 7/5/2010 12:04 AM, Matt wrote: >> >> On 2 July 2010 09:50, David Schmitt  wrote: >>> >>> On 6/30/2010 10:57 AM, Matt wrote: >>>> >>>> On 29 June 2010 17:22, Luke Kanies    wrote: >&

[Puppet Users] Using "service" with a specific user

2010-08-30 Thread Matt
Hi ! I would like to use the type "service" to ensure that a service is currently started. Is there a way to specify a user that must run start or stop command ? In the same way that "exec". Regards, Matt -- You received this message because you are subscribed to the Go

[Puppet Users] Re: Question about "refreshonly"

2010-11-08 Thread Matt
Refreshonly will execute when it is either notified or the subscribe resource changes. If there is none of those definition then that Exec will never execute. On Nov 8, 9:49 am, Sean Carolan wrote: > I have inherited some puppet configurations; there is an exec resource > that looks like this: >

[Puppet Users] Re: file_exists function

2010-11-08 Thread Matt
Oops I guess that'll teach me for trying to use a shortcut for posting. On Nov 8, 11:57 am, "Matthew Black" wrote: > I am still new to the ruby language and I figured I'd share my file_exists > function to see if it is the correct approach and to offer it out there for > people who may have the s

[Puppet Users] file_exists function

2010-11-08 Thread Matt
Going to post this again as I posted by accident in another thread.. I am still new to the ruby language and I figured I'd share my file_exists function to see if it is the correct approach and to offer it out there for people who may have the same issue. We build our vhosts based off a template a

[Puppet Users] Re: Autosign Certificate upon rebuild

2011-01-17 Thread Matt
one thing to keep in mind is if the server is the same name previously there will be an issue where you will need to use the puppetca on the master to clean out the old cert. On Jan 14, 3:36 pm, Ohad Levy wrote: > One way would be to enable autosign when you request your kickstart... if > you ks

[Puppet Users] Re: Multiple packages installation in one yum call

2011-01-17 Thread Matt
Unfortunately thats a limitation of RPM which has been worked around with YUM. YUM will do the resolution of dependencies if they are also in one of the repositories configured on the system. On Jan 13, 4:09 pm, donavan wrote: > On Jan 12, 1:45 pm, Stephane wrote: > > > You could do something li

[Puppet Users] Re: Considerations for puppet/cluster to manage 6000 hosts.

2011-01-17 Thread Matt
Not sure what his issue was but in my organization we had one puppet master with mod_passenger and puppet 2.6.3 running fine with 200 clients in a VM. We expanded to a 2 node cluster, with the original puppet master serving as the master for the secondaries. The secondaries have an F5 infront of th

[Puppet Users] problems creating a user

2011-02-01 Thread Matt
I have this problem where I'm trying to create a user and the error message I am getting is: err: Could not run Puppet configuration client: Could not find user admin Here is what I have in the manifest and I am realizing the user at the basenode level and all my nodes inherit the basenode.

[Puppet Users] connecting dashboard to facts/inventory service.....

2011-04-12 Thread Matt
I'm having all sorts of trouble getting our new puppet-dashboard install to connect/get the facts/inventory from the puppet master. These are separate boxes, and I'm getting (testing): root@puppetdash puppet-dashboard]# curl -k -H "Accept: yaml" https://puppet:8140/production/facts/hero0304.rc.fa

[Puppet Users] ruby dsl manifests

2011-06-01 Thread Matt
I've been searching and havent found an answer yet. Is there a scope or variable that I can parse to find out if a resource is defined? I know there is the defined command in puppet manifests. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To p

[Puppet Users] Re: Puppet Camp Oct 1-2 at SFSU

2009-06-10 Thread Matt
tions, and infrastructure environments Ta, Matt 2009/6/10 Andrew Shafer : > > The agenda didn't change. > > This would be in the spirit of a BarCamp or OpenSpaces conference, with some > workshops and presentations. > > I think I can convince Luke to do a workshop.

[Puppet Users] Multiple puppetmasters under one cert

2009-07-06 Thread Matt
I'm using puppet under apache/passenger Thanks, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubsc

[Puppet Users] Re: large file download, timeout?

2009-07-21 Thread Matt
If you're hosting files in S3, i've been having great success with using :- http://reductivelabs.com/trac/puppet/wiki/Recipes/AmazonWebService Basically uses curl to pull an authenticated URL. 2009/7/21 James Turnbull : > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fernando Padilla wr

[Puppet Users] Re: Vexed by puppet.conf

2009-07-21 Thread Matt
I see the same issue when changing the runinterval option. I basically wanted the polling time to change after a successful poll (after ca clean). I see the "reparsing puppet.conf" in the log file, but the daemon continues to poll at the original interval. This is on 0.24.8 on CentOS 5.1, I'm i

[Puppet Users] Re: Change Management Practices.

2009-08-11 Thread Matt
We've started to feel the pain of this so have just got a process running. The main puppet tree lives in svn and consists of the majority of service modules, we're only deploying to CentOS boxes so this makes it relatively easy. We have: * two environments - development, production * three pupp

[Puppet Users] GNI under 1.8.5

2009-08-17 Thread Matt
ve_scaffold' for ArchitecturesController:Class (NoMethodError) Thanks, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com

[Puppet Users] Re: GNI under 1.8.5

2009-08-18 Thread Matt
git 1.5.4.7. Do I need a particular gem for active_scaffold? Thanks, Matt 2009/8/17 Ohad Levy : > Hi Matt, > > Do you have the active scaffold plugin (in the vendor/plugins directory)? > if you don't, you can get it by doing > git submodule update --init > or if you have an ol

[Puppet Users] Re: GNI under 1.8.5

2009-08-18 Thread Matt
Yep it was # git submodule init # git submodule update # git submodule update --init doesn't work with this version of git :-( Cheers, Matt 2009/8/18 Ohad Levy : > Hi, > > Do you have anything in your vendor/plugins/active_scaffold directory? > maybe its first git submod

[Puppet Users] appending to arrays - bug?

2009-08-20 Thread Matt
he variable once inside a class? I'm not worried about the order they get appended. I'm doing this so I can wrap some logic around appending variables to the array. Thanks, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Puppet Users] Check to see if a class is included

2009-08-20 Thread Matt
I looked at the language tutorial but couldn't see it anywhere. Is there a way to check if a class is included i.e. if class["myclass"] { myvar = "hello" } Thanks, Matt --~--~-~--~~~---~--~~ You received this message because you are

[Puppet Users] Re: Check to see if a class is included

2009-08-20 Thread Matt
r? In my case I only want mynode too. If both do, then I guess I need to use tagged as Larry said, but make sure that myclass is first in the include? Thanks, Matt 2009/8/20 James Turnbull : > Matt wrote: >> I looked at the language tutorial but couldn't see it anywhere

[Puppet Users] Re: Check to see if a class is included

2009-08-20 Thread Matt
pet/extlookup.rb) > > if you use external nodes, you could use an external source (e.g. a > database, or web service like GNI) to define your variables on a node level. > > my 0.01 cents > Ohad > > On Thu, Aug 20, 2009 at 9:34 PM, Matt wrote: >> >> I saw that but I thin

[Puppet Users] Re: Check to see if a class is included

2009-08-21 Thread Matt
Peter, What sets: if $use_nagios { include silc::nagios } Thanks, Matt 2009/8/20 Peter Meier : > > Hi > >> I'm trying to set-up a monitoring module that looks at what >> classes(modules) have been included for that node and then deploys the >> requ

[Puppet Users] Re: Check to see if a class is included

2009-08-21 Thread Matt
Looks sensible to me. Thanks Peter i'll give that way a go. 2009/8/21 Peter Meier : > > Hi > >> What sets: >> >> if $use_nagios { >>      include silc::nagios >> } >> > > > well I build my modules, so you can use them also without nagios > (default) so if you'd like to use nagios you set globall

[Puppet Users] array templates best practice

2009-09-04 Thread Matt
Hi, I've got a template that creates a file from an array, which is no problem. I'm stuck on how to expand this so I can add elements to the array from different classes. I basically want to be able to modify the file from different classes, is the augeas tool the best option? i've never used i

[Puppet Users] new require function for 0.25

2009-09-07 Thread Matt
quot;processName"] } # database.pp class database::stats { $mystat1 += ["processName"] } After writing the above i'm guessing it still won't quite work as the deploystats() could still get called before the 'if tagged' statements get seen?! If

[Puppet Users] upgrading from 0.24 to 0.25 from tar.gz

2009-09-08 Thread Matt
Has anyone done an upgrade script to upgrade from 0.24 to 0.25? I usually just run ruby install.rb to install from the tar ball, but notice that quite a bit has changed with the 0.25 release and know that much of the 0.24 stuff will still be hanging around. Thanks, Matt

[Puppet Users] Puppet 0.25 migration

2009-09-08 Thread Matt
are still connecting, but my 0.25 clients are now getting: err: Could not retrieve catalog from remote server: Error 403 on SERVER: Forbidden warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run Do I need to clean all the ssl's of the 0.25 clients?

[Puppet Users] Re: Puppet 0.25 migration

2009-09-08 Thread Matt
s not the DNS for that IP. 2009/9/8 Matt : > I'm currently upgrading our puppetmaster to 0.25, at first just using > the standard webrick install to get the modules working. > Both my new 0.25 clients and existing 0.24 clients had no problem connecting. > > I've now changed the

[Puppet Users] Re: Puppet 0.25 migration

2009-09-08 Thread Matt
I'm going to start a fresh with the puppetmaster install :-) 2009/9/8 Matt : > Noticed I was running passenger 2.2.3 (which did work for 0.24) so I > upgraded to 2.2.5. > > After restarting one of my 0.25 nodes started working, but the other > one still gets: > > warni

[Puppet Users] Re: upgrading from 0.24 to 0.25 from tar.gz

2009-09-09 Thread Matt
Yep I was talking about the puppet binaries not the manifests/recipes/modules 2009/9/9 RNHurt : > > On Sep 8, 9:13 am, Matt wrote: >> Has anyone done an upgrade script to upgrade from 0.24 to 0.25? >> >> I usually just run ruby install.rb to install from the tar ball, bu

[Puppet Users] puppet 0.25 client on xen / EC2

2009-09-09 Thread Matt
usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:216:in `run' from /usr/sbin/puppetd:159 -bash-3.1# /usr/bin/ruby --version ruby 1.8.5 (2006-08-25) [i386-linux] Facter is working fine

[Puppet Users] Re: Puppet 0.25 migration

2009-09-09 Thread Matt
Reverting back to the passenger 2.2.2 gem worked for me. 2009/9/8 Larry Ludwig : > > hmm passenger 2.2.5 is released?  hmm I'll have to test it out. > > -L > > -- > Larry Ludwig > Reductive Labs > > > > > --~--~-~--~~~---~--~~ You received this message because you

[Puppet Users] Re: upgrading from 0.24 to 0.25 from tar.gz

2009-09-09 Thread Matt
tting 0.25 version working on a EC2 instance, i've created a seperate mail for that. Cheers, Matt 2009/9/9 James Turnbull : > > -BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Matt wrote: >> Yep I was talking about the puppet binaries not the manifests/recipes/modules

[Puppet Users] Re: new require function for 0.25

2009-09-10 Thread Matt
a "unable to convert array to string error", but using $mystat1 += 'processName' worked. For me this takes away any variables I need to set at the node level for stat collection, instead I can manage it all in a set of puppet classes. Thanks, Matt 2009/9/10 Luke Kanies : &g

[Puppet Users] Re: Puppet 0.25 migration

2009-09-10 Thread Matt
gt;>>>> >>>>> If I change my allow line to 'allow fakesstringhere', I see this: >>>>> >>>>> info: access[^/catalog/([^/]+)$]: allowing fakestringhere access >>>>> >>>>> When I change it back to 'allow

[Puppet Users] Re: Puppet 0.25 migration

2009-09-15 Thread Matt
I used the example one from 0.25 - changed the hostname for the cert, and the path for the DocumentRoot/Directory. 2009/9/11 philipp Hanselmann : > > Matt schrieb: >> For info - I removed passenger 2.2.5, installed 2.2.2 - rebuilt the >> passenger apache module, then removed al

[Puppet Users] Re: Puppet / EC2 noob question

2009-09-15 Thread Matt
URL for the puppet client rpms and the puppet.conf data in the EC2 userdata. This way we don't need multiple AMIs for different puppetmasters or different versions of the puppet client. Would have loved to talk more about this stuff at puppet camp, shame i'm unlikely to be able to make it. C

[Puppet Users] foreman

2009-09-16 Thread Matt
hanks, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet

[Puppet Users] Re: foreman

2009-09-17 Thread Matt
reman) Environment old:2 current:2 PuppetClasses old:0 current:0 Do I require to have storedconfigs working on the same DB for importing of classes to work? Thanks, Matt 2009/9/16 Moty : > > > You can have both. > > Just declare all of your environment with "environme

[Puppet Users] Re: Announcement: Foreman 0.1-1 is out

2009-09-22 Thread Matt
Hi Ohad, Great news with the upgrade! :-) I'm hitting a problem when trying to run import of facts. It seems to work the first few times, but then I start getting this - # rake puppet:import:hosts_and_facts RAILS_ENV=production --trace (in /var/www/html/foreman) ** Invoke puppet:import:hosts_a

[Puppet Users] foreman under passenger

2009-09-24 Thread Matt
passenger-spawn-server:61 [Thu Sep 24 12:05:23 2009] [notice] caught SIGTERM, shutting down If I go back to using web brick the clients grab the kickstart okay. Thanks, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[Puppet Users] Re: foreman under passenger

2009-09-25 Thread Matt
I'll give that a bash and see if it stops the kickstart clients getting a 500. Thanks, Matt 2009/9/25 Ohad Levy : > Hi Matt, > > Sicne foreman is a rails app, you dont need the config.ru (its only rack > applications which require it). > > if you have passenger enabled

[Puppet Users] external nodes issue

2009-09-28 Thread Matt
and dev boxes is that the production box uses certdnsnames, as it has both external and internal clients - certname=sl02.domain.com certdnsnames=sl02.domain.com:sl02.domain.sl Thanks, Matt --~--~-~--~~~---~--~~ You received this message because you are subscri

[Puppet Users] Re: external nodes issue

2009-09-28 Thread Matt
the default one. notice: Compiled catalog for sl01.domain.sl in 0.14 seconds But the client is still giving - warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run 2009/9/28 Matt : > Hi all, > > I've hit a wall trying to get external nodes

[Puppet Users] Re: external nodes issue

2009-09-28 Thread Matt
à 10:52 +0100, Matt a écrit : >> Update:- >> >> I added a default node to a manifest file, just - >> >> node default { >>     include env >> } >> >> This appears to have made the puppetmasterd kick in to action and >> compile the catalog fro

[Puppet Users] quick split function question

2009-10-08 Thread Matt
With 0.25 we can use the split function to parse a string in to an array. In puppet how can I reference a single element of that array? $temp = "1,2,3,4" Then i'd lilke to do : $val = split($temp,',')[0] Thanks, Matt --~--~-~--~~~---~-

[Puppet Users] Re: Puppet 0.25 Client won't start "Retrieved certificate does not match private key"

2009-10-14 Thread Matt
FWIW - I currently see this error on around 30% of our EC2 nodes since moving to 0.25. We also use the rpm's provided for both client and master. The fix is for us to log on to the EC2 node, remove the cert, run a puppetca --clean on the master for the hostname, and then start puppet again on th

[Puppet Users] Re: Puppet 0.25 Client won't start "Retrieved certificate does not match private key"

2009-10-14 Thread Matt
2009/10/14 James Turnbull : > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Matt wrote: >> FWIW - >> >> I currently see this error on around 30% of our EC2 nodes since moving >> to 0.25.  We also use the rpm's provided for both client and maste

[Puppet Users] Re: Passenger Woes

2009-10-20 Thread Matt
Stephen FWIW, I has issues getting it to work with passenger 2.2.5 and settled on version 2.2.2 installed using the gem install passenger -version 2.2.2 Thanks, Matt 2009/10/19 Stephen Nelson-Smith : > > Hello, > > I really didn't expect this to be difficult, but I've

[Puppet Users] Re: Passenger 2.2.5

2009-10-20 Thread Matt
Have you tried with passenger 2.2.2? 2009/10/20 nothings_absolute : > > 1st off sorry this is so long... I didn't see any way to attach files > when creating the discussion. > > I am trying to get my puppetmaster (0.25.0) working with passenger > (2.2.5) on Solaris (It works fine using webrick).

[Puppet Users] Re: Passenger Woes

2009-10-20 Thread Matt
I'd really bite the bullet Stephen and give passenger 2.2.2 a try. 2009/10/20 Stephen Nelson-Smith : > > Hi, > > On Tue, Oct 20, 2009 at 9:25 AM, Matt wrote: >> >> Stephen FWIW, I has issues getting it to work with passenger 2.2.5 and >> settled on version 2.

[Puppet Users] Re: puppet failover

2009-11-01 Thread Matt
With active / passive i'd probably look at using drbd to sync the /var/lib/puppet dir and HA to manage the failover of drbd and the VIP. 2009/10/29 Rene : > > Hi > > Today I tried to configure puppet for failover. I would like to have > two puppet masters, one active and the other not active. The

[Puppet Users] 0.25.1 require function not working properly?

2009-11-02 Thread Matt
But I get : err: Could not apply complete catalog: Found dependency cycles in the following relationships: File[/etc/nginx/nginx.conf] => Service[nginx], Service[nginx] => File[/etc/nginx/nginx.conf]; try using the '--graph' option and open the '.dot' files in OmniGraffle or Graph

[Puppet Users] Re: 0.25.1 require function not working properly?

2009-11-02 Thread Matt
Apologies, I didn't notice the wiki had been updated. I'd expect that behaviour if using a before, but really think a notify shouldn't cause such a dependency, as i'm only asking for a restart/reload. That's just my two pence worth. I'll go back to using inclu

  1   2   3   4   5   6   >