[Puppet Users] Facter facts and sudo

2014-03-12 Thread Jared Curtis
Hi everyone, I currently have a custom fact that pulls some config settings from our postgres servers. It seems that these facts work fine when I run facter or puppet manually; but when the puppet daemon itself does a run the facts are not created. I'm doing two things differently in this fact

[Puppet Users] enc with roles and profiles

2013-12-17 Thread Jared Curtis
Hi everyone, I've been using a traditional model within puppet defining nodes, applying classes, and some logic within in a pp file. I'm now in the process of moving everything away from this model as it has grown beyond the manageable size. I'm looking at using foreman as an enc and at the sam

[Puppet Users] Re: Module to mount LUKS encrypted drives

2013-12-11 Thread Jared Curtis
avid Hazar wrote: > > Jared, > > You mention a cryptsetup module that is required. I did not see that > module on you github account. Can you point me in the right direction? > > Thanks, > David > > On Monday, January 23, 2012 7:44:17 PM UTC-7, Jared Curtis wrot

[Puppet Users] Re: PUPPETDB and pgpool II

2013-07-17 Thread Jared Curtis
This error means the client is disconnecting without sending an "I'm Disconnecting" packet. If the client is the puppet master then you probably should file a bug report. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

[Puppet Users] Re: PUPPETDB and pgpool II

2013-07-12 Thread Jared Curtis
If you're using pgpool from the EPEL repository (or version 3.2.0) and you've enabled the query cache feature then that's the probably the problem you're seeing. Upgrade to a newer release or disable the cache. On Friday, July 12, 2013 10:32:34 AM UTC-7, Robert Bachmann wrote: > > I am trying to

[Puppet Users] Automating Change Ticket Creation following module deployment

2013-07-11 Thread Jared Curtis
Check out puppets reporting options. http://docs.puppetlabs.com/guides/reporting.html You will probably need to rewrite your Perl script as a reporting module for the best results. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscri

[Puppet Users] Split node definition into multiple files

2013-02-02 Thread Jared Curtis
Couldn't you just add a new include to sites.pp called zones.pp then build a class within it to include on your DNS nodes? class myzones { nsd::zone { ... } . } node DNS { include myzones . } -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Deploying modules and configuration - Precousions

2013-01-30 Thread Jared Curtis
1. Checkout some code review platforms like reviewboard or gerrit. You'll need to verify they work with svn though. 2. Unsure how to fulfill this request 3. The code review platform will cover this. After it's been reviewed by the team they can approve it for release. Look at integration with Hu

[Puppet Users] Re: How to collect hostnames or host ips

2013-01-29 Thread Jared Curtis
On Monday, January 28, 2013 6:30:14 PM UTC-8, Dusty Doris wrote: > > I'd like to be able to collect all the hostnames (fqdn) or ips of certain > hosts to be used in setting up firewall rules. I'd like to search for > hosts that have included a particular class, perhaps by simply setting a > t

Re: [Puppet Users] How does facter get ipaddress?

2012-12-31 Thread Jared Curtis
Facter 1.6.17 has a fix for the ip address issue for distros that use newer versions of net-tools. On Monday, December 31, 2012 1:55:49 AM UTC-8, Mandla Mbuli wrote: > > > Im considering just continue working on the tutorial, hopefully this gets > sorted by the time I need it. > I tried merging

Re: [Puppet Users] Re: Python PIP and Centos 6

2012-12-20 Thread Jared Curtis
I've created another pull request that's a little more flexible than your version. If some other OS uses a different name for pip then it can easily be added to the case statement. https://github.com/puppetlabs/puppet/pull/1346 On Wednesday, December 19, 2012 10:41:16 PM UTC-8, Joshua Vote wrot

[Puppet Users] Overriding settings from puppetlabs-apache

2012-11-02 Thread Jared Curtis
I've been using the puppetlabs-apache module and I find it very complete and useful. But I ran into an issue today. I have a new system that's running a customized version of Redhat and a using custom RPM of Apache. I need to override the settings held in apache::params, to adjust some paths an

