Re: [Puppet Users] user ensure absent :No command localdelete defined for provider

2014-11-04 Thread Andreas Dvorak
Hi Nan, yes it really looks like that. I have puppet versin 3.3.1, but don't see an information in which version it is solved. Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails fr

Re: [Puppet Users] Re: Dynamic Environments and Hiera

2014-11-04 Thread Andreas Dvorak
Thank you for the information. Now I have got a solution. class facts::app_fact( $app = hiera('app_fact',undef) ){ file{'/etc/facter': ensure => directory, owner => 'root', group => 'root', mode => '0755', } file{'/etc/facter/facts.d': ensure => directory, owne

[Puppet Users] Re: how to get notified when puppet fact has some values

2014-11-04 Thread Andreas Dvorak
Hi, you can check it on the server with facter -p name_of_fact in a class notify{"My fact: $::name_of_fact":} Andreas -- 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 e

[Puppet Users] HIera Debugging Tool

2014-11-04 Thread Lee Lowder
All, I've been working on a Hiera debugging tool, and it's now at the point where I consider it to be a "minimally viable product". Currently it will work with Puppet Enterprise and Open Source Puppet, and you can supply identity for nodes by supplying YAML, JSON or a user (which will be used

[Puppet Users] Re: How do you keep hostnames out of the manifest?

2014-11-04 Thread Ryan Anderson
You could make a custom fact that indicates each site based on the IP subnet that your pets reside on. Something as simple as an external fact like: #!/bin/sh MYIP=`ifconfig | grep 'inet ' | grep -v 127.0.0.1 | awk '{ print $2 }' | sed 's/addr://'` case $MYIP in 10.1.3.*) my_site=minneapolis

[Puppet Users] Re: how to get notified when puppet fact has some values

2014-11-04 Thread Ryan Anderson
While this isn't in manifests, I'd recommend you setup puppetdb, then hook up the excellent puppetboard to it. It will give you visibility into such things. On Monday, November 3, 2014 1:43:50 PM UTC-6, Spriya wrote: > > Hi, > > I have created custom facts. how do i know if my custom facts exis

Re: [Puppet Users] Re: Puppetmaster can't keep up with our 1400 nodes.

2014-11-04 Thread jcbollinger
On Monday, November 3, 2014 10:39:14 AM UTC-6, Georgi Todorov wrote: > > On Friday, October 31, 2014 9:50:41 AM UTC-4, Georgi Todorov wrote: >> >> Actually, sometime last night something happened and puppet stopped >> processing requests altogether. Stopping and starting httpd fixed this, but

[Puppet Users] Re: How do you keep hostnames out of the manifest?

2014-11-04 Thread jcbollinger
On Monday, November 3, 2014 9:53:29 AM UTC-6, kbrede wrote: > > We're a small organization and all my servers are pets. I've made an > effort to keep site specific data out of the manifest, but I haven't been > able to completely. > Hiera has been a big help in getting us most of the way. > >

[Puppet Users] Module Installation - Error: can't convert nil into String

2014-11-04 Thread André Meyer
Hello, I am trying to install the module ppbrown-svcprop on my newly set up puppet on Solaris 11 and constantly get the following error: Error: can't convert nil into String Error: Try 'puppet help module install' for usage Googling did point me into the direction of a problem with the modulepa

[Puppet Users] Variable interpolation failing with structured facts

2014-11-04 Thread Thomas Hager
Hi, While implementing custom facts in our environment I did some experimenting with structured facts in our Puppet manifests. Puppet is 3.7.2, Facter is 2.3.0, Master and Agent run on the same VM, future parser is on and stringify_facts is disabled. I failed at using one of my custom facts (

Re: [Puppet Users] Re: schedule metaparameter

2014-11-04 Thread Mark Rosedale
Tags are an interesting way to tackle this issue. Thanks for pointing that out. On Monday, October 27, 2014 5:34:06 PM UTC-4, Ramin K wrote: > > On 10/27/14 7:43 AM, jcbollinger wrote: > > > > On Friday, October 24, 2014 12:51:27 PM UTC-5, Mark Rosedale wrote: > > > > Hello, > > > >

Re: [Puppet Users] Re: Puppetmaster can't keep up with our 1400 nodes.

2014-11-04 Thread Georgi Todorov
On Tuesday, November 4, 2014 9:50:15 AM UTC-5, jcbollinger wrote: > > By far the biggest difference is is File retrieval time. This will be for > File resources where you specify content via a 'source' parameter rather > than via a 'content' property. The agent must make a separate request to

[Puppet Users] Puppet Environments with Hiera

2014-11-04 Thread Mark Rosedale
So I'm setting up puppet environments. This is what I have in my puppet.conf under the [master] section environmentpath = $confdir/environments Now if I set environment inside the puppet.conf it will grab the environment I have set up ($confdir/environments/test), but if I set it in hiera it

Re: [Puppet Users] example hiera.yaml that uses example42-network?

2014-11-04 Thread Alessandro Franceschi
FYI, here you can see some sample hiera data: https://gist.github.com/alvagante/b8f67647c78590f3e67a On Tuesday, October 28, 2014 8:17:24 PM UTC+2, Anthony Clark wrote: > > It was indeed an issue with the network class not being included in the > particular environment I was using. > > I've remed

[Puppet Users] error master(amazon)-agent(local)

2014-11-04 Thread ghtp
Hello friends. I'm having a hard time recovering a catalog for the first time in a local agent with a master on amazon. Only the master is on Amazon. When I use "puppet agent --test" he says "err: Could not retrieve catalog from remote server: Server hostname 'puppetmaster' did not match server

[Puppet Users] Announce: Puppet 3.7.3 available!

2014-11-04 Thread Eric Sorenson
Puppet 3.7.3 is a bug fix release in the Puppet 3.7 series. It gives Windows users the useful new `$system32` fact (due to packages now pulling in Facter 2.3), and fixes some bugs with directory environments, the `PATH` variable on Windows, and the future parser. It also lays groundwork for some