[Puppet Users] Private key troubles after a new install and a reboot

2012-02-29 Thread Tom
that's what it's doing) and everything works fine. But I cannot figure out why that is required. What is going wrong? Shouldn't it be able to come up and work without jumping through these extra hoops? Tom -- You received this message because you are subscribed to

Re: [Puppet Users] Private key troubles after a new install and a reboot

2012-02-29 Thread Tom
Yes indeed, that was it! Things were getting switched around from /var/lib/puppet/ssl to /etc/puppet/ssl. Thanks for the help! Tom On Wednesday, February 29, 2012 1:21:31 PM UTC-8, Russell VT wrote: > > Any chance you've hit one of those conditions where package defaults p

[Puppet Users] Stored config error "Could not autoload active_record: uninitialized constant ActiveRecord"

2011-11-14 Thread Tom
hink it might be related to a library path...I am fairly new to Puppet so not sure how to get around this issue. Any help kindly appreciated. Thanks Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

[Puppet Users] manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-27 Thread Tom
diting /etc/ sysconfig/puppetmaster and setting PUPPETMASTER_EXTRA_OPTS to "-- manage_internal_file_permissions false", but that's not working. So I also tried setting it to "--no-manage_internal_file_permissions", but that's not working either. What the heck am I doin

[Puppet Users] Re: manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-28 Thread Tom
wrote: > Try using a bind mount instead of symlink > > Sent from my iPhone > > On Jul 27, 2010, at 6:48 PM, Tom wrote: > > > > > Okay, maybe I'm being dense...but I'm missing something here. > > > First off, using puppet 2.6 on centos 5.5. >

[Puppet Users] Re: manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-28 Thread Tom
rk either, does it? You can't use this from the command line, can you? On Jul 28, 1:59 pm, Jeff McCune wrote: > On Wed, Jul 28, 2010 at 12:45 PM, Tom wrote: > > This is actually what I've done, temporarily, so I can move forward > > with implementing puppet &

[Puppet Users] Re: manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-29 Thread Tom
l 29 17:57 /var/lib/puppet On Jul 29, 3:26 am, Alan Barrett wrote: > On Wed, 28 Jul 2010, Tom wrote: > > "Note that you can set =??manage_internal_file_permissions=?? to false to > > disable this behaviour." > > > So that's what I was trying to do - use > &

Re: [Puppet Users] Re: Master-less : What do I lose?

2011-02-14 Thread tom
m executables. This was inspired by some work a guy did at Oxford University. It seems to scal very well as I am managing 180+ servers this way. Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to thi

[Puppet Users] Service Resources and Selinux

2012-10-09 Thread Tom
ng their heads! :) I was going to make the file_context stuff much more re-usable, but want to get my head around the best practices first - as I'm not that experiened with all of this stuff to be honest! Many thanks. Tom. # List of directories we're going to use with MySQL $mys

Re: [Puppet Users] Service Resources and Selinux

2012-10-09 Thread Tom
he correct user context! Just wondering if anyone else has had the same issue in the past, or do they just ignore all those seluser notifications? :-) Many thanks. Tom. On 10/10/12 01:50, Peter Brown wrote: You need to add a require to the service for the config files you are managing. I find

Re: [Puppet Users] Service Resources and Selinux

2012-10-10 Thread Tom
Package["mysql-server"], File[$mysqldirs], ], } so, it starts under the correct selinux user context, and then using restart on the init script is disabled so that it makes use of the start command when doing a restart. Not sure if this would be something that would make a good reso

Re: [Puppet Users] Re: Service Resources and Selinux

2012-10-10 Thread Tom
On 10/10/12 16:09, jcbollinger wrote: On Tuesday, October 9, 2012 10:02:26 AM UTC-5, Tom B. wrote: Hi list, I've got an issue at the moment, which isn't really a big problem, but an untidy annoyance really, and I'd just like to understand what the best pr

Re: [Puppet Users] Exec resource and environment parameter

2012-10-10 Thread Tom
x27;HI' exec { 'test': path=> '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', environment => ["HOME=test", "HOME2=test2"], command => "echo $HOME > /tmp/key", user=> 'ro

[Puppet Users] puppet webserver

2009-01-26 Thread tom
hello, im working on a project that as some very low system resources. Does Puppet typically run its own webserver despite the resistance of other web servers on the device? Can Puppet use any CGI webserver? I need to have .htaccess thank you, tom