[Puppet Users] Template populated from multiple defines

2012-05-04 Thread Jared Curtis
I'm trying to create a file similar to this Name User One Phone 111222 Name User Two I want to be able to add users in this fashion app::users { 'user1': name => 'User One', phone => '111222'; 'user2': name => 'User Two'; } Then use a template to create the a

[Puppet Users] Re: Puppet on RedHat - Manage Kernel Modules ?

2012-02-24 Thread Jared Curtis
Sorry about the format, try this https://gist.github.com/1904714 On Feb 24, 3:54 pm, Jared Curtis wrote: > I haven't tested this but it should work. > > class kernel(version='latest') > { >   package { 'rhel- > kernel': >     ensure => > $ver

[Puppet Users] Re: Puppet on RedHat - Manage Kernel Modules ?

2012-02-24 Thread Jared Curtis
I haven't tested this but it should work. class kernel(version='latest') { package { 'rhel- kernel': ensure => $version, alias => kernel, notify => Exec['rebuild gahrbaj'], } exec { 'rebuild gahrbaj': cwd => '/foo/bar/ gahrbaj', command => '/usr/bin/make; /u

[Puppet Users] Sorted hash in template example

2012-02-23 Thread Jared Curtis
I'm building a module to handle django local_settings.py and I'm using a hash to store the database settings. The problem I ran into was the if I had multiple databases defined then it was possible for the config file to be recreated as the order of the databases in the hash wasn't guaranteed. To w

[Puppet Users] Module to mount LUKS encrypted drives

2012-01-23 Thread Jared Curtis
I've created a module to manage mounting LUKS encrypted devices at https://github.com/jaredcurtis/puppet-encmount It's a wrapper around the existing mount type and accepts the additional input needed to unlock the LUKS device (key and mapper name). It's untested outside of CentOS and does use some

[Puppet Users] Re: NRPE configuration with Augeas

2012-01-17 Thread Jared Curtis
ps://gist.github.com/1619400).   > The reason for the two augeas resources is one will create the command if it > doesn't exist at all, the other will update the named command if it exists > but has the wrong command string. > > > > > > > > On Sunday, 15 Jan

[Puppet Users] NRPE configuration with Augeas

2012-01-14 Thread Jared Curtis
I'm trying to build a NRPE management module that has the ability to add or modify existing commands. I think Augeas would be the best method to handle this but I'm running into a few issues. Here's what I have so far define nrpe::command($value) { include augeas augeas{ "${fqdn}_NRPE_${na

[Puppet Users] RHEL 5 pip-2.6 and pip provider

2011-10-28 Thread Jared Curtis
I'm using Puppet 2.7.1 in a RHEL 5.7 environment and having some problems running the python 2.6 version of PIP using the native PIP provider. Has anyone else ran into this issue and if so what solutions have you found? -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Multi site best practices

2011-08-03 Thread Jared Curtis
Having the CA down would be a problem, dashboard can be unavailable temporarily. I plan to overcome the CA issue by creating a hot standby CA. On Aug 1, 5:57 pm, vagn scott wrote: > On 08/01/2011 05:04 PM, Jared Curtis wrote: > > >    * Central Dashboard instance > >    * Centr

[Puppet Users] Multi site best practices

2011-08-01 Thread Jared Curtis
I'm currently using Puppet (2.7.1) to manage a single site. I'm in the process of bringing up a second data center which of course will be managed by Puppet. The number of managed sites will grow to at least 7 in the near future. How is everyone else handling multiple sites within puppet? Here's w

[Puppet Users] Re: ANNOUNCE: Cloud Provisioner v0.6.0rc1 release

2011-07-26 Thread Jared Curtis
Any plans to support other cloud providers? Specifically VMWare? On Jul 21, 4:18 pm, Jeff McCune wrote: > We are happy to announce the first public release candidate of our Puppet > Cloud Provisioner. > > This release is available for download at our Module > Forge:http://forge.puppetlabs.com/pu