Re: [Puppet Users] Re: Need a solution for "puppet node clean" (puppet v3.0.2)

2013-02-05 Thread David Kerr
On Tuesday, February 5, 2013 8:54:47 PM UTC-8, Josh Cooper wrote: > Hi David, > > On Tue, Feb 5, 2013 at 7:44 PM, David Kerr > > wrote: > > We upgraded to the new release of Puppet 3.1 and puppet node clean still > > doesn't work. > > > > I've found that the delete query comes back empty, bu

Re: [Puppet Users] Re: Need a solution for "puppet node clean" (puppet v3.0.2)

2013-02-05 Thread Josh Cooper
Hi David, On Tue, Feb 5, 2013 at 7:44 PM, David Kerr wrote: > We upgraded to the new release of Puppet 3.1 and puppet node clean still > doesn't work. > > I've found that the delete query comes back empty, but the node is still in > the system. > > puppet node deactivate still works. > > -- > You

[Puppet Users] Re: Need a solution for "puppet node clean" (puppet v3.0.2)

2013-02-05 Thread David Kerr
We upgraded to the new release of Puppet 3.1 and puppet node clean still doesn't work. I've found that the delete query comes back empty, but the node is still in the system. puppet node deactivate still works. -- You received this message because you are subscribed to the Google Groups "Pu

Re: [Puppet Users] Creating users and group with same name

2013-02-05 Thread John Julien
This appears to be a bug. I've opened a ticket for resolution. https://projects.puppetlabs.com/issues/19090 You can work around it by specifying the group in your user resource. #puppet resource user logstash ensure=present gid=logstash On Feb 5, 2013, at 10:01 AM, Abhijeet Rastogi wrote: I

[Puppet Users] Re: Could not retrieve catalog from remote server: Error 400 on SERVER: No managed repo yet for this distro.

2013-02-05 Thread Mailing Lists
After investigating a little futhur I found that the yaml file for this node (and puppetmaster) has only time stamps: --- !ruby/object:Puppet::Node classes: [] expiration: 2013-02-05 16:52:21.747019 -05:00 name: node parameters: environment: production "--- !ruby/sym _timestamp": -

[Puppet Users] How to set logging destinations via puppet.conf?

2013-02-05 Thread Kubes
All, Even though I have looked at the documentation and search this group, I can seem to find a clear answer. Can puppet logging preferences be controlled via puppet.conf? In the docs there are two variables that control this: puppetdlog

Re: [Puppet Users] Inventory access forbidden

2013-02-05 Thread khouse
This is literally the exact answer to my problems. Thanks!!! On Thursday, July 5, 2012 4:06:10 AM UTC-4, Matthew Burgess wrote: > > On Thu, Jul 5, 2012 at 2:52 AM, Dennis Jacobfeuerborn > > wrote: > > Hi, > > I've just set up a puppet server using passenger plus the dashboard and > > these par

[Puppet Users] Re: Best way for conditional dependency?

2013-02-05 Thread joe
If freeipa-client will be on all systems, just order it the other way. In the user module, make your class before freeipa-client. That way, the ordering is only in place when you include the user class. On Tuesday, February 5, 2013 11:21:30 AM UTC-7, Bret Wortman wrote: > > I have a situation w

[Puppet Users] Re: Puppet custom recursive directory synchronization

2013-02-05 Thread Andriy Yurchuk
I ended up implementing this using Puppet Ruby DSL. -- 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+unsubscr...@googlegroups.com. To post to this gr

Re: [Puppet Users] Problems with PuppetLabs Yum Repo

2013-02-05 Thread Dan White
Thanks, Moses, for your responses. I found it ! I was shooting my own foot with yum-priorities. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) - Original Message ---

[Puppet Users] Referencing a variable in template, loaded from Ruby DSL each loop

2013-02-05 Thread Andriy Yurchuk
hostclass :class do items = scope.lookupvar('items_list') items.each do |item| file("/etc/init.d/#{item}", :content => template(['class/item_init.erb'])) end end Having this class written in Ruby DSL, how do I properly reference the itemvariable in the template? I tried <%= it

Re: [Puppet Users] Recent RoR Vulns and puppet 3x on RHEL 6?

2013-02-05 Thread Kodiak Firesmith
Thanks for the confirmation, Michael. On Monday, February 4, 2013 6:26:17 PM UTC-5, Michael Stanhke wrote: > > Unless you've elected to use legacy storeconfigs (with activerecord), > you are correct, your system should not be vulnerable. > > stahnma > > > > On Mon, Feb 4, 2013 at 6:15 AM, Kodia