[Puppet Users] Emergency Certificate Revocation Procedure

2014-04-08 Thread Tom
nt SSL certificates? I think it'd be great in my organisation to have a bullet proof procedure for the future, as well as getting around this currently problem. Thanks for any assistance. Tom. -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Emergency Certificate Revocation Procedure

2014-04-09 Thread Tom
Hi Matthew, Use your imagination. Puppet is not directly accessible to the internet, but there are puppet clients which are. Shared web servers, mail servers etc. I'm paid to be paranoid.. Thanks. Tom. On 08/04/14 20:43, Matthew Burgess wrote: On 8 Apr 2014 09:29, "Tom

Re: [Puppet Users] Emergency Certificate Revocation Procedure

2014-04-09 Thread Tom
Thank you Nan, It looks like Puppet Labs have recognised the importance of this, and I guess this thread should defer to the guidance that Eric Sorenson just posted to the list! Thank you for your help! Tom. On 08/04/14 15:01, Nan Liu wrote: On Tue, Apr 8, 2014 at 12:57 AM, Tom <mailt

[Puppet Users] Accessing facts in ENC

2015-09-08 Thread Tom
Using the following as a reference. https://docs.puppetlabs.com/guides/external_nodes.html#tricks-notes-and-further-reading I've been attempting to use facts of a node to contribute to the lookup of the host in the ENC. In my ENC I've tried both shelling out and running `puppet facts find exampl

[Puppet Users] Writing a resource type provider in Python

2012-01-26 Thread Tom Limoncelli
oviders in python] or [writing puppet resources in python] mostly turn up links about using Puppet to manage Python and Python packages. Tom -- http://EverythingSysadmin.com  -- my blog http://www.TomOnTime.com -- my videos -- You received this message because you are subscribed to the Goo

[Puppet Users] allow_duplicate_certs issue

2012-03-01 Thread Tom Stockton
ill automatically regenerate a certficate. On the master: puppet cert clean On the agent: rm -f /var/lib/puppet/ssl/certs/ puppet agent -t Thanks in advance. Regards Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post t

[Puppet Users] Dependency cycle woes

2012-03-23 Thread Tom Barber
apply complete catalog: Found 1 dependency cycle: (Tomcat::Instance[saiku] => Saiku::Tomcat[saiku] => Saiku::Instance[saiku] => Package[saiku] => Service[tomcat-saiku] => Tomcat::Instance[saiku]) Cycle graph written to /var/lib/puppet/state/graphs/cycles.dot. Can someone please explain

Re: [Puppet Users] Re: Dependency cycle woes

2012-03-26 Thread Tom Barber
On 26/03/2012 14:57, jcbollinger wrote: On Mar 23, 12:11 pm, Tom Barber wrote: Hi guys I've asked around on the IRC on the channel to no avail, partly cause of difficulty collating all the information required, so hopefully I can do a better job here. At a very high level the crux

Re: [Puppet Users] Getting started

2012-04-05 Thread Tom Barber
I have to say I find the online documentation very helpful indeed... along with github once you get working with the module. On Thu, Apr 5, 2012 at 10:26 PM, Eric Shamow wrote: > Jo, > > Very good advice - Rodrick, I'd try the Learning Puppet VM to start and > get used to the tool first. Ther

[Puppet Users] facter --yaml leaves some fields blank

2012-06-14 Thread Tom Limoncelli
p '^ (fqdn|macaddress_eth0|lsbdistcodename|macaddress):' lsbdistcodename: squeeze macaddress_eth0: 00:12:a6:07:13:92 macaddress: "00:00:00:00:00:00" fqdn: my.host.name.example.com Is this a bug or a feature? Is there a workaround? Thanks in advance, Tom P.S.

[Puppet Users] Puppet Loads My Class File But Says It Can't Find My Class

2011-11-02 Thread Tom Purl
doing wrong? Also, here's some things I have tried: * The original name of the camptocamp postfix module was puppet- postfix and I was having the same problem. I changed the name of the folder to "postfix" to match the name of the class, but as you can see that didn't help.

[Puppet Users] Rounding in variable expressions

2011-11-15 Thread Tom Hall
Hi, Can you round in variable assignment expressions? I would like to be able to set $my_var = floor(::processorcount * 0.8) Cheers, Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pu

Re: [Puppet Users] Rounding in variable expressions

