Re: [Puppet Users] Logging configuration

2013-11-06 Thread Roumen
Billy The Chip gmail.com> writes: > > > On Tue, Apr 19, 2011 at 6:30 AM, Ben Hughes puppetlabs.com> wrote: > On Mon, Apr 18, 2011 at 09:16:13AM -0700, Kal McFate wrote: > > How do I tell puppet to log somewhere other than /var/log/messages. None of > > the logging configuration options seem to

[Puppet Users] Learning puppet rapid-fire workflow questions

2013-11-06 Thread Salient Digital
Thanks in advance for your advice. I'm a beginner running puppet on 1 server running Debian Wheezy following along with the Learning docs. Is this configuration what is referred to "masterless"? If so, it seems "agent less" would make more sense to me, I'm just curious if I understand the te

[Puppet Users] Re: Version Controlling Puppet Configs with svn

2013-11-06 Thread Salient Digital
Note that git recognizes and stores file attribute changes (whereas svn does not). On Tuesday, October 29, 2013 6:53:59 PM UTC-7, Hyunil Shin wrote: > > Hello. > > I have the same issue with you, except that I am using Git. > Can you describe your solution in more details? > As you said that /et

Re: [Puppet Users] require a defined type from another module

2013-11-06 Thread Trevor Vaughan
Try A:Foo instead of A::foo. Trevor On Wed, Nov 6, 2013 at 3:45 PM, LTH wrote: > In module A: > > define A::foo() > > In module B: > > require A > > file{"bar": > require => A::foo['baz'] > } > > A::foo{"baz":} > > However puppet doesn't seem to like the syntax around > require=>A::foo

Re: [Puppet Users] Can't get puppet manifest to run

2013-11-06 Thread Philippe Conway
Gabriel, That is exactly what the problem was. I somehow did not catch that in the reading. I think I was just too excited. :) Thanks for your help! On Wednesday, November 6, 2013 6:14:41 PM UTC-8, Lelutin wrote: > > hello, > > On 06/11/13 08:29 PM, Philippe Conway wrote: > > So I am an UBER-

Re: [Puppet Users] Picking a pattern apart?

2013-11-06 Thread Dan Bode
Hi Matthew, FWIW, I ran into the same issue, and wound up creating an abstraction layer on top of my hiera lookups to do this: It does a lot more than what you are asking for, but I thought it was worth mentioning since it was written to solve the same problem. https://github.com/bodepd/scenari

Re: [Puppet Users] Can't get puppet manifest to run

2013-11-06 Thread Gabriel Filion
hello, On 06/11/13 08:29 PM, Philippe Conway wrote: > So I am an UBER-NOOB at Puppet. Today is my first day using it. I am > following along with the book: Puppet 3 Beginners guide. > > Everything was going fine until I start creating a nodes.pp file and > applying the site.pp. nodes need to be

[Puppet Users] Can't get puppet manifest to run

2013-11-06 Thread Philippe Conway
So I am an UBER-NOOB at Puppet. Today is my first day using it. I am following along with the book: Puppet 3 Beginners guide. Everything was going fine until I start creating a nodes.pp file and applying the site.pp. *The error I am getting is this:* [root@puppet-san2 manifests]# puppet apply

Re: [Puppet Users] Deployed custom facts with module do not show up

2013-11-06 Thread Sergey Sudakovich
Aha, I see so my puppet libdir is /var/lib/puppet/lib, but why when I install a module, it goes into /etc/puppet/modules? On Wednesday, November 6, 2013 5:07:39 PM UTC-8, Matthaus Litteken wrote: > > Sergey, > `facter -p` adds puppet's libdir to the load path to load module based > facts. When

Re: [Puppet Users] Deployed custom facts with module do not show up

2013-11-06 Thread Matthaus Owens
Sergey, `facter -p` adds puppet's libdir to the load path to load module based facts. When running against a master, facts are pluginsynced into this directory prior to facter running. You need to make sure that the facter directory from your module is in your puppet libdir (you can find out what y

[Puppet Users] Picking a pattern apart?

2013-11-06 Thread Matthew Barr
NOTE: of course, I just wrote this whole thing, and I think using a hiera lookup in the parameter might be about the same. That's at the end of this.I'd still like to know if it breaks scope or the renderer... However, it might be an option for overriding params.pp settings, without having

[Puppet Users] Re: Unable to locate package postgresql-client-unknown [SOLVED]

2013-11-06 Thread Mark Ruys
Okay, I found the cause. For security purposes, I editted /etc/issue. As a result, 'facter operatingsystemrelease' did not work correctly anymore. The Postgress module couldn't determine correctly the proper version anymore. Mark Op woensdag 6 november 2013 21:52:25 UTC+1 schreef Mark Ruys: > >