[Puppet Users] Best way for conditional dependency?

2013-02-05 Thread Bret Wortman
I have a situation where I have a module which manages some user accounts which, if required by a system, need to be physically present on that box. I have another module which sets up freeipa-client for all systems. The catch is that when the first module is present, it needs to be installed p

Re: [Puppet Users] Problems with PuppetLabs Yum Repo

2013-02-05 Thread Moses Mendoza
Hey Dan, I couldn't replicate the issue, I was able to install the el5 package from yum.puppetlabs.com without issue. Perhaps you have a stale metadata issue? Moses -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

[Puppet Users] Re: Puppet/Juniper Networks automation discussion at BAJUG March 6th

2013-02-05 Thread Derick Winkworth
Here are some more details: Please tell your friends and co-workers about the event. We welcome newcomers. Please register at: *http://bajug.eventbrite.com* The keynote for BAJUG3 will be introducing Puppet Labs and Junos. It's now possible to do configuration

Re: [Puppet Users] hiera query yaml parameters

2013-02-05 Thread roadtest
you are right again:-) For people who are new to puppet, here is the installation instruction - http://forge.puppetlabs.com/puppetlabs/stdlib. stdlib is built in Puppet Enterprise and needs to be installed for community version. cheers, carl On Tuesday, February 5, 2013 11:28:46 AM UTC-5,

Re: [Puppet Users] Is it possible to generate a sequence in a template?

2013-02-05 Thread David Kerr
On Tuesday, February 5, 2013 6:27:26 AM UTC-8, jcbollinger wrote: > > > > On Monday, February 4, 2013 11:49:24 PM UTC-6, David Kerr wrote: >> >> >> >> On Monday, February 4, 2013 9:07:49 PM UTC-8, Aaron Russo wrote: >>> >>> >>> On Mon, Feb 4, 2013 at 7:37 PM, David Kerr wrote: >>> <% @foo =

RE: [Puppet Users] hiera query yaml parameters

2013-02-05 Thread Steven Nemetz
keys comes form the PuppetLab's stdlib moduleSo does is_array and a bunch of other nice functions Steven Date: Tue, 5 Feb 2013 07:12:45 -0800 From: rai...@gmail.com To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] hiera query yaml parameters Steven, thanks for your reply! You are

[Puppet Users] Problems with PuppetLabs Yum Repo

2013-02-05 Thread Dan White
Trying to update a RHEL5 x86_64 server Yum sees puppet-server 3.1.0-1.el5, but does not see puppet 3.1.0-1.el5 I tried cleaning out the cache and trying again, but no luck. I am going to download the RPM and localinstall it so I am not held up. “Sometimes I think the surest sign that intell

[Puppet Users] No reports when using refreshonly => true

2013-02-05 Thread Romain LE DISEZ
Hello all, I'm trying to get notified each time a file is changed. Puppet Master : 3.1.0 Puppet Agent : 3.1.0 I use tagmail for reports, it works fine. tagmail.conf: warning, err, alert, emerg, crit: ad...@example.com My config is : file { 'vps-functions': path=> '/usr/lib

Re: [Puppet Users] Creating users and group with same name

2013-02-05 Thread Abhijeet Rastogi
I don't even have it installed. Thing is, I can add the user by using "-g". But, why is puppet not able to do so, that's what is wondering me. On Tuesday, February 5, 2013 8:51:37 PM UTC+5:30, Jesse Throwe wrote: > > Generally when I see weird errors like this with users/group nscd has > gotten

Re: [Puppet Users] Creating users and group with same name

2013-02-05 Thread Throwe, Jesse
Generally when I see weird errors like this with users/group nscd has gotten in my way. Might be worth disabling nscd (and making sure its really off) then trying this again. On Tue, Feb 5, 2013 at 9:33 AM, shadyabhi wrote: > Hi, > > This is precisely what I am observing. > > [root@index11 ~]#

Re: [Puppet Users] hiera query yaml parameters

2013-02-05 Thread roadtest
Steven, thanks for your reply! You are right. It is unnecessary using create_resource to query yaml parameters. It can be done directly as following: $sshd_hash = hiera(os_users) $server_ssh_keys = $sshd_hash[$username][ssh_keys][key] format of my os_users yaml file was not correct, that is wh

[Puppet Users] Creating users and group with same name

2013-02-05 Thread shadyabhi
Hi, This is precisely what I am observing. [root@index11 ~]# puppet resource group logstash ensure=present notice: /Group[logstash]/ensure: created group { 'logstash': ensure => 'present', } [root@index11 ~]# puppet resource user logstash ensure=present err: /User[logstash]/ensure: change from