2011-11-16 Thread Tom Hall
> Alternatively the cheap and hacky approach: > $foo = inline_template("<%= (processorcount.to_i * 0.8).floor -%>") That looks direct and sexy to me. -- 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

[Puppet Users] Gem provider can tell properly if correct version is installed.

2011-11-16 Thread Tom Hall
swin32-60" debug: Package[nokogiri](provider=gem): Executing '/usr/local/bin/gem install --include-dependencies --no-rdoc --no-ri nokogiri' Seems as if installed != latest marks it as to be installed but latest includes which VM it works with Cheers, Tom -- You received this message

Re: [Puppet Users] Join AD using Likewise

2010-05-14 Thread Tom Ellis
> file[likewise-preseed] Hi, Thanks for this manifest, I'm going to use this. One quick question, What did you have in your likewise.preseed file as debconf-show is telling me there are no preseedable options for it? Thanks. Regards, Tom -BEGIN PGP SIGNATURE- Version: GnuPG v1.

[Puppet Users] Re: Seemingly simple question - current status?

2010-06-28 Thread Tom Vachon
email, syslog, and YAML (aka storage). A script could easily parse the YAML and do what you want, but since it is changing radically (for the better) in 2.6.0 I would avoid any heavy coding. - Tom On Jun 28, 9:38 am, dbs wrote: > I have a 3 different puppetmasters running different groups

Re: [Puppet Users] Re: quoting special characters in puppet.conf

2010-08-25 Thread Tom Duckering
I believe the escape character is simply \ I use it to escape quotes - \" On 25 Aug 2010, at 12:35, Amos Shapira wrote: > Patrick, > > I see only a quote of my question in your reply. > > Do you have an answer? > > Thanks. > > --Amos > > > On Aug 25, 6:28 pm, Patrick wrote: >> On Aug 24,

[Puppet Users] Using Puppet to Configure Other Services on the PuppetMaster Server

2010-10-04 Thread Tom Duckering
Hi, I just wanted to check a few things. I have a build server which is used to run the CI server. It also doubles up as my puppetmaster. Would it be possible to have a puppet client talk to a puppetmaster on the same machine? Cheers, Tom -- You received this message because you are

[Puppet Users] template file changed, but no notify being sent

2011-03-08 Thread Tom Boland
me way as static files because in a way the content is non-deterministic? My question is, how could I achieve what I want, which is to edit this file, and have it updated on the clients, and the spamassassin service notified. Many thanks. Tom. -- You received this message because

Re: [Puppet Users] template file changed, but no notify being sent

2011-03-09 Thread Tom Boland
pointing at the development tree, although I've been editing the production version of the template! Fixed now, I've got a relative path that will work wherever the template is! Thanks for the help. Tom. On 03/08/2011 09:26 PM, Nan Liu wrote: On Tue, Mar 8, 2011 at 12:30 P

[Puppet Users] trouble with puppetlabs-mysql module; ignores db and user creation

2012-07-31 Thread tom s
ssue?, I've not gone down the custom resources route myself yet, so I'm not sure how I go about working out where the problem is. Cheers, Tom. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the

Re: [Puppet Users] trouble with puppetlabs-mysql module; ignores db and user creation

2012-07-31 Thread tom s
esource is really included on that node. If it is, there should be a > hint on what is happening.. > > On Tue, Jul 31, 2012 at 9:19 PM, tom s <> wrote: > > There's been at least one other report of something like this, but that > was > > a little while ago and c

Re: [Puppet Users] trouble with puppetlabs-mysql module; ignores db and user creation

2012-08-02 Thread tom s
Ok, so it turns out this module has a dependancy on pluginsync being on. On Tuesday, 31 July 2012 15:26:49 UTC+1, tom s wrote: > > hmmm, it shows up, but doesn't seem to do anything about it: > > debug: > /Stage[main]//Node[puppetclient.tomtest.com]/Mysql::Db[testdb]/D

[Puppet Users] apparent unwanted conversion of arrays to strings with parameterized class

2012-08-24 Thread tom s
estclient' { class { "testmodule": array1 => ['aaa','bbb'], } } # cat /tmp/testmodule array1 val: aaa array1 val: bbb Its not unreasonable to try and pass an array as a variable is it? Cheers, Tom. -- You received this message because y

Re: [Puppet Users] Puppet 2.7, hiera 1.0 and hiera as an ENC

