Re: [Puppet Users] Re: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82

2012-06-28 Thread Felix Frank
Hi, I don't really know how this even compiles, but here's what I think needs changin. Before you go on with this - do you have pressing reasons for not using package { gemname: provider = gem } ? On 06/27/2012 10:14 PM, llow...@oreillyauto.com wrote: define ruby::gemInstall ( r_gem =

[Puppet Users] puppet node report

2012-06-28 Thread hai wu
Is there a way to download latest node report log from puppet dashboard? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to

[Puppet Users] freebsd ports config, cache distfiles

2012-06-28 Thread Gregory Orange
Hi everyone, first post. I've got Puppet installed on a FreeBSD 8.3 client server from the guides, and deploying simple packages from the default node and a node which inherits it. I have /usr/ports mounted via NFS from the puppet server. I have two queries now: 1. For more complicated

Re: [Puppet Users] Fwd: possible changes to puppet config file

2012-06-28 Thread David Schmitt
On 26.06.2012 10:04, Felix Frank wrote: Hi, On 06/26/2012 02:01 AM, Chris Price wrote: Slightly longer term, we are thinking of simply removing support for run-mode-specific configuration sections in the puppet.conf file. We would only allow three sections: main (possibly renamed to global

Re: [Puppet Users] Re: error after upgrading from 2.7.14-2puppetlabs1 to 2.7.17-1puppetlabs1

2012-06-28 Thread Erik Dalén
On 28 June 2012 02:00, Jeff McCune j...@puppetlabs.com wrote: On Wed, Jun 27, 2012 at 3:36 PM, llow...@oreillyauto.com I had originally thought that 3.X would be the change where it went from warning to error, but it looks like they pushed this out with 2.7.17 for whatever reason. It was

Re: [Puppet Users] Re: error after upgrading from 2.7.14-2puppetlabs1 to 2.7.17-1puppetlabs1

2012-06-28 Thread R.I.Pienaar
- Original Message - From: Erik Dalén erik.gustav.da...@gmail.com To: puppet-users@googlegroups.com Sent: Thursday, June 28, 2012 9:42:43 AM Subject: Re: [Puppet Users] Re: error after upgrading from 2.7.14-2puppetlabs1 to 2.7.17-1puppetlabs1 On 28 June 2012 02:00, Jeff McCune

Re: [Puppet Users] Re: error after upgrading from 2.7.14-2puppetlabs1 to 2.7.17-1puppetlabs1

2012-06-28 Thread Steph Gosling
Hi, On Thu, 28 Jun 2012 10:42:43 +0200 Erik Dalén erik.gustav.da...@gmail.com wrote: We unfortunately still have some classes with dashes in the names but no variables, so I want to know if it is safe to upgrade to 2.7.17? For us at least classes like this still work with .17. I should say

Re: [Puppet Users] Error 400 on SERVER: invalid value for Integer

2012-06-28 Thread Kmbu
Hi, I'm almost 100% sure I saw this before I even implemented Apache/Passenger...so I would say quite confidently that it's not Passenger related. My database server is very very underutilized at the moment, so I'm also quite sure it's not a load issue on MySQL. But if it were a server-side

Re: [Puppet Users] Error 400 on SERVER: invalid value for Integer

2012-06-28 Thread Felix Frank
Hi, On 06/28/2012 12:12 PM, Kmbu wrote: But if it were a server-side issue, why would the error code be 400 (bad request)? well, any HTTP server can issue 400 codes whenever it pleases, puppet is not obliged to restrict the code to broken request headers. That being said, you can of course

[Puppet Users] Re: Is it possible to access type params in another type?

2012-06-28 Thread Yanis Guenane
John, thanks a lot for your answers. I was doing it this way at first, but I thought that providing native type would be much simpler for end users. The same way puppet is providing native types for Nagios I wanted to create native type for the application I need. Anyway I'll get back to

[Puppet Users] Execute a shell script residing in puppet master

2012-06-28 Thread kalaniS
I'm a newbie to puppet and have been trying to execute a shell script residing in puppet master machine in a puppet agent, with no luck so far. Would appreciate any ideas on how to do this. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post

[Puppet Users] Trying link to home directory

2012-06-28 Thread eduardo
Dears all, I have been master and agent in the same machine, to did it I took from http://madduck.net/blog/2010.03.11:splitting-puppetd-from-puppetmaster/, so /var/lib/puppetmaster is the puppet working directory for both. I need to have a repository on my $HOME nowadays owned by me, so I

Re: [Puppet Users] Trying link to home directory

2012-06-28 Thread Juan Sierra Pons
2012/6/28 eduardo erodr...@gmail.com: Dears all,  I have been master and agent in the same machine, to did it I took from http://madduck.net/blog/2010.03.11:splitting-puppetd-from-puppetmaster/, so /var/lib/puppetmaster is the puppet working directory for both.  I need to have a repository

[Puppet Users] Re: Trying link to home directory

2012-06-28 Thread eduardo
Thanks you Juan for quick answer. You are right, i was not clear. I began showing my scenario and the way i found to have master and agent in my pc. I need to have /etc/puppet tree in my home directory owned by me, we are a group having git repositories to development colaboration. Thanks

[Puppet Users] packaging puppet modules

2012-06-28 Thread Ken Dreyer
Hi Puppet folks, I'm a Fedora packager, and I'm looking into packaging up some of the modules at http://forge.puppetlabs.com/users/puppetlabs I'm thinking through the naming scheme for modules. It looks like the upstream modules include the creators' names as part of the package names, which

Re: [Puppet Users] system users class hogging whole cpu

2012-06-28 Thread jcbollinger
On Wednesday, June 27, 2012 8:14:21 AM UTC-5, Azfar Hashmi wrote: Thanks Jhon for the response but I am still in black-hole. After doing what, exactly? Did you actually try adding these users manually via adduser and/or useradd? Btw total no of users on the system are only below which

Re: [Puppet Users] Re: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82

2012-06-28 Thread llow...@oreillyauto.com
On Thursday, June 28, 2012 2:24:08 AM UTC-5, Felix.Frank wrote: Hi, I don't really know how this even compiles, but here's what I think needs changin. That may have been an issue, but it still doesn't work. I get the same error. Before you go on with this - do you have pressing

Re: [Puppet Users] class invocation instead of 'include'

2012-06-28 Thread Russell Harrison
On Tuesday, June 26, 2012 6:14:32 AM UTC-4, Stephen Gran wrote: Hi, On Tue, 2012-06-26 at 11:47 +0200, Felix Frank wrote: Hi, On 06/26/2012 10:56 AM, Stephen Gran wrote: There is one difference that is most likely a bug. try this manifest: ./test.pp class {

[Puppet Users] Off Topic: Passenger / Ruby on Rails for the N00b

2012-06-28 Thread Dan White
I have successfully set up an Apache/Passenger/Puppet(Master)-2.7.x on a RHEL 5 server and I now have some questions about what I have here. In my work environment, I am part of a team of admins supporting a collection of web servers. These servers have various stacks on them with assorted

Re: [Puppet Users] Re: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82

2012-06-28 Thread Felix Frank
On 06/28/2012 03:15 PM, llow...@oreillyauto.com wrote: On Thursday, June 28, 2012 2:24:08 AM UTC-5, Felix.Frank wrote: Hi, I don't really know how this even compiles, but here's what I think needs changin. That may have been an issue, but it still doesn't work. I get

Re: [Puppet Users] Re: Trying link to home directory

2012-06-28 Thread Juan Sierra Pons
2012/6/28 eduardo erodr...@gmail.com:  Thanks you Juan for quick answer. You are right, i was not clear.  I began showing my scenario and the way i found to have master and agent in my pc.  I need to have /etc/puppet tree in my home directory owned by me, we are a group having git

[Puppet Users] Re: Trying link to home directory

2012-06-28 Thread eduardo
I think the right (my) approach is having a have a central repository (doesn't matter if it is you home directory) and deploy to the puppetmaster on demand using the repository tools: git push/pull, etc. Of course, we have a central repository on beanstalk. Regards, eduardo On 28 jun,

Re: [Puppet Users] Re: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82

2012-06-28 Thread llow...@oreillyauto.com
On Thursday, June 28, 2012 8:29:25 AM UTC-5, Felix.Frank wrote: Then I shall go on a limb an suggest you forego camel-case (*cringe*) and rename to ruby::gem_install, see if that helps. Otherwise I'd be grateful for yet another verbatim copy of your defined type, also the information in

Re: [Puppet Users] Re: Trying link to home directory

2012-06-28 Thread Juan Sierra Pons
2012/6/28 eduardo erodr...@gmail.com:  In development environment the simplest way to work is having git repositories on /home directories, not in system directory like /etc/ puppet. I have setting my home environment to development having username 'era'. I have in there git repositories to

Re: [Puppet Users] Augeas fails to set BONDING_OPTS with return code false

2012-06-28 Thread Dominic Cleal
Hi Trey, On 23/06/12 23:37, treydock wrote: I'm attempting to manage my network interfaces through a homebrew module that takes input from hiera, and then uses augeas to define each ifcfg-*. Example: ... set BONDING_OPTS '\mode=${mode} miimon=${miimon}\', This looks good to me. The

[Puppet Users] Hiera Tutorials

2012-06-28 Thread Kelsey Hightower
I'm beginning the process of creating Hiera tutorials covering the following topics: *Beginner* - Getting Started with Hiera (drafthttps://github.com/kelseyhightower/hiera/blob/maint/1.0rc/add_getting_started_tutorial/docs/tutorials/getting_started.md ) - Understanding hierarchies,

[Puppet Users] Re: Hiera Tutorials

2012-06-28 Thread Kelsey Hightower
I need to add the following 'cookbook' style tutorials: - Hiera and custom Facter Facts - Using Hiera data in Puppet manifests - looping over hashes and arrays - Creating resources from Hiera data - Hiera CLI vs Parser Functions -- how do they match up - Hiera Ruby API On

[Puppet Users] Re: Hiera Tutorials

2012-06-28 Thread windowsrefund
Brilliant initiative! -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options,

[Puppet Users] Re: Hiera Tutorials

2012-06-28 Thread windowsrefund
Are you sure Hiera defaults to /etc/hiera.yaml and not /etc/puppet/ hiera.yaml? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to

Re: [Puppet Users] Re: Hiera Tutorials

2012-06-28 Thread Kelsey Hightower
On Thu, Jun 28, 2012 at 1:01 PM, windowsrefund windowsref...@gmail.comwrote: Are you sure Hiera defaults to /etc/hiera.yaml and not /etc/puppet/ hiera.yaml? Yep, the hiera parser functions default to /etc/puppet/hiera.yaml, but Hiera defaults to /etc/hiera.yaml. Most people are not use to

[Puppet Users] config settings on Windows

2012-06-28 Thread Roger
I have tried installed 2.7.17 and 2.7.16 on Windows 2008 R2 several times. I run the installer with elevated privileges. The etc dir and puppet.conf are created in c:\ProgramData\PuppetLabs\Puppet. Everything looks good but when running 'puppet config print all | find config every config

Re: [Puppet Users] package provider for FreeBSD

2012-06-28 Thread R. Tyler Croy
On Thu, 28 Jun 2012, Gregory Orange wrote: Hi again, From examples I have gleaned the following snippet for manifests/site.pp Package {provider = $operatingsystem ? { FreeBSD = freebsd, #FreeBSD = ports, debian = aptitude, redhat = up2date}}

Re: [Puppet Users] Fwd: possible changes to puppet config file

2012-06-28 Thread Chris Price
On Thursday, June 28, 2012 1:40:39 AM UTC-7, David Schmitt wrote: If you're at it: It is ugly that an environment master will automatically pull in the puppetmaster settings too. Especially if the manifests are in git and every branch is an environment. David, Thanks for the feedback.

[Puppet Users] Vacancies at we7 (Based in London)

2012-06-28 Thread Stu Teasdale
Hi, Hope it's ok posting this here, I'm sure I've seen vacancies on the list before. We7 is recruiting at the moment, I've attached some company blurb and the sysadmin vacancy info below. Please send applications to stuart-...@we7.com. No recruiters thank you.

[Puppet Users] Re: Is it possible to access type params in another type?

2012-06-28 Thread Steve Traylen
On Tuesday, 26 June 2012 13:07:41 UTC+2, Yanis Guenane wrote: Hey guys, I was wondering if it was possible to access type params within another type. Here is an example of what I would like to do. Puppet::Type.newtype(:a) do newparam(:name) do isnamevar end

[Puppet Users] hiera questions

2012-06-28 Thread llow...@oreillyauto.com
I'm starting to use hiera more, to try to clean up and better modularize some of our stuff. I know you can use various facts (such as $::hostname) when defining the hierarchy and where to look. We have a few variables that are set based on patterns of hostname, and currently we have a

[Puppet Users] Re: puppet server complains of time sync

2012-06-28 Thread Steve Traylen
On Saturday, 23 June 2012 22:17:24 UTC+2, bluethundr wrote: Hello list, I am having an issue where a puppet agent on a client complains that clocks are out of sync between it and it's master - err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server

Re: [Puppet Users] Re: packaging puppet modules

2012-06-28 Thread Brian Gupta
On Thu, Jun 28, 2012 at 2:46 PM, Steve Traylen steve.tray...@cern.ch wrote: On Thursday, 28 June 2012 14:57:08 UTC+2, Ken Dreyer wrote: Hi Puppet folks, I'm a Fedora packager, and I'm looking into packaging up some of the modules at http://forge.puppetlabs.com/users/puppetlabs I'm thinking

Re: [Puppet Users] packaging puppet modules

2012-06-28 Thread Paul Belanger
On 12-06-28 08:57 AM, Ken Dreyer wrote: Hi Puppet folks, I'm a Fedora packager, and I'm looking into packaging up some of the modules at http://forge.puppetlabs.com/users/puppetlabs I'm thinking through the naming scheme for modules. It looks like the upstream modules include the creators'

Re: [Puppet Users] packaging puppet modules

2012-06-28 Thread Brian Gupta
On Thu, Jun 28, 2012 at 4:38 PM, Paul Belanger paul.belan...@polybeacon.com wrote: On 12-06-28 08:57 AM, Ken Dreyer wrote: Hi Puppet folks, I'm a Fedora packager, and I'm looking into packaging up some of the modules at http://forge.puppetlabs.com/users/puppetlabs I'm thinking through the

[Puppet Users] Puppet windows newbie: command runs but ends with failure

2012-06-28 Thread Anoop Gopalakrishnan
Hi , I am new to Puppet and I just started testing it out in my windows machine to do a set of tasks which I do manually currently and once I get the hang of it would like to use it for provisioning later. My current task is pretty simple: 1. Run an svn update command on a folder 2. Run

Re: [Puppet Users] hiera questions

2012-06-28 Thread llow...@oreillyauto.com
On Thursday, June 28, 2012 2:04:09 PM UTC-5, R.I. Pienaar wrote: - Original Message - I would make facts on the nodes for these. Let say $role and $subrole and then just use those in your hierarchy with %{role} and %{subrole} thus allowing you to set variable for all those

Re: [Puppet Users] class invocation instead of 'include'

2012-06-28 Thread Nick Fagerlund
On Tuesday, June 26, 2012 6:13:21 AM UTC-7, jcbollinger wrote: I sympathize and agree in principle with the view that it should be possible to re-declare the same parameterized class provided the parameters are all the same. Nevertheless, that has never been possible with Puppet 2.x's

Re: [Puppet Users] Puppet windows newbie: command runs but ends with failure

2012-06-28 Thread Josh Cooper
Hi Anoop, On Thu, Jun 28, 2012 at 2:26 PM, Anoop Gopalakrishnan anoop2...@gmail.com wrote: Hi ,   I am new to Puppet and I just started testing it out in my windows machine to do a set of tasks which I do manually currently and once I get the hang of it would like to use it for

Re: [Puppet Users] hiera questions

2012-06-28 Thread Denmat
You need your custom fact script in: module/lib/facter/script On 29/06/2012, at 7:37, llow...@oreillyauto.com llow...@oreillyauto.com wrote: On Thursday, June 28, 2012 2:04:09 PM UTC-5, R.I. Pienaar wrote: - Original Message - I would make facts on the nodes for these.

Re: [Puppet Users] Off Topic: Passenger / Ruby on Rails for the N00b

2012-06-28 Thread Denmat
Hi, Comments inline. On 28/06/2012, at 23:22, Dan White y...@comcast.net wrote: I have successfully set up an Apache/Passenger/Puppet(Master)-2.7.x on a RHEL 5 server and I now have some questions about what I have here. In my work environment, I am part of a team of admins supporting a

[Puppet Users] Re: Puppet windows newbie: command runs but ends with failure

2012-06-28 Thread Anoop Gopalakrishnan
Hey Josh, Thanks for the quick response! Will try out the changes. Appreciate the good work too. Regards, Anoop On Thursday, June 28, 2012 2:26:38 PM UTC-7, Anoop Gopalakrishnan wrote: Hi , I am new to Puppet and I just started testing it out in my windows machine to do a set of

Re: [Puppet Users] Execute a shell script residing in puppet master

2012-06-28 Thread Denmat
On 28/06/2012, at 21:24, kalaniS ksamarawickr...@gmail.com wrote: I'm a newbie to puppet and have been trying to execute a shell script residing in puppet master machine in a puppet agent, with no luck so far. Would appreciate any ideas on how to do this. It does depend on what you mean,

Re: [Puppet Users] Fwd: possible changes to puppet config file

2012-06-28 Thread Nigel Kersten
On Thu, Jun 28, 2012 at 1:40 AM, David Schmitt da...@dasz.at wrote: If you're at it: It is ugly that an environment master will automatically pull in the puppetmaster settings too. Especially if the manifests are in git and every branch is an environment. Are you saying that you're defining

[Puppet Users] UX/UI of puppet help when face actions have unmet dependencies

2012-06-28 Thread Jeff McCune
Hello, We're trying to come up with a nice way to indicate when a Puppet module like cloud provisioner breaks a Puppet subcommand because of missing dependencies. When this happens in the current 3.0rc branch, all help for all subcommands is unavailable. This isn't very helpful. We're planning

Re: [Puppet Users] UX/UI of puppet help when face actions have unmet dependencies

2012-06-28 Thread Daniel Pittman
On Thu, Jun 28, 2012 at 5:37 PM, Jeff McCune j...@puppetlabs.com wrote: We're trying to come up with a nice way to indicate when a Puppet module like cloud provisioner breaks a Puppet subcommand because of missing dependencies. When this happens in the current 3.0rc branch, all help for all