Re: [Puppet Users] What is "Could not intern from pson" error??

2016-06-07 Thread JS
Did you ever find a resolution to this? On Wednesday, May 9, 2012 at 5:52:27 AM UTC-5, Sans wrote: > > > Figured out that the using CNAME is not really the issue but I'm still > getting the same error 3 out of 5 or so. If anyone know anything related to > this, can you please help? Cheers!! > >

Re: [Puppet Users] http keep alive timeout in puppetserver (ie, NOT apache)

2016-06-07 Thread Kevin Corcoran
Matt, I believe that the 'idle-timeout-milliseconds' is what you're looking for. You'll want to put this in /etc/puppetlabs/puppetserver/conf.d/webserver.conf, inside the 'webserver' section in that file. Here's a link to the documentation for that setting: https://github.com/puppetlabs/trapperke

[Puppet Users] Re: OS X Home Directory path - username substitution

2016-06-07 Thread Luis Zuniga
Got it to work like this: $myuser = $identity['user'] $mygroup = $identity['group'] file { "/Users/${myuser}/Applications/mpbar/mpdbar.sh": ensure => 'file', owner => $myuser, group => $mygroup, mode => '0755', source => "puppet:///modules/mybarmodule/mpdba

[Puppet Users] OS X Home Directory path - username substitution

2016-06-07 Thread Luis Zuniga
Hi, Wondering how to substitute the OS X username into the manifest document. Here are the details: *On the OS X client:* Username is user1 *on the puppet server:* sites.pp file: file { "/Users/$identity['user']/Applications/mpbar/myscript.sh": ensure => 'file', owner => 'u

[Puppet Users] Puppet only partially applying configuration

2016-06-07 Thread Andrew
I have encountered a problem when running puppet on Windows. My environment is as follows: Puppet master: CentOS 6.5 puppetserver 2.3.1 Client: Windows 2012 R2 Puppet 3.8.7 What happens: I provision a machine with razor and wait for the first Puppet run to complete. After puppet is finished,

[Puppet Users] http keep alive timeout in puppetserver (ie, NOT apache)

2016-06-07 Thread Matthew Nicholson
So, in my shops setup we're doing puppetmaster load balancing via consul DNS, so, when agents run, they ask for puppetserver.service.consul, which returns what basically looks like RRDNS for the puppetservers which are up and available at that time. These records are, by design, served with a TTL o

Re: [Puppet Users] Re: Hiera, define, class, putting all together

2016-06-07 Thread Helmut Schneider
jcbollinger wrote: > On Saturday, June 4, 2016 at 7:20:19 PM UTC-5, Helmut Schneider wrote: > > > > Hi, > > > > I'm new to puppet and read docs as much as possible, so forgive > > some confusion in my code. [Code] > Consider this call: > > hiera_array ('apacheModules', '', 'ubuntu-common')

Re: [Puppet Users] Run Puppet Class only once

2016-06-07 Thread Dan White
Can you provide more detail on exactly what you want to do ? A generic how-to request does not work in this instance. Dan White | d_e_wh...@icloud.com “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that

Re: [Puppet Users] Run Puppet Class only once

2016-06-07 Thread Rob Nelson
Puppet doesn't run a class, it applies a manifest. If you apply the manifest once, either with `puppet apply somefile.pp` or `puppet agent -t` without the agent running as a service, your catalog will be applied just once. If you want to keep running puppet in the future, have your node classifier

[Puppet Users] Using Facts To Determine EC2 Classic Vs VPC

2016-06-07 Thread Jason Wever
Hi All, I'm having some trouble using facter to help determine whether an EC2 instance is in Classic or VPC. Right now, I'm trying to use the fact that shows the VPC ID, but it's based off fo the MAC address of an instance and I'm not having any luck when I try to stick the variable for the mac a

[Puppet Users] Re: Run Puppet Class only once

2016-06-07 Thread Gavin Williams
Christoph I've done something similar by wrapping the class on a conditional, such as a 'class_ran=true' fact... That way, the class only gets included in the catalogue if 'class_ran=false'... A bit crude, but it works... Gav On Tuesday, 7 June 2016 11:13:33 UTC+1, Christoph wrote: > > Hi

[Puppet Users] Run Puppet Class only once

2016-06-07 Thread Christoph
Hi there, I want to run a whole puppet class only once when provisioning a system for the first time. Unfortunately I do not find a way to do this. I know how to run commands once using onlyif or unless or creates, but what about running a whole class ? Thanks Christoph -- You received t