2012-09-26 Thread Tom Linkin
originally. I'd be happy to help you understand how to work his ENC, in case he has not been very available. Would you mind trying to explain what you're trying to achieve in more detail, I'd be happy to help! Thanks, -Tom Linkin -- You received this message because you are

[Puppet Users] Change Tab behavior in 3.0+

2012-10-15 Thread Tom Swartz
Hey all, I have a question regarding the choice to move to spaces (rather than tabs) in the editor. May I ask the reasoning behind this? Furthermore, is there a way to revert to the 'old style' that used tabs instead? I prefer this, as it makes the code look cleaner. -- You received this mes

[Puppet Users] Re: Change Tab behavior in 3.0+

2012-10-15 Thread Tom Swartz
I should say that this referrs to Geppetto and the Geppetto Eclipse plugin. Sorry. If this is the wrong group to post, could someone point me to the proper section? On Monday, October 15, 2012 11:57:38 AM UTC-4, Tom Swartz wrote: > > Hey all, > > I have a question regarding the ch

[Puppet Users] Proposed change to the broker RESTful API and CLI to handle parameters needed in additional broker plugins

2012-11-20 Thread Tom McSweeney
with the impact those changes might have on the existing Puppet broker plugin. Cheers, Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/ogl

[Puppet Users] Re: libselinux ruby bindings

2009-01-23 Thread Tom Payne
tware is at: http://github.com/twpayne/libselinux-ruby-puppet and it includes a spec file so you can build an RPM. I've tested them lightly on CentOS 5.2 and they seem to work. Regards, -- Tom --~--~-~--~~~---~--~~ You received this message because you are subscri

[Puppet Users] error creating directory's