Re: [Puppet Users] Is it possible to generate a sequence in a template?

2013-02-05 Thread jcbollinger
On Monday, February 4, 2013 11:49:24 PM UTC-6, David Kerr wrote: > > > > On Monday, February 4, 2013 9:07:49 PM UTC-8, Aaron Russo wrote: >> >> >> On Mon, Feb 4, 2013 at 7:37 PM, David Kerr wrote: >> >>> <% @foo = 0 %> >>> <% Array(bar).each do |flan| -%> >>> value <%= @foo %> >>> <% @foo += 1 %

[Puppet Users] Could not retrieve catalog from remote server: Error 400 on SERVER: No managed repo yet for this distro.

2013-02-05 Thread Mailing Lists
I'm hoping someone else has experienced the error. The puppetmaster and agent are on the same system and its having trouble pulling the facter variables. I've got storedconfigs on MySQL and the last time this happened I deleted the configs and it started working again. This pops up every couple of

Re: [Puppet Users] Re: Split node definition into multiple files

2013-02-05 Thread jcbollinger
On Monday, February 4, 2013 4:40:19 PM UTC-6, Andre Keller wrote: > > > Is there a way to automatically include child classes? Something like > include myzones::* :-) > > No, not as such. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" gr

[Puppet Users] How to set logging destinations via puppet.conf?

2013-02-05 Thread Kubes
All, Even though I have looked at the documentation and search this group, I can seem to find a clear answer. Can puppet logging preferences be controlled via puppet.conf? In the docs there are two variables that control this: puppetdlog

[Puppet Users] dashboard permission issue

2013-02-05 Thread sgd . eriksson
I'm having trouble getting puppet dashboard (1.2.21) to run on apache. i installed puppetmaster-passenger and puppet-dashboard package. It didn't create user puppet-dashboard automatically as stated in the installation guide, so i created one manually and chowned all files under /puppet-dashboar

[Puppet Users] Re: Fun and games with defined types :(

2013-02-05 Thread Gavin Williams
Doh, just had that brain-wave moment... I forgot to include the tnsnames class in my parent server definition class... Added it as an include and now working perfectly... Cheers Gavin On Tuesday, 5 February 2013 11:35:31 UTC, Gavin Williams wrote: > > Morning all > > I'm currently scratching

Re: [Puppet Users] Re: puppet client 0.22.1-1 unable to communicate with master on 3.0.2-1

2013-02-05 Thread David Schmitt
On 04.02.2013 12:55, Chux wrote: Nick, This is not looking promising .. dapper is on ruby 1.8.4, and the nearest ubuntu version that could get me up to ruby 1.8.5 is feisty .. So, I modified apt preferences, to try and pull in the right versions of ruby from feisty (had to do the same for puppe

[Puppet Users] Fun and games with defined types :(

2013-02-05 Thread Gavin Williams
Morning all I'm currently scratching my head with this one, as it's something I've done several times already in this module... Anyways, the problem... I'm trying to create a defined type which will add a new fragment to a concat file... The class/define is: https://gist.github.com/fatmcgav

Re: [Puppet Users] Augeas and defvar --> regexp

2013-02-05 Thread Dominic Cleal
On 01/02/13 10:35, "Schöke, Karsten" wrote: > Hallo, > > > > I have a problem to include augeas… > > I will to change a comment to a entry in /etc/default/tmpfs in Debian > Wheezy. > > The comment is > > #RAMTMP=no > > > > I try this on augtool und it is running: > > augtool> defvar ram

[Puppet Users] Re: puppet creating AWS EC instances

2013-02-05 Thread PuppetUser
Hi Salum I used latest fog and the errors are gone. Thanks for that. Regards PuppetUsers On Saturday, February 2, 2013 12:03:35 AM UTC+5:30, Felipe Salum wrote: > Upgrade to latest fog and the errors are gone. > > On Friday, February 1, 2013 1:34:50 AM UTC-8, PuppetUser wrote: >> >> H

Re: [Puppet Users] puppet-module error with 3.0.2

2013-02-05 Thread Phips
On Thursday, January 17, 2013 10:05:38 AM UTC, Dominic Cleal wrote: > > On 17/01/13 09:53, Mark Phillips wrote: > > Hey Folks, > > > > Has anybody seen this when using puppet-module, installed via gem, in > puppet > > 3.0.2 on CentOS 6.3? > > You don't want to use the puppet-module gem, you w