Re: [Puppet Users] Open Source 4.0 version identifier vs. very different rpm and dpkg package versions

2015-06-17 Thread Joshua Fielden
I'm jcf, and I endorse this plan. Cheers, jcf On Jun 17, 2015 12:12, "Eric Sorenson" wrote: > On Thu, 7 May 2015, jcf wrote: > > >>> I don't think that reflects a firm grasp of the nature of the problem. >>> The issue is that the "new thing" here is not the thing that the package's >>> version

Re: [Puppet Users] Open Source 4.0 version identifier vs. very different rpm and dpkg package versions

2015-06-17 Thread Eric Sorenson
On Thu, 7 May 2015, jcf wrote: I don't think that reflects a firm grasp of the nature of the problem. The issue is that the "new thing" here is not the thing that the package's version number should be describing in the first place. I don't care about the newness of AIO layout and packagin

Re: [Puppet Users] Re: what is actually "undefined method 'include?' for nil:NilClass on node" error?

2015-06-17 Thread Tom Noonan
Good catch. Out of curiosity, what lead you to look at file sizes in /var/lib/puppet/yaml/node? Based on your initial problem description that is not where I would have been looking to troubleshoot. On Wed, 17 Jun 2015 07:11:09 -0700 (PDT) Ed Deloye wrote: > Discovered truncated yaml files on

Re: [Puppet Users] Puppet 4 API, questions about custom functions and "data binding" in modules

2015-06-17 Thread Henrik Lindberg
On 2015-16-06 4:52, Francois Lafont wrote: Hi, Sorry Henrik for my late answer. On 12/06/2015 01:54, Henrik Lindberg wrote: Cool, you are an early user, we expect to add more to this, and the road may be a bit bumpy at the beginning :-) Generally, I'm not a "early user" but currently I need

[Puppet Users] Accessing attribute value of defined in a resource in another resource implementation

2015-06-17 Thread ganesh634
Pasted below an example relation for new resource say 'new_type'. file { "interface": path=> "/var/tmp/test.txt", content => template("module/test_template.erb"), notify => new_type['sample'], } new_type

[Puppet Users] Re: what is actually "undefined method 'include?' for nil:NilClass on node" error?

2015-06-17 Thread Ed Deloye
Discovered truncated yaml files on the puppet master in /var/lib/puppet/yaml/node for the 24 systems. Identified as each one was 4096 bytes. After deleting those files puppet runs successfully on the nodes. On Thursday, May 29, 2014 at 3:57:49 PM UTC-4, Sans wrote: > > I have two identical nod

[Puppet Users] Re: what is actually "undefined method 'include?' for nil:NilClass on node" error?

2015-06-17 Thread Ed Deloye
Did anyone find a solution to this. We suddenly started seeing this on 24 of our 251 nodes. Thanks, Ed On Thursday, May 29, 2014 at 3:57:49 PM UTC-4, Sans wrote: > > I have two identical nodes - serv106 and serv107 - one of which is > working just fine but the other one failing with these err

[Puppet Users] Re: Wanna see something scary ?

2015-06-17 Thread jcbollinger
On Tuesday, June 16, 2015 at 12:11:15 PM UTC-5, LinuxDan wrote: > > It scared the beans out of me when I found this code in a manifest I am > tasked to update / refactor. > Does this look as outrageously wrong to you all as it looks to me ? > > No. > Variable names have been edited to prote

[Puppet Users] Re: Command Exceeded Timeout on Basic Shell Commands

2015-06-17 Thread jcbollinger
On Monday, June 15, 2015 at 9:12:03 PM UTC-5, Franck wrote: > > We've been experiencing a lot of "Command exceeded timeouts" on basic > shell commands using the "exec" type for tasks that should execute fairly > fast: > > Jun 15 15:45:44 host1 puppet-agent[57648]: > (/Stage[main]/Timezone::Ut

Re: [Puppet Users] permission denied on files

2015-06-17 Thread Tim Dunphy
> > mydomain.com <-> jokefire.com > Is this copy-n-paste or does the filename and the source name not match? Yah, this was a mistake on my part in trying to obscure the domain name. LOL Sorry about that. But in fact mydomain.com == jokefire.com Here's the actual definition: file { "/etc/pki/tl

[Puppet Users] fileserver -- allow *, but managed certificates -- secure?

2015-06-17 Thread Dan Sheppard
Hi folk, I am working on a puppet master server which will be hosted at a publicly visible IP (due to multi-site issues), and which will someday contain reasonably sensitive data and so which I must secure. I've been pretty careful with developing a custom autosign strategy, linking in with

[Puppet Users] Managing users with ldap provider

2015-06-17 Thread Angel L. Mateo
Hello, I would like one of my puppet agent creating some users in a ldap directory instead of traditional /etc/passwd. According to documentation for the user type, there is a ldap provider, which requires ldapbase, ldapuser and ldappasswd options in puppet.conf. So I have configured these

Re: [Puppet Users] Wanna see something scary ?

2015-06-17 Thread Cristian Falcas
We're using hiera_include here because we want different classes on different environments. On Wed, Jun 17, 2015 at 11:02 AM, R.I.Pienaar wrote: > > > - Original Message - > > From: "Dan White" > > To: "puppet-users" > > Sent: Tuesday, June 16, 2015 9:09:54 PM > > Subject: Re: [Puppet

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 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 of the modul

Re: [Puppet Users] A case for git (SVN vs Git)

2015-06-17 Thread Paul Seward
On 16 June 2015 at 21:20, Corey Osman wrote: > > To be honest I have never used SVN and R10k. > Neither have I. To be honest, we're not actively using r10k yet (we've got 4 years of baggage to clean out of the repo before we can do that sensibly - which is in progress, but it's not a quick task

Re: [Puppet Users] Wanna see something scary ?

2015-06-17 Thread R.I.Pienaar
- Original Message - > From: "Dan White" > To: "puppet-users" > Sent: Tuesday, June 16, 2015 9:09:54 PM > Subject: Re: [Puppet Users] Wanna see something scary ? > From https://docs.puppetlabs.com/references/latest/function.html#hierainclude > > To use hiera_include,  the following co

Re: [Puppet Users] permission denied on files

2015-06-17 Thread Martin Alfke
Hi Tim, the agent wants to fetch the file > puppet:///modules/bacula/monitor1/monitor1.mydomain.com.crt But on the Master you are shooing us a file with the name: > environments/production/modules/bacula/files/monitor1: > total 8.0K > -rw-r--r--. 1 puppet puppet 2.0K Jun 16 21:53 monitor1.jokefir