2009-02-17 Thread Tom Brown
Hi The below is from a colleague who is trying to get puppet to create some config dir's and then within those dir's put some files. He expereinces issues where sometimes this works but mostly it does not. Is this the correct way to be trying to achieve this? thanks file {

[Puppet Users] Re: error creating directory's

2009-02-17 Thread Tom Brown
> I don't see anything obviously responsible for creating /var/app/$serviceName > there. Assuming that the package installation creates it, you need to use > before/requires statements to tell puppet to always install the package > before > attempting to create the various config files in lo

[Puppet Users] Re: error creating directory's

2009-02-17 Thread Tom Brown
> > Yep - the requires/before statements I already mentioned. Read through the > language tutorial page on the puppet website, it's got complete docs on what > you're looking for. > thanks i will pass this on --~--~-~--~~~---~--~~ You received this message be

[Puppet Users] Re: Experiences with RHN Satellite?

2009-03-10 Thread Tom Brown
> Did a POC of it at my current company. I've also had the RedHat > Enterprise Deployment and Virtualization class. > > This product was originally envisioned began development before RedHat > even had an IPO. The reason I mention this is that the mindset around > systems management at that tim

[Puppet Users] Puppet and Windows

2009-03-17 Thread Tom Brown
I see this is in the FAQ's but i wonder if the answer is still the same - Is it still true that puppet will not work on a windows machine? If this is true has there been any talk of this work happening at all? thanks --~--~-~--~~~---~--~~ You received this messa

[Puppet Users] files being truncated

2009-03-24 Thread Tom Brown
Hi I have some manifests that pretty much just send config files to a host when a 'service puppet once' gets run on that client. i have noticed that sometimes the files seem to get truncated so that some of it is missing. Has anyone ever seen this or know why it might occur?? thanks --~--

[Puppet Users] Re: files being truncated

2009-03-25 Thread Tom Brown
> > We saw some corrupt files in the 0.24.1 or so timeframe, but I've > never seen truncated files. > > Can you provide info on the Puppet release, platform, etc.? > > $ rpm -qa | grep puppet puppet-0.24.7-4.el4 puppet-server-0.24.7-4.el4 clients are # rpm -qa | grep puppet puppet-0.24.7-

[Puppet Users] Re: files being truncated

2009-03-30 Thread Tom Brown
> $ rpm -qa | grep puppet > puppet-0.24.7-4.el4 > puppet-server-0.24.7-4.el4 > > clients are > > # rpm -qa | grep puppet > puppet-0.24.7-4.el5 > > thanks > > OK the problem seems to be around this SOME_URL = {\ 'URL1' : 'http://url-1.com',\ 'URL2' : 'http://url-2.com/',

[Puppet Users] Re: files being truncated

2009-03-30 Thread Tom Brown
> Just out of curiosity, what happens when you '\' escape your curly braces? > > same issue - random truncates although this was highlighted to me http://projects.reductivelabs.com/issues/889 and so although i had the latest ruby for rhel4 i rebuilt the latest src.rpm and got that installe

[Puppet Users] "Could not render to pson"

2012-12-06 Thread Tom Owens
ile, which is a problem. Does anybody have any ideas on how to fix this? Or at least a better idea how to diagnose why it's failing? I do not have this issue with text files. hpsw.so is a shared library in Linux. Thanks, Tom -- You received this message because you are subscribed to the Go

Re: [Puppet Users] Question on modeling multiple services sharing configuration

2012-12-16 Thread Tom Linkin
meaningful names, and document if it still is not very clear. -- Tom Linkin Professional Services Engineer http://puppetlabs.com/ twitter: @trlinkin On Sunday, December 16, 2012 at 9:41 AM, Jason Slagle wrote: > > > On 12/16/2012 01:09 AM, Roman Shaposhnik wrote: > > Hi! &

Re: [Puppet Users] Reporting for masterless Puppet?

2012-12-20 Thread Tom Linkin
If you use the 'reports' setting in the [main] section of your puppet.conf, your puppet apply report will be run through the report processors you specify. -- Tom Linkin Professional Services Engineer http://puppetlabs.com/ twitter: @trlinkin On Thursday, December 20, 2012

[Puppet Users] Module to add another puppetmaster?

2012-12-27 Thread Tom Fox
I'm working on getting my system setup for rapid scaling. Without resorting to some ugly hacks what is the preferred method of adding more puppetmasters? My puppetmasters sit behind a load balancer vip so the certificate needs to be updated when I add a puppetmaster. Does anyone have a module writ

Re: [Puppet Users] Module to add another puppetmaster?

2012-12-27 Thread Tom Fox
F5 module from puppetlabs. If you are using Apache then you would follow the same principle with the SSL terminated at the Apache load balancer. If you use mod_passenger you are already terminating SSL at the Apache layer so its not too different at that point. On Thu, Dec 27, 2012 at 2:08 PM, Tom

[Puppet Users] upgraded to puppet 1.2.22 from 1.2.21 and get error

2013-02-22 Thread Tom Blich
[ pid=1870 thr=69908823898540 file=utils.rb:176 time=2013-02-22 16:39:47.170 ]: *** Exception RuntimeError in PhusionPassenger::Rack::ApplicationSpawner (can't activate rack (~> 1.1.0, runtime) for [], already activated rack-1.5.2 for []) (process 1870, thread #): from ./config/../vendor/ra

[Puppet Users] Re: upgraded to puppet 1.2.22 from 1.2.21 and get error

2013-02-22 Thread Tom Blich
I can get this working via running via WEBrick, but get the error when running it via passenger in apache. Not sure yet how to get this working via apache so I can SSL and LDAP authenticate it. On Friday, February 22, 2013 2:46:57 PM UTC-8, Tom Blich wrote: > > > > [

[Puppet Users] puppet-dashboard-1.2.22 - unable to get it running under Apache/Passenger

2013-02-22 Thread Tom Blich
on_Passenger/3.0.19 PHP/5.3.20 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations Not sure how to fix it. Thanks, Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop re

Re: [Puppet Users] puppet-dashboard-1.2.22 - unable to get it running under Apache/Passenger

2013-02-26 Thread Tom Blich
Do you know where I might be able to change where it's looking for the specific rack version for 1.1.0? Thanks, Tom On Friday, February 22, 2013 5:29:59 PM UTC-8, Matt wrote: > > It looks like its trying to use a specific rack gem version but you do > not have that version in

Re: [Puppet Users] puppet-dashboard-1.2.22 - unable to get it running under Apache/Passenger

2013-02-26 Thread Tom Blich
ashboard are the only Rack applications on this machine. I'd test this > in a maintenance window just in case. > > Ramin > > On 2/26/2013 9:39 AM, Tom Blich wrote: > > Do you know where I might be able to change where it's looking for the > > specific rack

[Puppet Users] Advice on module organization

2013-03-15 Thread Tom Melendez
ion, as the configurations (systemTypes). Some like this would work (I think) if calling the class could be dynamic: http://docs.puppetlabs.com/guides/parameterized_classes.html#appendix-smart-parameter-defaults Thanks in advance for the feedback, Tom -- You received this message because

[Puppet Users] MCollective deployment pattern

2013-05-13 Thread Tom Poulton
Hi all I have a scenario in mind for MCollective and I was looking for some feedback The basic idea is this: 1) A code push to Git triggers a Jenkins build 2) A successful build triggers automatic deployment to an automated functional test environment 3) Functional tests run automatically and t