Re: [Puppet Users] Deployed custom facts with module do not show up

2013-11-06 Thread Sergey Sudakovich
Do deploy the module, I just do this: puppet module install -f license-0.1.0.tar.gz Then to test, i run puppet module list /etc/puppet/modules └──my-license (v0.1.0) facter -p gives me the same output and facter with no parameters. On Tuesday, November 5, 2013 5:48:46 PM UTC-8, Matthaus Litteke

[Puppet Users] augeas onlyif problem

2013-11-06 Thread Jist Anidiot
I'm trying to make sure a specific user has a special ssh key used as his identity file. so I'm trying something like: augeas{"user_second_key": context => "/files/home/user/.ssh/config", changes => [ "ins IdentityFile after /files/home/user/.ssh/config/IdentityFile[last()]",

[Puppet Users] Networker module

2013-11-06 Thread Andrei-Florian Staicu
Hi all, I've been trying to build a module for the networker backup software, however I don't feel confident enought to release it on the forge. While it does the job for my needs, it lacks even the basic spec-ing. I've been trying to get the hang of rspec-puppet, but from all the tutorials i've r

[Puppet Users] PuppetMaster and Puppet Client in the same machine

2013-11-06 Thread Marcelo Frota
Hi Dears, I am installing the puppetmaster server and puppet client is running in the same machine. When i running : puppet agent --test --waitforcert 30 I received the error : Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect ret

[Puppet Users] Unable to locate package postgresql-client-unknown

2013-11-06 Thread Mark Ruys
Suddenly, puppet agent won't run anymore on the master. I get the following error: Info: Caching catalog for puppet.cluster.ns.nl Info: Applying configuration version '1383770776' Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-client-unknown' re

[Puppet Users] require a defined type from another module

2013-11-06 Thread LTH
In module A: define A::foo() In module B: require A file{"bar": require => A::foo['baz'] } A::foo{"baz":} However puppet doesn't seem to like the syntax around require=>A::foo['baz']. Is there a way to do this? Thanks in advance. -- You received this message because you are subsc

[Puppet Users] Feeding errors back from custom ENC scripts

2013-11-06 Thread David Gordon
Hi All, I'm looking at integrating our Puppet 2.7.21 setup with an internal change management system. Essentially I need the master to check there is an open change window for a given node, and fail the run if not. I don't want to have to have a custom configuration on all the nodes (and this

Re: [Puppet Users] Puppet resource details using http api or puppetdb api

2013-11-06 Thread Nan Liu
On Wed, Nov 6, 2013 at 10:10 AM, Nan Liu wrote: > On Tue, Nov 5, 2013 at 8:50 PM, Riju Francis wrote: > >> Is there a way to get the package version or service status using the >> puppet api calls? >> >> Following resource commands show version/status in the output: >> puppet resource package ipt

Re: [Puppet Users] Puppet resource details using http api or puppetdb api

2013-11-06 Thread Nan Liu
On Tue, Nov 5, 2013 at 8:50 PM, Riju Francis wrote: > Is there a way to get the package version or service status using the > puppet api calls? > > Following resource commands show version/status in the output: > puppet resource package iptables > puppet resource service iptables > > Can the api

Re: [Puppet Users] Re: File() or Exec() temporary override?

2013-11-06 Thread Martin Langhoff
On Wed, Nov 6, 2013 at 9:55 AM, jcbollinger wrote: > . If that's not viable, then something close to the idea you proposed > should be possible: By "should be possible, do you mean that you know or think that Puppet supports it? > node 'fqdn' { # I work for RL :-) > include rl_users > inclu

[Puppet Users] Re: File() or Exec() temporary override?

2013-11-06 Thread jcbollinger
On Tuesday, November 5, 2013 9:11:38 AM UTC-6, Martin Langhoff wrote: > > Hi Puppeteers, > > When you have complex/rich classes, and large numbers of machines/VMs, > sometimes there is a machine that needs a temporary override on a > file. > > Is there a way to say something like... ? > >

[Puppet Users] Puppet resource details using http api or puppetdb api

2013-11-06 Thread Riju Francis
Is there a way to get the package version or service status using the puppet api calls? Following resource commands show version/status in the output: puppet resource package iptables puppet resource service iptables Can the api be used to get similar output? Thanks Riju -- You received this

[Puppet Users] Re: Zone-file out of LDAP

2013-11-06 Thread Paul Tötterman
Hi Steven, I want to put all the data, which is needed for my zone-files into > OpenLDAP. Next I need a tool, which creates zone-files out of the > information which is stored in OpenLDAP. > > Have you any idea how to do that? > http://www.venaas.no/dns/ldap2zone/ or https://github.com/ptma