[Puppet Users] SRV Records and Multiple Masters

2014-07-18 Thread Paul Seymour
Hello, Just looking for a little "best practice" advice. If I am using DNS SRV records to load-balance and use multiple Puppet Masters, and CA servers (certificate data is sync'ed) which is the best recommended way of generating the master certificate ? So I set certname in the [master] sectio

Re: [Puppet Users] puppetdb export before migration

2014-07-18 Thread Fabrice Bacchella
Indeed, there is a few unchanged report in my db. So I'll have to wait until 2.2.0 I'm afraid. Le 18 juil. 2014 à 19:22, Ken Barber a écrit : > Does this sound like your issue? > > https://tickets.puppetlabs.com/browse/PDB-762 > > We found it recently and have already fixed it in source, but

[Puppet Users] Re: Facter path issue

2014-07-18 Thread Jim Richard
Yep, a custom fact. In case someone else happens upon this looking for a similar answer, here's my custom fact to override Facter's default path fact: Facter.add('path') do confine :kernel => 'windows' setcode do my_fact = Facter::Util::Resolution.exec('C:\Windows\system32\cmd.exe /C "re

Re: [Puppet Users] Facter path issue

2014-07-18 Thread Rob Reynolds
On Fri, Jul 18, 2014 at 8:36 AM, Jim Richard wrote: > Thanks for the quick reply Rob. > > I went ahead and spun up a new Server2008R2 virtual machine to test a very > basic install: > > grabbed the iso from > http://www.microsoft.com/en-us/download/details.aspx?id=11093 > installed Windows as usu

[Puppet Users] Puppet module for Windows 2012 SNMP Service

2014-07-18 Thread Matt Shields
Does anyone have a module or example puppet code for turning on SNMP server and setting the community on a Windows 2012 server? Matt -- 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 i

Re: [Puppet Users] puppetdb export before migration

2014-07-18 Thread Ken Barber
Does this sound like your issue? https://tickets.puppetlabs.com/browse/PDB-762 We found it recently and have already fixed it in source, but not shipped a fix yet. We were holding off for someone complaining loud enough or just shipping it with 2.2.0 (which should be out in a few weeks or so). k

Re: [Puppet Users] HA puppetmaster in AWS

2014-07-18 Thread chris mague
I used this approach detailed below in production for a large-ish environment. When used in conjunction with Nginx load balancing in AWS (http://blog.mague.com/?p=286) it worked very well. 1) Route all certificate requests (explained above) to a pair of boxes that have the sync setup listed bel

[Puppet Users] Re: user authentication with proxyserver

2014-07-18 Thread jcbollinger
On Friday, July 18, 2014 4:32:18 AM UTC-5, robert api wrote: > > Hi, > > i was trying to configure my client with a proxy that requires user > authentication, upon looking through the configuration reference page, i > only found the settings for proxy hostname/port. > as long as the proxy serve

[Puppet Users] puppetdb export before migration

2014-07-18 Thread Fabrice Bacchella
I ran an puppetdb export yesterday. It ran fine. It was a puppetdb 2.0 Now, after an export to puppetdb 2.1, I got some strange exception. puppet master is working fine, I didn't see anything special in the release notes. puppetmaster is running fine. Did I miss something ? $ puppetdb export

Re: [Puppet Users] Re: Passing undef as argument to classes & defines overrides default parameter

2014-07-18 Thread jcbollinger
On Thursday, July 17, 2014 1:27:03 PM UTC-5, Cristian Falcas wrote: > > Hi, > > I have a "postfix" class with this init: > > class postfix ( > $ensure = 'latest', > $email_user = undef, > $email_pass = undef, > $smtp_endpoint = "smtp.${::domain}", > $smt

[Puppet Users] Re: error. only root user can exec comands

2014-07-18 Thread jcbollinger
On Thursday, July 17, 2014 9:52:23 AM UTC-5, Supriya Uppalapati wrote: > > Hi, > > I am having an issue with exc statement. running through non-root user. > > *Error: Failed to apply catalog: Parameter user failed on Exec[extract > p17071663_1036_Generic.zip]: Only root can execute commands

Re: [Puppet Users] Facter path issue

2014-07-18 Thread Jim Richard
Thanks for the quick reply Rob. I went ahead and spun up a new Server2008R2 virtual machine to test a very basic install: grabbed the iso from http://www.microsoft.com/en-us/download/details.aspx?id=11093 installed Windows as usual, did the Windows update dance reboot, reboot, etc got the pu

[Puppet Users] parameters set with array

2014-07-18 Thread OS
Hello all, I am newbie to puppet and sorry if it is a silly question. What is wrong with my manifest? define webapp ($domain,$port){ file { "/tmp/${name}": > This is working and creating the files as /tmp/test , /tmp/test1 etc content => "Server:${port}", }

Re: [Puppet Users] HA puppetmaster in AWS

2014-07-18 Thread Matt Zagrabelny
On Fri, Jul 18, 2014 at 1:37 AM, Dejan Golja wrote: > We tried with yas3fs, but we abandoned that solution because was just not > reliable enough. Also we considered GlusterFS, but again on some other > projects the experience wasn't great. > > So my question is how you guys manage that ? DRBD?

Re: [Puppet Users] HA puppetmaster in AWS

2014-07-18 Thread Dejan Golja
Not sure if it would work always, because if using unison you can get conflicts on files such as serial, inventory.txt ,ca_crl.pem, etc and then you need to merge them manually. Quoting: Unlike simple mirroring or backup utilities, Unison can deal with updates to *both* replicas of a distribut

Re: [Puppet Users] HA puppetmaster in AWS

2014-07-18 Thread Juan Sierra Pons
Hi What about this approach? [1] Sync Puppet Certs between EC2 regions It seems very easy to implement: unison + incron + scripts Disclaimer: not tested yet. Hope to have a prof of concept next week. Best regards [1] http://blog.mague.com/?p=468 --

[Puppet Users] Re: puppet master --genconfig generating deprecated features

2014-07-18 Thread Dejan Golja
Probably they are there for back compatibility or something similar and they will be removed in future releases ? On Thursday, July 17, 2014 7:31:16 AM UTC+10, Adam Chou wrote: > > I'm running a fresh install of 3.6.2 and when I use the config file from > puppet master --genconfig, there are

Re: [Puppet Users] HA puppetmaster in AWS

2014-07-18 Thread Dejan Golja
yas3fs is using s3 as a backend, but unfortunately did not work out. On Friday, July 18, 2014 6:00:02 PM UTC+10, ankush grover wrote: > > Hi Dejan, > > You can try using S3 for this purpose. So keep all the data like SSL or > CA on S3 and ask all the puppet masters to pickup the ssl or any oth

[Puppet Users] Wrap Package in a define

2014-07-18 Thread Brian Wilkins
Hello, We are trying to use the puppet-forge graphite module located here: https://github.com/echocat/puppet-graphite/blob/master/manifests/install.pp and our servers will not have access to the Internet. So we are downloading all the pip packages to a local repository and will point pip to eac

Re: [Puppet Users] Puppet module 'issue' with sysctl provider (augeasproviders)

2014-07-18 Thread Stefan Heijmans
Hi John/Felix, thanks for the suggestions, will try them out next week and come back with the results Stefan -- 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] user authentication with proxyserver

2014-07-18 Thread robert api
Hi, i was trying to configure my client with a proxy that requires user authentication, upon looking through the configuration reference page, i only found the settings for proxy hostname/port. as long as the proxy server permits every user without further authentication everything runs good, b

Re: [Puppet Users] HA puppetmaster in AWS

2014-07-18 Thread Ankush Grover
Hi Dejan, You can try using S3 for this purpose. So keep all the data like SSL or CA on S3 and ask all the puppet masters to pickup the ssl or any other data from S3. On Fri, Jul 18, 2014 at 12:07 PM, Dejan Golja wrote: > Hello guys, > > so puppet community I seek some guidance. I am rebuil