Re: [Puppet Users] MCollective deployment pattern

2013-05-13 Thread Tom Poulton
Thanks for the quick reply The -W environment=foo tip is very useful and definitely solves one problem. I appreciate that the synchronous part could get pretty nasty, rather you than me :) In the meantime have you got any tips on the best (most reliable) way to check up on triggered runs, you m

Re: [Puppet Users] MCollective deployment pattern

2013-05-14 Thread Tom Poulton
I'll have a play around in the next few days when I get a chance and report back I'm thinking a little foreground agent is probably the way to go for now as a "quick fix", and then I'll work on something cleaner once we start phase 2 in a couple of months Thanks for the pointers, much apprecia

[Puppet Users] Workaround for Puppet 3 not working in Fedora 18

2013-05-16 Thread Tom Poulton
I'm using Fedora 18 KDE in VirtualBox, fresh install this morning with full updates using yum. I installed puppet by adding the puppet labs yum repo and then "sudo yum install puppet", so now I'm running puppet version 3.1.1 Running "puppet --version" or "sudo puppet agent --test" gave me the

Re: [Puppet Users] Workaround for Puppet 3 not working in Fedora 18

2013-05-17 Thread Tom Poulton
I setup the Puppet Labs yum repo via "sudo rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-6.noarch.rpm " So far between me and a colleague we've tried: F18 GNOME: Seemed fine I think (but GNOME 3 didn't play nice with VirtualBox, very very slow) F18 KDE: Initially runn

Re: [Puppet Users] Workaround for Puppet 3 not working in Fedora 18

2013-05-17 Thread Tom Poulton
Hahaha, I didn't even think about that, I just copied the script blindly from out EC2 setup, that'll teach me I'll test it out on Monday morning and update If that is the answer: thanks in advance Tom -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Workaround for Puppet 3 not working in Fedora 18

2013-05-20 Thread Tom Poulton
Yep that worked, I had to enable the puppetlabs-devel repo in /etc/yum.repos.d/puppetlabs.repo (instead of "yum --enablerepo=puppetlabs-devel") but it works fine now, lesson learned :) Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To u

Re: [Puppet Users] Workaround for Puppet 3 not working in Fedora 18

2013-05-20 Thread Tom Poulton
Wait... spoke too soon: *Error: Could not start Service[puppet]: Execution of '/sbin/service puppet start' returned 6: * *Error: /Stage[main]/Puppet/Service[puppet]/ensure: change from stopped to running failed: Could not start Service[puppet]: Execution of '/sbin/service puppet start' returned 6:

Re: [Puppet Users] Workaround for Puppet 3 not working in Fedora 18

2013-05-21 Thread Tom Poulton
So I get the move to systemd (whatever that is) if that's what Fedora uses, but why rename the "service", that means I have to add a special case in my puppet module just for Fedora to set the name of the service resource to "puppetagent"? Unless it's a change they're going to roll out to all their

[Puppet Users] defined() implicitly requiring resource reference

2013-06-03 Thread Tom Lanyon
e[package-434] > => Exec[app-graceful-restart] => Class[App] => Stage[main] Is this implicit dependency expected behaviour or am I doing something Bad(tm)? Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

Re: [Puppet Users] defined() implicitly requiring resource reference

2013-06-04 Thread Tom Lanyon
Hi John, Thanks for the reply. On 05/06/2013, at 12:33 AM, jcbollinger wrote: > On Tuesday, June 4, 2013 1:22:08 AM UTC-5, Tom Lanyon wrote: > I'm testing a 'cleanup' stage which runs after Stage[main] and removes a > bunch of package resources. > > To do t

Re: [Puppet Users] defined() implicitly requiring resource reference

2013-06-12 Thread Tom Lanyon
o something like this however - forgive my naivety - I still can't see how this could be a complete solution without something like defined(). As an example... your above snippet works fine to ensure already installed packages remain installed, but what if we wanted to install a brand ne

