[Puppet Users] Packages on fedora19

2013-07-03 Thread Tony G.
Howdy! Probably this is being worked but just throwing it out there as f19 is already out, I guess the package for it will be soon available on http://yum.puppetlabs.com/fedora/ ? Thanks! -- Tony http://tonyskapunk.net -- You received this message because you are subscribed to the Google Grou

Re: [Puppet Users] Puppet apache config for vhost

2012-02-28 Thread Tony G.
On Tue, Feb 28, 2012 at 5:06 AM, Danijel Krmar wrote: > Hi there puppeters :), > > I hope you can help me with a situation. Namely, I will use puppet to > deploy many (I mean really many) nodes with Apache installed. The > problem I have is that for now the only way to create a vhost with a > spe

Re: [Puppet Users] Chmoding files in directory with around 33000 files is slow

2011-12-03 Thread Tony G.
On Dec 2, 2011 4:03 PM, "Michael Stahnke" wrote: > > On Fri, Dec 2, 2011 at 1:57 PM, Nigel Kersten wrote: > > > > > > On Fri, Dec 2, 2011 at 7:41 AM, Idar Borlaug wrote: > >> > >> Hi > >> > >> Just wanted to know if anyhow has a great workaround for modifing user > >> and group in a folder with

Re: [Puppet Users] undefined method `initvars'

2011-07-26 Thread Tony G.
Try enabling debug and trace on your agent, that will provide more details. On Tue, Jul 26, 2011 at 11:17 AM, Sean Carolan wrote: > We are seeing this error in our log files on some clients: > > puppetd[15068]: Could not run Puppet configuration client: undefined > method `initvars' for # > > Wh

Re: [Puppet Users] syntax highlighting on emacs

2011-06-29 Thread Tony G.
On Tue, Jun 28, 2011 at 2:00 PM, Sylvain wrote: > Hi guys, > > I'm trying to install the syntax highlighting on emacs for Puppet. > I'm using the configuration files provide on > http://projects.reductivelabs.com/repositories/browse/puppet/ext/emacs > > When I open a .pp file I got this error: >

Re: [Puppet Users] Classes not imported on a directory with the same module name.

2011-04-26 Thread Tony G.
On Tue, Apr 26, 2011 at 11:35 AM, Nan Liu wrote: > On Tue, Apr 26, 2011 at 6:52 AM, Tony G. wrote: > > > > > > On Tue, Apr 26, 2011 at 8:22 AM, Felix Frank > > wrote: > >> > >> Hi, > >> > >> On 04/22/2011 06:48 PM, Tony G. wro

Re: [Puppet Users] Classes not imported on a directory with the same module name.

2011-04-26 Thread Tony G.
On Tue, Apr 26, 2011 at 8:22 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > Hi, > > On 04/22/2011 06:48 PM, Tony G. wrote: > > Hi all, > > > > Found a situation on which all classes inside a directory are ignored, > > this when the dire

[Puppet Users] Classes not imported on a directory with the same module name.

2011-04-22 Thread Tony G.
Hi all, Found a situation on which all classes inside a directory are ignored, this when the directory name is the same as a module name. err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class bar at /opt/puppet/test/nodes/gnucloud.tonyskapunk.net.pp:2 on no

