Re: [Puppet Users] Every run puppet notices package install created

2017-09-25 Thread Pete Brown
That doesn’t tell us much. Which icinga module would help for a start as would Puppet release, OS and OS version would also help. Without that we can’t help. On Thu, 21 Sep 2017 at 05:33, Lars Van Steenbergen wrote: > So every run i get this notice: >

Re: [Puppet Users] Re: puppet SSHD port based on hostname

2017-08-27 Thread Pete Brown
On Fri, 25 Aug 2017 at 23:07, John wrote: > So, I agree this is doable in Hiera. However, I think for the SAZ SSH > module, it would be better for me to include it in the sshd_config.erb. > Why? It’s a simple solution to do it in hiera. You are making th problem more

Re: [Puppet Users] Re: puppet SSHD port based on hostname

2017-08-25 Thread Pete Brown
That is pretty easy to do with hiera. It’s too complex to explain in an email so i would recommend looking up the docs for it. This is the best olace to start. If you aren’t using puppet 5 just switch to the version you are using. https://docs.puppet.com/puppet/5.1/hiera_intro.html On Tue, 22

Re: [Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-25 Thread Pete Brown
Does it have support for puppet 5 and can you use it to test code against multiple versions of puppet? Could it also be used in the manner to test code under a CI/CD setup like Jenkins or Travis? On Mon, 21 Aug 2017 at 09:57, David Schmitt wrote: > Hi Charlie, > >

Re: [Puppet Users] Re: ntp package_name

2017-08-23 Thread Pete Brown
On Wed, 28 Jun 2017 at 10:52, João Matos wrote: > now i can't find how the common is being "called". Guess this is puppet 4 > stuff. Will dig the docs. > tks > hiera5 does the lookup because the module is setup for it. It’s the newish data in modules layer of hiera5. >

Re: [Puppet Users] Dependency conundrum

2017-08-03 Thread Pete Brown
I found a systemd module on puppet forge which works well. It sets up an exec to run systemd reload whenever your systemd config files change. https://forge.puppet.com/eyp/systemd On Thu, 15 Jun 2017 at 14:04, Ramin K wrote: > Maybe I've missed something, but I don't

Re: [Puppet Users] Order two calls of parameterized classes

2017-06-01 Thread Pete Brown
The require meta parameter will do that. On Thu, 1 Jun 2017 at 14:08, Ugo Bellavance wrote: > Hi, > > I would need to execute a command after the execution of another and I > didn't find anything on the web regarding this. Here's the code: > > if $vhost_name_fact != undef { > >

Re: [Puppet Users] Concatenating files from server into a single file on the client

2015-06-30 Thread Pete Brown
options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Infrastructure Developer Abstract IT Pty Ltd. -- 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

Re: [Puppet Users] Re: Release 2.0.0 of abstractit-puppet with support for puppet 4

2015-06-17 Thread Pete Brown
:-D If you need extra features let me know or fork it and send me a PR. On 13 June 2015 at 07:57, Martijn mart...@heemels.com wrote: Currently rebuilding my Puppet infra. This may be just what I need! Thanks. Op woensdag 10 juni 2015 00:25:13 UTC+2 schreef Pete Brown: If you aren't aware

[Puppet Users] Release 2.0.0 of abstractit-puppet with support for puppet 4

2015-06-09 Thread Pete Brown
. -- Pete Brown Director and Primary Infrastructure Developer Abstract IT Pty Ltd. -- 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

Re: [Puppet Users] Way to schedule package installs with some complicated logic

2015-06-05 Thread Pete Brown
If you are using Debianish systems this sounds like a job for the unattended_upgrades module. https://forge.puppetlabs.com/puppet/unattended_upgrades -- Pete Brown Director and Primary Infrastructure Developer Abstract IT Pty Ltd. On 3 Jun 2015 23:58, jmp242 jp10...@gmail.com wrote: If I want

Re: [Puppet Users] hiera 2.4.4 literal function not working

2015-06-03 Thread Pete Brown
On 3 June 2015 at 23:09, Henrik Lindberg henrik.lindb...@cloudsmith.com wrote: On 2015-03-06 4:08, Pete Brown wrote: Hi everyone, I have been porting my puppet management module to puppet 4 and have run across what seems to be a bug but I am not completely sure. My module manages

[Puppet Users] hiera 2.4.4 literal function not working

2015-06-02 Thread Pete Brown
instead. - node/%#Hiera::Scope:0x19fcb05f{::data_centre}/%#Hiera::Scope:0x19fcb05f{::clientcert} Has anyone else seen this sort of behaviour? -- Pete Brown Director and Primary Infrastructure Developer Abstract IT Pty Ltd. -- You received this message because you are subscribed to the Google

[Puppet Users] Re: Announce: PuppetDB 2.3.2 is now available!

2015-04-01 Thread Pete Brown
. To post to this group, send email to puppet-annou...@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-announce. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Infrastructure Developer Abstract IT Pty Ltd. -- You

Re: [Puppet Users] Design help: django deployment

2015-02-18 Thread Pete Brown
Hi Jonathan, The puppetboard module uses stankevich/python to get it's underlying python bits setup so it might give you some ideas. https://forge.puppetlabs.com/nibalizer/puppetboard I haven't deployed python apps much myself but the ideas you had would be where I would start. If you can't

Re: [Puppet Users] manage users and ssh_authorized_key from hiera

2015-02-07 Thread Pete Brown
to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e2fa18b7-97d9-4370-a2d6-44a0835f63cf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems

Re: [Puppet Users] Upgrading all Forge modules at once

2015-01-06 Thread Pete Brown
on the web visit https://groups.google.com/d/msgid/puppet-users/54ABAD3F.8080700%40bristol.ac.uk. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems Engineer Abstract IT Pty Ltd. -- You received this message because you are subscribed

Re: [Puppet Users] Install puppet agent via puppet master

2015-01-06 Thread Pete Brown
://groups.google.com/d/msgid/puppet-users/120d73fe-7165-4c86-9e46-08cb5509cf93%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems Engineer Abstract IT Pty Ltd. -- You received this message because you are subscribed to the Google

Re: [Puppet Users] How to solve $concat_basedir not defined error?

2015-01-05 Thread Pete Brown
in hoop mode only, concat will always fail due to missing scripts. On 15.12.2014, at 09:33, Pete Brown p...@abstractit.com.au wrote: Where did you set pluginsync = true? It needs to be in the master section of the puppet.conf on your puppet master. Which version of puppet, facter, hiera

Re: [Puppet Users] Re: Announce: Puppet Server 1.0.0 available!

2014-12-19 Thread Pete Brown
On Thursday, December 18, 2014 5:27:39 PM UTC-5, Pete Brown wrote: Awesome job everyone! One question. Is there or will there be a package provider for puppet-server gem like there is for Puppet Enterprise gem? I have a module that manages puppet and I will be needing such a thing if I am to add

Re: [Puppet Users] Re: Announce: Puppet Server 1.0.0 available!

2014-12-18 Thread Pete Brown
://groups.google.com/d/msgid/puppet-users/50bf4fdf-02d1-429c-99be-d22a228f627c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems Engineer Abstract IT Pty Ltd. -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Querying PuppetDB for nodes that match certain facts

2014-12-15 Thread Pete Brown
/optout. -- Pete Brown Director and Primary Systems Engineer Abstract IT Pty Ltd. -- 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

Re: [Puppet Users] How to solve $concat_basedir not defined error?

2014-12-15 Thread Pete Brown
://groups.google.com/d/msgid/puppet-users/a0c06a9c-5c17-4fb3-b322-d05b6e56496f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems Engineer Abstract IT Pty Ltd. -- You received this message because you are subscribed

Re: [Puppet Users] Another book on Puppet

2014-12-01 Thread Pete Brown
-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/547B28AA.4090400%40Alumni.TU-Berlin.de. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems Engineer Abstract IT Pty

Re: [Puppet Users] Re: Custom apache module advice needed

2014-11-24 Thread Pete Brown
On 25 Nov 2014 11:37, Ugo Bellavance u...@lubik.ca wrote: Sorry for top-posting, but I found my mistake. I didn't know we could not set 'require' more than once. It now looks obvious but it wasn't when I was working on it. You can require multiple resources but they need to be in an array.

Re: [Puppet Users] puppet agent upgrade with puppet module

2014-11-07 Thread Pete Brown
://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems Engineer Abstract IT Pty Ltd. -- 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

Re: [Puppet Users] puppet agent upgrade with puppet module

2014-10-23 Thread Pete Brown
+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c22bc207-47e6-4997-afec-193e33664d5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems Engineer Abstract

Re: [Puppet Users] Announce: Puppet Server 0.2.0

2014-09-25 Thread Pete Brown
this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CANs%2BFoVXKd%2B9VE7H2L9RJLBZOuCeDTKBmpgD%3DYFhSASve4k-jA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems Engineer Abstract IT Pty Ltd. -- You

Re: [Puppet Users] Need help un andderstanding puppet output

2014-09-12 Thread Pete Brown
...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/3418f644-cc47-402a-9d53-b8dd178c8e43%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Pete Brown Director and Primary Systems Engineer Abstract IT Pty Ltd

Re: [Puppet Users] Re: Hiera - how to include all files inside a directory

2014-08-11 Thread Pete Brown
I am glad you found a solution. That looks pretty handy. Thanks for the link. On 1 August 2014 17:30, Juan Moreno j.moreno.marti...@gmail.com wrote: Here, we have a solution: https://github.com/mapa3m/hiera_multijson_backend Cheers El jueves, 24 de julio de 2014 14:27:58 UTC+2, Juan

Re: [Puppet Users] Hiera/Puppet: How to handle different versions of applications in multiple environments?

2014-07-31 Thread Pete Brown
Hi, I think the best way to achieve this is to use class variables for all the versions of packages you want to manage and use hiera as the backend. You can actually use the $::environment fact in your hiera.yaml file when defining the datadir. I tend to put my hiera tree in a separate

Re: [Puppet Users] Re: How to group systems using Puppet and hiera?

2014-07-30 Thread Pete Brown
27, 2014 4:46:45 PM UTC+10, Pete wrote: On 27 Jul 2014 16:42, Pete Brown rendh...@gmail.com wrote: I have taken to using hiera as my ENC these days. My site.pp is basically hiera_Include(role) And each nide as a role variable set in my certname.yaml file. Dammit. Each node has

Re: [Puppet Users] Re: scheduling refresh event BEFORE dependent object

2014-07-28 Thread Pete Brown
On 28 Jul 2014 23:56, Dimitris Stafylarakis xan...@gmail.com wrote: Hi people, thanks for your replies. My actual case is run apt-get update before upgrading a package. So I have packages in my own repository and I'm managing them through puppet on the production server. I want to be able to

Re: [Puppet Users] Re: How to group systems using Puppet and hiera?

2014-07-27 Thread Pete Brown
I have taken to using hiera as my ENC these days. My site.pp is basically hiera_Include(role) And each nide as a role variable set in my certname.yaml file. Hiera basically does the same as most ENCs anyway and it's nice having roles and node data in one location. On 25 Jul 2014 14:33, Atom

Re: [Puppet Users] Re: How to group systems using Puppet and hiera?

2014-07-27 Thread Pete Brown
On 27 Jul 2014 16:42, Pete Brown rendhal...@gmail.com wrote: I have taken to using hiera as my ENC these days. My site.pp is basically hiera_Include(role) And each nide as a role variable set in my certname.yaml file. Dammit. Each node has a role variable. Hiera basically does the same

Re: [Puppet Users] Error 400/403 on Windows with mcollective+puppet in large amount of servers deployment

2014-07-24 Thread Pete Brown
On 24 Jul 2014 21:50, Peiven Cheng peiven.ch...@gmail.com wrote: Hi all, We use mcollective to trigger puppet sync in windows servers. While we send the 'mco puppet runonce' to trigger 8~10 servers doing puppet agent apply, it occasionally happened the error of Could not retrieve catalog

Re: [Puppet Users] Hiera - how to include all files inside a directory

2014-07-24 Thread Pete Brown
I don't believe that is possible. You will probably need to collate all the files in customers/ into one file. I am going to hazard a guess that you have data relating to your customers in that directory. If the data in those files is specific to each customer and each of your nodes had only one

Re: [Puppet Users] scheduling refresh event BEFORE dependent object

2014-07-24 Thread Pete Brown
If you are actually managing apt and need to trigger an apt-update before a package install I can highly recommend the puppetlabs/apt module on puppet forge I am using it in my environments and it does a very good job at managing all of apt and friends. https://forge.puppetlabs.com/puppetlabs/apt

Re: [Puppet Users] PE and VMWare Question

2014-07-23 Thread Pete Brown
Hi Dan. I think the puppetlabs cloud provisioner can spin up VMware instances. I think that is part of the toolkit that gets installed with enterprise. I know there has been a lot of work getting enterprise talking to VMware and I believe there is a section on it in the docs. Hope that helps.

Re: [Puppet Users] Editing fstab with Augeas

2014-07-09 Thread Pete Brown
On 10 July 2014 04:55, Kim Scarborough chow...@gmail.com wrote: No, you cannot do that via Mount resources. Instead, the idiomatic approach here would be to put each mount for each server under individual Puppet management. If you wished, you could also use the Resources resource to purge

Re: [Puppet Users] Editing fstab with Augeas

2014-07-09 Thread Pete Brown
On 10 July 2014 09:18, Kim Scarborough chow...@gmail.com wrote: My Augeas approach works, I'm just having the one problem where I can't get it to apply to more than one mount line per run. It might work but it is probably better to manage the whole mount with puppet. I have hundreds of

Re: [Puppet Users] Editing fstab with Augeas

2014-07-07 Thread Pete Brown
Is there a reason you aren't using the builtin mount type? I believe it can do everything you require. http://docs.puppetlabs.com/references/stable/type.html#mount On 8 July 2014 04:42, Kim Scarborough chow...@gmail.com wrote: I'm trying to get Puppet to add nosuid to all my nfs or nfs4 mount

Re: [Puppet Users] report all nodes that do NOT have a certain class assigned to them

2014-07-03 Thread Pete Brown
Hi Jay, Have you had a look at puppetdbquery? https://forge.puppetlabs.com/dalen/puppetdbquery On 25 June 2014 04:01, Jay Benner longri...@gmail.com wrote: Seems like this should be easy, but I am having a tough time sorting it out. I am using PE 3.1 and I want to know which of my nodes are

Re: [Puppet Users] 3.6 directory environments, r10k, and hieradata

2014-06-22 Thread Pete Brown
I have my hiera data in a separate repository with the same branches as my environment repositories. I have r10k setup to check out my hiera repo and two environment trees. My first idea was to use a submodule but I am not sure r10k would handle that properly. You could use a separate module for

Re: [Puppet Users] 3.6 directory environments, r10k, and hieradata

2014-06-22 Thread Pete Brown
It would probably work with both of those. hiera-eyaml would make it easier because you don't need to encrypt the whole file and it still lets you use a separate data directory. Pete. On 23 June 2014 11:33, Rich Burroughs r...@richburroughs.com wrote: I wonder if you could use hiera-gpg or

Re: [Puppet Users] puppet unscheduling many service refreshes

2014-06-19 Thread Pete Brown
You could write a fact that checks the system load and base your service restarts on that. I thought there was one but there only seems to be uptime and swapfree. Here's a ruby gem that might help get you started. https://github.com/nethacker/usagewatch On 20 June 2014 04:45, Corey Osman

Re: [Puppet Users] How's life with 3.6.2?

2014-06-12 Thread Pete Brown
:24AM -0400, Christopher Wood wrote: That's why I'm upgrading (otherwise 3.4.3 works for me), but I will have a hard time justifying any upgrade that leads to breakage. They're in profile::base for me too. Well, on with my testing! On Thu, Jun 12, 2014 at 10:36:07AM +1000, Pete Brown wrote

Re: [Puppet Users] How's life with 3.6.2?

2014-06-11 Thread Pete Brown
I decided to put puppet,hiera and facter versions into my base profile so upgrades are tested in my dev environment and then pushed out to production when I am happy. 3.6.2 is also a security release so I (and you very likely) want it (and the relevant ssl fixes) pushed out asap. I also just added

Re: [Puppet Users] Database and user not created (Puppetlabs mysql module)

2014-04-30 Thread Pete Brown
On 29 April 2014 04:12, Piotr Usewicz pi...@layer22.com wrote: I think you have to enable pluginssync option in the [main] section in puppet.conf I am pretty sure pluginsync is on by default in recent versions of puppet. So unless you have disabled it it should work. On Wednesday, 11 April

Re: [Puppet Users] path fact reordering

2014-04-30 Thread Pete Brown
Have you looked at how the shell variable is generated on each server? My guess would be it is different on each one. It may pay to manage it so it is the same on both masters. On 30 April 2014 19:17, Fabio Coatti fabio.coa...@gmail.com wrote: Hi all, I spotted a behaviour that I can't really

Re: [Puppet Users] Need help optimizing our Puppet module

2014-04-07 Thread Pete Brown
Hi Harrison, Here are some initial thoughts after a quick glance at your code. First question I would have would be why are you using ensure_resource to do one thing at a time? Like install one package or one service etc. I love wrappers but it seems like overkill to use it do do something the

Re: [Puppet Users] Puppet 3.4.2 OS X

2014-01-21 Thread Pete Brown
I am pretty sure you still need to setup the launch daemon manually on OS X. On 21 January 2014 06:55, Jason Hatman jason.hat...@gmail.com wrote: I have my Puppet installation up and running, but I currently just run puppet agent --test to use it. As I understand it, in a master/agent

Re: [Puppet Users] How to manage SugarCRM config.php with Puppet?

2014-01-21 Thread Pete Brown
On 21 January 2014 00:33, Erwin Bogaard erwin.boga...@gmail.com wrote: Hi Pete, thanks for your reply. I thought I replied to you last night, but Google doesn't show it. So here it is again: The difficulty with using a template, is that there are just too many exceptions between the

Re: [Puppet Users] puppetmaster foreman and puppetdb with an external ca

2013-08-18 Thread Pete Brown
: On Aug 18, 2013, at 7:06 PM, Pete Brown rendhal...@gmail.com wrote: Hi everyone, I am attempting to use FreeIPA as the external CA for my puppet environment. I can get puppetmaster running under pasenger using certs stored in an nss db and puppet to work with standard pem encoded x509s issued

Re: [Puppet Users] Re: apache 2.4 support in puppetlabs/apache

2013-07-24 Thread Pete Brown
Hi, I did fork the repo and submitted a pull request but I don't think it has been merged yet. My for is here if that helps. https://github.com/rendhalver/puppetlabs-apache I have been pretty busy lately and I haven't had a chance to chase up what is happening. On 24 July 2013 00:09, Pawel

Re: [Puppet Users] Puppet Nagios resources

2013-07-22 Thread Pete Brown
On 23 July 2013 02:47, Matthew Nicholson matthew.a.nichol...@gmail.com wrote: Jonathan, You would want to do it on the client level, when its exporting its host definition, like: @@nagios_host { $hostname: ensure = present, alias = $hostname, address = $ipaddress,

Re: [Puppet Users] Re: Multiple Puppet masters each running as their own CA connecting to a single PuppetDB instance

2013-07-18 Thread Pete Brown
On 17 July 2013 14:18, Nick Lewis n...@puppetlabs.com wrote: On Tuesday, July 16, 2013 1:25:22 PM UTC-7, replicant wrote: So, We are working on migrating a global deployment of Puppet over to a single PuppetDB instance away from a single MySQL storeconfigs instance and are running into an

Re: [Puppet Users] Re: Yum.puppetlabs.com: Fedora 19

2013-07-15 Thread Pete Brown
Excellent work! Now I guess there's no excuse to switch my environment to Fedora 19. Will let you know how it goes in my dev environment. On 14 July 2013 09:13, Michael Stahnke stah...@puppetlabs.com wrote: Fedora 19 is now up on yum.puppetlabs.com. As a word of caution, this is the first

Re: [Puppet Users] apache restart fails

2013-07-15 Thread Pete Brown
Hi. I would recommend you use reload for apache restarts. Reload does a config check before the reload and if there is an issue it won't reload the config. I am also wondering if you have you had a look at the puppetlabs/apache module on puppet forge? It does just about everything you will need

Re: [Puppet Users] 3.2.2 on CentOS 6.3, and Did not receive certificate

2013-07-15 Thread Pete Brown
On 12/07/2013 4:45 AM, kegstand kegst...@gmail.com wrote: You should be running puppet version 2 clients with puppetmaster version 2. You should be running puppet version 3 clients with puppetmaster version 3. Actually puppet 2.x nodes will talk to a puppet 3.x master. As long as the puppet

Re: [Puppet Users] Renaming puppet binary to use with two puppet agent instances

2013-07-09 Thread Pete Brown
I think the general consensus on multiple masters managing a node is don't do it. I personally can't see a reason why this sort of thing is even necessary. Why do you need two separate masters managing the same node? What specific reason do you need to split the resource management between two

Re: [Puppet Users] Packages on fedora19

2013-07-04 Thread Pete Brown
(release) = 2.0.0 ruby-libs = 2.0.0.247-11.fc19 ruby-libs(x86-64) = 2.0.0.247-11.fc19 On 07/03/2013 06:24 PM, Pete Brown wrote: I was just wondering the same thing. My dev environment runs in Fedora 18 and I almost upgraded yesterday but thought some testing was in order first. I am likely

Re: [Puppet Users] Packages on fedora19

2013-07-03 Thread Pete Brown
I was just wondering the same thing. My dev environment runs in Fedora 18 and I almost upgraded yesterday but thought some testing was in order first. I am likely to do what I did last time and try installing the versions from the previous release. I will be running up a Fedora 19 vm and install

Re: [Puppet Users] Copy script from source - run it - delete it again

2013-07-03 Thread Pete Brown
Hi, So from a guess based on the name of the script it installs some javascript file somewhere. Am I correct? With maybe something extra like optimising it afterwards? Is there any reason you can't optimize that file and get puppet to install it on your node? This will give you a whole lot more

Re: [Puppet Users] Packages on fedora19

2013-07-03 Thread Pete Brown
On 4 July 2013 14:06, Michael Stahnke stah...@puppetlabs.com wrote: On Wed, Jul 3, 2013 at 4:24 PM, Pete Brown rendhal...@gmail.com wrote: I was just wondering the same thing. My dev environment runs in Fedora 18 and I almost upgraded yesterday but thought some testing was in order first. I

Re: [Puppet Users] Nagios Puppet

2013-06-27 Thread Pete Brown
Shameless plug. I wrote a module to do pretty much what you are trying to achieve. http://forge.puppetlabs.com/rendhalver/monitoring It currently works on CentOS and Fedora. Debian/Ubuntu support is in progress. I also have a couple of other modules for managing nrpe and icinga Feel free to have a

Re: [Puppet Users] Re: Recommend a good tutorial on using Hiera as an ENC?

2013-06-13 Thread Pete Brown
On 10 June 2013 22:39, Lab Yizhar lab.yiz...@gmail.com wrote: Hi, Not much into this but did you this link ? http://docs.puppetlabs.com/hiera/1/puppet.html +1 The last entry on the page explains it. Regards, Yizhar On Mon, Jun 10, 2013 at 3:07 PM, Paul Tötterman

Re: [Puppet Users] Does stdlib break the regsubst function?

2013-06-13 Thread Pete Brown
Which version of stdlib are you running? I would hazard a guess that the version you have installed isn't the right one for your puppet version. Basically 4.x only works on puppet 3.x with no support for earlier versions. 3.x is for puppet 2.7 and 3 with no support for earlier versions 2.x is for

Re: [Puppet Users] puppet module install vs github

2013-06-02 Thread Pete Brown
On 3 June 2013 11:38, Francisco Reyes franci...@natserv.net wrote: Just learnt about the function puppet module install today (thanks Ashley). Which is more up to date github or what one gets from module install? the puppet module install command installs modules from puppet forge. a lot of

Re: [Puppet Users] Grouping hosts within environments

2013-05-30 Thread Pete Brown
On 31 May 2013 01:02, przemol p@cmcmarkets.com wrote: Hello, we have been using puppet 3 with hiera based config and several (usually typical) environments: test predev dev preprod prod ... Basically we apply the puppet config to test, then predev, then dev, etc But within each

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

2013-05-20 Thread Pete Brown
Yeah they switched to systemd on fedora so the init scripts went away (finally!) They also renamed the service to puppetagent Try this. systemctl start puppetagent On 21 May 2013 08:36, Tom Poulton poulton...@gmail.com wrote: Wait... spoke too soon: *Error: Could not start Service[puppet]:

Re: [Puppet Users] Migration from 0.25.4 to the latest puppet and relating issues ....

2013-05-20 Thread Pete Brown
On 20 May 2013 23:31, jcbollinger john.bollin...@stjude.org wrote: On Sunday, May 19, 2013 10:43:19 PM UTC-5, Pete wrote: You may want to have a look here. http://docs.puppetlabs.com/**guides/upgrading.htmlhttp://docs.puppetlabs.com/guides/upgrading.html and here

Re: [Puppet Users] Re: Manual run with specific class

2013-05-19 Thread Pete Brown
On 17 May 2013 23:01, jcbollinger john.bollin...@stjude.org wrote: On Thursday, May 16, 2013 3:38:23 PM UTC-5, Nev wrote: I need to be able to run a certain class ONLY when it is called manually from the client. I created a class named manual and can run it from the client like this:

Re: [Puppet Users] Migration from 0.25.4 to the latest puppet and relating issues ....

2013-05-19 Thread Pete Brown
You may want to have a look here. http://docs.puppetlabs.com/guides/upgrading.html and here http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#backwards-incompatible-changes-in-30 There are way too many changed between 0.25.4 and 3.1.1 You just hit the biggest. On 19 May 2013

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

2013-05-16 Thread Pete Brown
Hi Tom, Fedora 18 is the standard environment for new nodes in my environemnt and I have never had this issue getting puppet to work. Admittedly I have two repos setup, one for fedora 17 with a low priority and one for 18 with normal priority. I was running the fedora 17 repos before they started

Re: [Puppet Users] How to apply to all hosts with exception list.

2013-05-16 Thread Pete Brown
On 17 May 2013 10:33, Stephen Wallace whizbang.wall...@gmail.com wrote: Hi all, I know that there are likely a few ways to solve the following. I just don't know what the best way may be :) We're trying to work out how do something similar to the following scenario. How do we apply a

Re: [Puppet Users] Re: How to apply to all hosts with exception list.

2013-05-16 Thread Pete Brown
On 17 May 2013 13:05, joe lava...@gmail.com wrote: The easiest thing to do would to make a subclass called cups::enabled or similar and use an override: class cups::enabled inherits cups{ # The inherits is important Package['cups']{ ensure = 'present, } Add service and config

Re: [Puppet Users] puppet and custom nagios object variables

2013-05-14 Thread Pete Brown
I think icinga can use those as well. I don't believe it is supported in the puppet resources yet. It may be time to find out how to add it. On 14 May 2013 23:38, Mason Turner opsma...@gmail.com wrote: Nagios support custom object variables (

Re: [Puppet Users] What do YOU do to catch undefined variables

2013-05-13 Thread Pete Brown
On 11 May 2013 06:43, David Schmitt da...@dasz.at wrote: On 10.05.2013 17:08, Nikola Petrov wrote: +1 The vim plugin is the best you can find if you are already proficient in vim somewhat. I use it in conjuction with