Re: [Puppet Users] defined() implicitly requiring resource reference

2013-06-14 Thread Tom Lanyon
Hi John On 14/06/2013, at 12:06 AM, jcbollinger wrote: >> >> On Wednesday, June 12, 2013 9:15:22 AM UTC-5, Tom Lanyon wrote: >> On 05/06/2013, at 11:51 PM, jcbollinger [...] wrote: >> > I don't much like that general approach in the first place on account

[Puppet Users] Puppet3 key exchange on RHEL6

2013-07-30 Thread Tom Hanstra
RHEL6 servers? I had no trouble with puppet 2.6 but am running into other problems there with older versions of puppet, so I wanted to get puppet3 running. But I seem to have hit a wall. Thanks, Tom Hanstra hans...@nd.edu -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Puppet3 key exchange on RHEL6

2013-07-30 Thread Tom Hanstra
This can all safely be ignored. A reboot of both the master and agent servers was able to clear things up. I'm not sure if the times were slightly off or something else, but rebooting took care of things. Tom On Tuesday, July 30, 2013 4:00:27 PM UTC-4, Tom Hanstra wrote: > > I&#

[Puppet Users] file_line assistance

2013-07-30 Thread Tom Hanstra
/etc/puppet 674$ cat /tmp/testfile puptest1.library.nd.edu|root no_ora /etc/puppet 675$ What am I doing wrong? What might be missing? Thanks, Tom hans...@nd.edu -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscrib

[Puppet Users] Re: file_line assistance

2013-07-31 Thread Tom Hanstra
s not accept registry part: lib_puppet2.library.nd.edu (or bad hostname?) I've been searching the web, but have not found the combination to get past this. Documentation only suggests enabling pluginsync on both master and agent, which is not enough. What else am I missing? Thanks, Tom

[Puppet Users] Re: file_line assistance

2013-07-31 Thread Tom Hanstra
Well, the hostname was the problem. That never tripped me up before, but I'll keep it in mind for future reference! Thanks, Tom On Tuesday, July 30, 2013 5:24:41 PM UTC-4, Tom Hanstra wrote: > > I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from > puppetlabs.

[Puppet Users] Re: User Resource Type | non-unique UID

2013-08-16 Thread tom . russell
3 years on, it did indeed :) Thanks! On Wednesday, 6 October 2010 16:59:14 UTC+1, CraftyTech wrote: > > I answered my own question from the documentation.. > allowdupe => true > > Hope it helps someone else looking for a similar answer. > > On Oct 6, 11:29 am, CraftyTech wrote: > > Hello

Re: [Puppet Users] MCollective deployment pattern

2013-08-21 Thread Tom Poulton
Well I've been using an initial solution for the past month or two which seems to be working ok. I have a custom puppet function that reads the version of the artifact being deployed and I add that to the mcollective facts.yaml file at the same time that the artifact is deployed. I've also got

[Puppet Users] hiera oddities

2013-09-27 Thread Tom Hanstra
the hiera data file? I'm using hiera 1.2.1 and puppet 3.2.4 on RHEL 6. Thanks, Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-

[Puppet Users] Re: hiera oddities

2013-09-30 Thread Tom Hanstra
Spot on! Thanks for pointing this out. Tom On Friday, September 27, 2013 1:35:42 PM UTC-4, Ellison Marks wrote: > > Prefix doesn't return a string, it returns an array. I think this gets > stringified in the error message, but it screws up the lookup. Try > hiera($role_

Re: [Puppet Users] hiera oddities

2013-09-30 Thread Tom Hanstra
Pete: Thanks for pointing this out as well. It explains some things that were confusing me about how I was using hiera. I appreciate the information. Tom On Saturday, September 28, 2013 7:16:00 AM UTC-4, Peter Meier wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1

[Puppet Users] Including files in a template

2013-10-01 Thread Tom Noonan
ny paths passed in that I could use. Thanks in advance. --Tom Noonan II -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@google

Re: [Puppet Users] Re: Including files in a template

2013-10-01 Thread Tom Noonan
> <% require File.dirname(__FILE__) + "/foo.rb" %> This suits my needs perfectly. Thanks! On Tue, 1 Oct 2013 06:32:15 -0700 (PDT) jcbollinger wrote: > > > On Tuesday, October 1, 2013 7:02:00 AM UTC-5, Sneha More wrote: > > > > Hi, > >You can use here the concept of partial template. > > T