Re: [Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-10 Thread Tony G.
I tried with rc4, upgradec to rc5 and same behavior, which version you tested out before, I recall testing on 1.5.7 too, with the same thing. Thanks. On Sun, Apr 10, 2011 at 8:42 PM, Cody Robertson wrote: > Er, I upgraded to Facter rc5* > > -- > You received this message because you are subscr

Re: [Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-10 Thread Tony G.
Facter 1.5.9 Thanks sent from my android On Apr 10, 2011 4:09 PM, "Cody Robertson" wrote: Strange - in the example I used the file is named lvemanager_versions.rb while the facts are lvemanager_version and lvecpanel_version. Although it's highly unlikely this is the problem I'm running facter

Re: [Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-10 Thread Tony G.
On Sun, Apr 10, 2011 at 1:56 PM, Cody Robertson wrote: > Can you invoke any custom facts at all? I suspect it facter might not be > looking in the right directory for your puppet facts and thus it's not > finding them when run it locally. > > I've confirmed no issue with defining multiple facts i

Re: [Puppet Users] $environment in File source not working

2011-04-06 Thread Tony G.
On Wed, Apr 6, 2011 at 9:18 PM, Nigel Kersten wrote: > On Wed, Apr 6, 2011 at 6:38 PM, Mohamed Lrhazi wrote: > > am I doing something wrong? > > > > this seems to never find my .$env file: > > > > source => [ > >"puppet:///modules/gu_puppet/puppet.conf.$fqdn", > >"puppet:

[Puppet Users] Mutliple custom facts not showing in facter

2011-04-06 Thread Tony G.
Hi, I've noticed that defining multiple facts in one file is possible, and puppet can make use of them correctly, but when trying to call with facter --puppet they are not shown, do I need something special to make them work as any other single custom fact? Master is running 2.6.7 This is a cust

Re: [Puppet Users] facter --puppet does not report "environment"

2011-01-07 Thread Tony G.
It probably would be good idea to have a facter of the environment, guess that could be a very quick way to know what environment the client/agent is using. On Fri, Jan 7, 2011 at 9:02 AM, Nigel Kersten wrote: > On Fri, Jan 7, 2011 at 6:07 AM, Mohamed Lrhazi wrote: > > Thanks a lot Nigel... I

[Puppet Users] Plugin dependencies

2010-11-16 Thread Tony G.
Hi, I'm attempting to move from 0.24.x to 2.6.x :) trying to fix all those parts that have changed, and found that the use of plugins we are doing is probably not the best approach hoping you can help me with comments regarding this use case. In our working 0.24.x environment we had to make use o

Re: [Puppet Users] Realizing wrong ssh key for the wrong user

2010-11-09 Thread Tony G.
Tobias, On Tue, Nov 9, 2010 at 1:11 PM, Tobias Lott wrote: > Hey Everyone > > I've defined my users in a class called 'user::virtual' and the included > user::server1 class to realize the users for a nodegroup. > > Problem is puppet is trying to realize all keys for all the user. > f.e. user pet

Re: [Puppet Users] Override puppet environment at the command line

2010-10-05 Thread Tony G.
Kenneth, On Tue, Oct 5, 2010 at 8:20 AM, Kenneth Holter wrote: > Hi all. > > > My puppet client has "environment = envA" defined in > /etc/puppet/puppet.conf, but I'd like to override this manuall at the > command line: "puppetd --server puppet.master.com --environment=envB". > This doens't seem

Re: [Puppet Users] Variables with class inheritance and templates

2010-09-28 Thread Tony G.
Darren, On Tue, Sep 28, 2010 at 11:01 AM, Darren Worrall wrote: > With a manifest like so: > > class base { > $myvar = '1234' > file { >'/tmp/foo': > content => template('test.erb') > } > } > > class newbase inherits base { > $myvar = '5678' > } > > node default { > include newbase

Re: [Puppet Users] YUMREPO { productname => PowerEdge 2650}

2010-09-28 Thread Tony G.
Henry, On Tue, Sep 28, 2010 at 9:12 AM, CraftyTech wrote: > Hello All, > > How do I specify a variable that has a space in it? I'm trying > to setup a yum repo that has two different baseurl's based on the > product name ($productname). Default goes one way, but if the product > is "Power

Re: [Puppet Users] best way to include a variable in many modules ?

2010-09-23 Thread Tony G.
http://projects.puppetlabs.com/projects/1/wiki/Resolv_Conf_Patterns On Thu, Sep 23, 2010 at 11:36 AM, Daniel Maher wrote: > Hello, > > I have two sites with a small number of machines at each. Each site is > functionally identical. I would like to set up a bunch of templates for the > various

Re: [Puppet Users] Need advice on managing large Centos environment

2010-09-22 Thread Tony G.
Hi Lezz, Another approach is to maintain your own repos by freezing them over time, e.g. monthly pull the latest packages for your repos and put them as your frozen repo, provide these frozen repos through puppet and once you have validated all the updates in the frozen repos you can relase those

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-27 Thread Tony G.
I recall someone started a translation to Chinese, I'll be happy to help with Spanish, and I've seen some French speakers into the list that might be interested. Thanks. On Fri, Aug 27, 2010 at 5:39 PM, James Turnbull wrote: > Tony G. wrote: > > Is there any way to contrib

Re: [Puppet Users] Documentation contribution opportunity - Please help!

2010-08-27 Thread Tony G.
Is there any way to contribute translating the current docs into different languages? Thanks. On Fri, Aug 27, 2010 at 3:16 PM, James Turnbull wrote: > Rob McBroom wrote: > > > > Sounds like it's mostly taken care of. Is there any need for someone to > go through http://github.com/reductivelabs/p

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread Tony G.
Hi Bob, Doing the same for LDAP+TLS, it gives me the advantage of not creating another set of cert/key per machine, besides they are distributed with puppet, at the beginning I was tempted to use only symlnks to them but later I decided to make a copy of them and I've started to use like that with

Re: [Puppet Users] a basic(?) mount resource

2010-08-05 Thread Tony G.
On Thu, Aug 5, 2010 at 7:41 AM, Rob McBroom wrote: > On Aug 4, 2010, at 3:11 PM, Tony G. wrote: > > >> If I add `ensure => present`, the entry gets added, but according to the > documentation, "if the filesystem is currently mounted, it will be > unmounted"

Re: [Puppet Users] a basic(?) mount resource

2010-08-04 Thread Tony G.
On Wed, Aug 4, 2010 at 12:32 PM, Rob McBroom wrote: > I'm trying to use the native `mount` type for the first time and I seem to > have encountered a bug. Here's a simple test I put together: > >mount { "/unixteam": > device => "some_server:/vol/UnixTeam", > fstype => "nfs", > o

Re: [Puppet Users] Struggling with syntax

2010-07-23 Thread Tony G.
On Fri, Jul 23, 2010 at 7:22 AM, ScubaDude wrote: > Can someone point me in the right direction, I've got two "source" > files one 32bit, on 64bit > I've got it to work using the ternary operator but get syntax errors > if I try to use a case: > > Works: > > class audit { > >package { >

Re: [Puppet Users] apt-rpm package downgrade

2010-07-13 Thread Tony G.
Hi Antony On Tue, Jul 13, 2010 at 6:53 AM, Antony Mayi wrote: > Hi, > > I am using apt-rpm provider and have following manifest for keeping some > package at particular version > > package { "somepackage": > ensure => "1.0.0" > } > > however if from some reason the package gets upgraded

Re: [Puppet Users] Puppet package uninstall question

2010-06-16 Thread Tony G.
On Wed, Jun 16, 2010 at 12:02 PM, Roshan wrote: > This may be a really simple question. I have defined a package to > ensure=>latest in one of my modules. In the nodes.pp, I have the > module included, and the package installs fine. > > Now I want to remove the module/package from my server. Can't

Re: [Puppet Users] Re: External Nodes

2010-05-17 Thread Tony G.
According to experience what's the pros/cons of those methods to store the nodes? Like ldap, DB, a library/framework like clusto/puppetdashboard/foreman etc. Thanks On Sat, May 15, 2010 at 5:22 PM, Silviu Paragina wrote: > On 15.05.2010 00:30, Baker, Luke Jefferson wrote: > >> Speaking of exte

Re: [Puppet Users] RE: variable interpolation weirdness

2010-04-21 Thread Tony G.
On Wed, Apr 21, 2010 at 8:42 PM, Sukh Khehra wrote: > Forgot to mention that I am running version puppet-0.25.4-1 on both > sides on centos 5.4. > > -Original Message- > From: Sukh Khehra > Sent: Wednesday, April 21, 2010 8:39 PM > To: 'puppet-users@googlegroups.com' > Subject: variable i

Re: [Puppet Users] Puppet high-availability

2010-04-13 Thread Tony G.
On Tue, Apr 13, 2010 at 7:57 PM, Scott Smith wrote: > On 4/13/10 3:26 PM, SyRenity wrote: > >> Hi. >> >> I asked this question in past on this list, and now working to set it >> running. >> >> My idea is to have 2 Puppet servers, who are also the DNS servers. >> Each one would have itself as the

Re: [Puppet Users] Cron question

2010-04-12 Thread Tony G.
On Mon, Apr 12, 2010 at 2:54 PM, Darvin Denmian wrote: > Hello, > > even removing one double quote I got the same error: > > "-":6: bad minute > errors in crontab file, can't install. > > Thanks! > > On Mon, Apr 12, 2010 at 6:49 PM, Frank Sweetser wrote: > > On 04/12/2010 05:45 PM, Darvin Denmian

Re: [Puppet Users] Re: Yum provider using version-release as version?

2010-04-12 Thread Tony G.
Didn't find a bug related to this, I have created: http://projects.puppetlabs.com/issues/3538 Thanks On Mon, Apr 12, 2010 at 7:00 AM, Michael DeHaan wrote: > >> I think you're saying that Puppet isn't comparing installed packages > >> quite the way yum does, and that yum would be able to find th

Re: [Puppet Users] Re: Yum provider using version-release as version?

2010-04-10 Thread Tony G.
Hi On Sat, Apr 10, 2010 at 2:33 PM, Ken wrote: > > let's step back a moment before we discuss implementation or changes. > > There's little harm in being conceptual - especially when I won't have > to implement it :-). > > > What package did you have installed before running the command (I > > a

[Puppet Users] Yum provider using version-release as version?

2010-04-09 Thread Tony G.
Hi, I'm using yum as our package provider and having an issue. Puppet is complaining of the version, this is the code I'm trying to implement: $snmp_version = "5.3.2.2" package { "net-snmp": ensure => "${snmp_version}"; } On the client I got: debug: //Node[client.example.com]/snmp::base/Package[

Re: [Puppet Users] Do not edit above this line policy

2010-04-03 Thread Tony G.
2010/4/3 Jesús M. Navarro > Hi, list: > > I'm on my first steps using Puppet. Now that the easiest parts are somehow > tamed more and more questions do arise. But let's go one by one. > > For some computers/services we delegate some parts of their administration > (i.e. development environments

Re: [Puppet Users] Directory structure?

2010-03-22 Thread Tony G.
I have same structure, but interested if there is any other out there. On Mon, Mar 22, 2010 at 4:33 PM, Nigel Kersten wrote: > You should use 'lib' instead of 'plugins' for 0.25.x clients. > > Otherwise that's exactly how I have things laid out. > > > On Mon, Mar 22, 2010 at 4:24 PM, Allan Marcu

Re: [Puppet Users] Behavior of Environments -- Bug?

2010-03-22 Thread Tony G.
if anyone has a counter-argument. > > --Paul > > On Mon, Mar 22, 2010 at 10:59 AM, Tony G. wrote: > > Hi Paul, > > > > How does your config file look like in the main section? > > > > There is a default one if no environment is defined, e.g. > > > > envi

Re: [Puppet Users] Behavior of Environments -- Bug?

2010-03-22 Thread Tony G.
Hi Paul, How does your config file look like in the main section? There is a default one if no environment is defined, e.g. environments = production,testing,development* manifest = /opt/puppet/production/site.pp <-- These are the modulepath = /opt/puppet/production/modules <-- default

Re: [Puppet Users] Puppet Client using wrong environment.

2010-03-18 Thread Tony G.
pened with puppetd: open("/etc/puppet/puppetd.conf", O_RDONLY) = 3 open("/etc/puppet/puppet.conf", O_RDONLY) = 4 I assume it attempts to read puppetd.conf as it was the old config file, but should it ignore the environment flag as it's doing it? Thanks On Thu, Mar 18, 2010

Re: [Puppet Users] Puppet Client using wrong environment.

2010-03-18 Thread Tony G.
When no environment is defined it uses production, per my notes: environments = production,testing,development manifest = /opt/puppet/production/site.pp modulepath = /opt/puppet/production/modules This is part of [main]. On Wed, Mar 17, 2010 at 5:00 PM, Rob McBroom wrote: > How is the

[Puppet Users] Puppet Client using wrong environment.

2010-03-17 Thread Tony G.
Hi, I exposed few days ago this situation on the IRC, but unfortunately I haven't found a way to solve it yet. I run the Puppet Master with multiple environments, and everything is working good but a couple of nodes that are causing me some troubles. These nodes are pointing to my production env

Re: [Puppet Users] Re: Strange Problem with ldap Systems

2010-03-04 Thread Tony G.
> # id storage > uid=902(storage) gid=902(storage) groups=126(log),902(storage) > only files in nsswitch.conf: > id storage > uid=902(storage) gid=902(storage) groups=126(log),902(storage) > > Do you have any other ideas? > > Do you think the problem could arise fro

Re: [Puppet Users] Re: Strange Problem with ldap Systems

2010-03-02 Thread Tony G.
p', >home=> '/application/home/auser', >shell => '/bin/bash', > require => [ Group['auser'], Group['agroup'] ], >} > > I have no idea what is going wrong. > > > On Mar 2, 4

Re: [Puppet Users] Strange Problem with ldap Systems

2010-03-02 Thread Tony G.
Hi Rene, Couple of things you might check: Do you have the agroup defined in LDAP too? If so that ldap group might have a differente gid as the local one. How looks the definition of the user in users::db? On Tue, Mar 2, 2010 at 8:44 AM, Rene wrote: > On the System we have defined the user a

Re: [Puppet Users] $servername when running standalone puppet

2010-01-28 Thread Tony G.
Have you tried with --server ? I have a Test Puppetmaster where I change configs and for testing I can run on a client the new configuration with puppeetd --test --server mytestserver.example.com ... Hope that helps. On Thu, Jan 28, 2010 at 1:23 PM, steve.majew...@gmail.com < steve.majew...@gma

Re: [Puppet Users] Re: Downgrade package via yum

2010-01-15 Thread Tony G.
el5 While Dev/Prod uses: puppet-server-0.24.8-1.el5.1 puppet-0.24.8-4.el5 The yum.rb remains the same on the clients when getting in contact with the puppetmaster. On the Dev Env I've deleted the $vardir to pull the full content, but still gets the old yum.rb Any ideas of what might be g

Re: [Puppet Users] Re: Downgrade package via yum

2009-12-23 Thread Tony G.
I was able to perform the downgrade with the patchprovided in the feature request #2866. Dec 23 10:28:00 puppetclient puppetd[17147]: (//Node[ puppetclient.example.com]/common/common::nagios/Package[nrpe_custom]/ensure) e

Re: [Puppet Users] Re: Downgrade package via yum

2009-12-23 Thread Tony G.
Thanks all for the comments, I noticed that there is an open request for this: http://projects.reductivelabs.com/issues/2866 @John: both rpms are x86_64 Thanks On Tue, Dec 22, 2009 at 8:27 AM, jcbollinger wrote: > > > On Dec 22, 12:36 am, "Tony G." wrote: > >

Re: [Puppet Users] Downgrade package via yum

2009-12-21 Thread Tony G.
on't be able to downgrade packages via yum. Comments? Thanks! On Fri, Dec 18, 2009 at 7:39 PM, Silviu Paragina wrote: > You may try to use the debug method I described here > > http://groups.google.com/group/puppet-users/browse_thread/thread/40a0cbdc8ade0d71/099af2828b89871e?lnk=g

[Puppet Users] Downgrade package via yum

2009-12-18 Thread Tony G.
Hi, On our organization we have custom npre packages distributed via yum, few days ago a new test package was updated in the repository and new nodes installed this version, the code looked like this: class common::nagios { package { "nrpe_custom": ensure => "installed" } } To attempt to fix i

Re: [Puppet Users] Timestamps need to be in sync on all puppetmasters?

2009-12-11 Thread Tony G.
sum changed '*{mtime}Thu Oct 08 06:07:35 -0700 2009*' to '{mtime}Fri Dec 11 20:04:01 + 2009' Thanks On Tue, Dec 8, 2009 at 6:07 PM, Tony G. wrote: > The output is the same on both: > > puppetmaster: > $ ruby -e 'puts Time.at(0)' > Thu Jan 01

Re: [Puppet Users] Timestamps need to be in sync on all puppetmasters?

2009-12-08 Thread Tony G.
>> In case ruby treats timezones different from how it should (how I think it >> should actually) >> >> >> Silviu >> >> >> On 09.12.2009 03:21, Tony G. wrote: >> >> Hi, >> >> They are supposed to have GMT: >> puppetmaste

Re: [Puppet Users] Timestamps need to be in sync on all puppetmasters?

2009-12-08 Thread Tony G.
t; On 08.12.2009 22:43, Digant C Kasundra wrote: > > This is similar to what I'm talking about. It looks like this resource > is specifically using modified time as the "checksum." Is this something > you've configured or is this a default of those directories a

Re: [Puppet Users] Timestamps need to be in sync on all puppetmasters?

2009-12-03 Thread Tony G.
I've see this very often but not sure if this is the issue you are describing: Dec 4 03:36:19 puppetclient puppetd[16163]: (/File[/var/lib/puppet/lib]/checksum) checksum changed '{mtime}Fri Oct 30 11:05:32 -0700 2009' to '{mtime}Fri Oct 30 18:05:50 + 2009' Dec 4 03:36:20 puppetclient puppetd