[Puppet Users] Upgraded to Puppet 3.3.1 and custom facts broke

2013-10-21 Thread Tom Limoncelli
anged. Did their interpretation change? "puppet agent -t -d -v" doesn't show anything unusual (except the missing lines about syncing) Where should I start looking to debug this? Thanks, Tom P.S. I'm using CentOS6.4. -- Email: t...@whatexit.orgWork: tlimonce..

[Puppet Users] Re: Upgraded to Puppet 3.3.1 and custom facts broke

2013-10-22 Thread Tom Limoncelli
I found the issue. It turns out to be related to the use of Rack on the Puppet Master. I'll document the issue so the mailing list archive can help others. Tom On Tue, Oct 22, 2013 at 12:20 AM, Tom Limoncelli wrote: > I upgraded to puppet 3.3.1 and my clients can no longer acces

[Puppet Users] Re: Upgraded to Puppet 3.3.1 and custom facts broke

2013-10-22 Thread Tom Limoncelli
the next client run. The other symptom is that if you turn off Rack and run puppet master directly things start to work (of course, without all the benefits of Rack). Updating the file as specified in the URL above and restarting Rack fixes the problem. Tom On Tue, Oct 22, 2013 at 12:20 AM, T

[Puppet Users] package conflict resolution method:

2013-11-01 Thread Tom Noonan
her module just to do a class dependency for PyYAML, but if that is best practice so be it. Please let me know if I'm overlooking any other solutions. Thanks! --Tom N. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To uns

Re: [Puppet Users] package conflict resolution method:

2013-11-01 Thread Tom Noonan
That looks like a good solution, thanks! On Fri, 1 Nov 2013 14:11:44 -0700 Ryan Coleman wrote: > On Fri, Nov 1, 2013 at 2:03 PM, Tom Noonan wrote: > > > Can the list please advise on what best practice is in this > > case? > > > > Hi Tom, > > T

Re: [Puppet Users] Re: Security of facts (aka: who can see my facts?)

2013-11-04 Thread Tom Noonan
But that doesn't address the concern that you can't auto generate values and store them in Heira, as Arnaud mentioned. Is our understanding on this flawed? I see a Puppet source on http://docs.puppetlabs.com/hiera/1/data_sources.html#puppet, but that just says "Coming soon." My solution thus far

Re: [Puppet Users] Simplest manner to print a node's catalog

2013-11-11 Thread Tom Noonan
Nice, I didn't think to check the master arguments. Gracias! On Mon, 11 Nov 2013 19:21:43 -0600 Joe Esposito wrote: > Hey Tom, > > This works on puppet 2.6.3 (on Ubuntu 10.04) > > #puppet master --compile nodename > > Joe Esposito > > > On Mon, Nov 11

[Puppet Users] puppet agent gives error undefined method `empty?' for nil:NilClass

2014-02-25 Thread Tom Hanstra
estions on what might allow me to find the conflict. Thanks, Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com

[Puppet Users] SSL Certificate errors - Migrating from build in webserver to Apache and Passenger

2014-03-22 Thread Tom Hallam
ng in the apache SSL or Passenger configuration but I have no idea what. I've tried various permutations of servername and serveralias without success. Changing the server name in the agent configuration so it users the real name instead of the CNAME also does not fix the issue. Any sugge

[Puppet Users] Re: SSL Certificate errors - Migrating from build in webserver to Apache and Passenger

2014-03-22 Thread Tom Hallam
that match WebBricks certificates. Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on

Re: [Puppet Users] SSL Certificate errors - Migrating from build in webserver to Apache and Passenger

2014-03-22 Thread Tom Hallam
our apache vhost pointing to specific > ssl certs. Can you verify that all these paths are correct? > > Specifically the lines beginning with SSL in > http://docs.puppetlabs.com/guides/passenger.html#create-and-enable-the-puppet-master-vhost > > > On Sat, Mar 22, 2014 at 7:

Re: [Puppet Users] SSL Certificate errors - Migrating from build in webserver to Apache and Passenger

2014-03-22 Thread Tom Hallam
Hi Spencer That's fixed the ssl issue. Not sure where I got the /etc/puppet/ssl... from. I've got some "access denied" issues now. Trace them down another day Thanks for the help Tom On Sunday, 23 March 2014 02:16:12 UTC+8, Tom Hallam wrote: > > Ahh, those line

  1   2   >