[Puppet Users] All nodes are showing unresponsive

2013-01-24 Thread Mamta Garg
Hi, Can anyone please tell me regarding below- I have setup CentOS Linux master with 10 windows agent. Now my all Agents nodes are showing 'Unresponsive' on puppet dashboard. Please tell me how i can make it responsive? -- Thanks and Regards, Mamta Garg -- You received this message because

Re: [Puppet Users] Re: Internal server error

2013-01-24 Thread Peter Brown
Probably because you deleted the log directory rails is trying to write to. Try creating that again and see if that helps. On 24 January 2013 23:20, Mamta Garg wrote: > Hi > Need help! > > Actually i have setup number of clients over linux CentOS master provided > by puppet on web. > But after

Re: [Puppet Users] Re: ParsedFile & Multi-line...

2013-01-24 Thread Peter Brown
On 10 January 2013 02:41, Gavin Williams wrote: > Anyone got any ideas??? > > My next thought is to use something like puppet-concat with an ERB > template... However not sure how effective that's going to be... > That would probably be pretty easy to setup. I use concat and templates for a few

Re: [Puppet Users] puppet allow regex issue in file server

2013-01-24 Thread Wil Cooley
On Jan 21, 2013 1:32 AM, "Anadi Misra" wrote: > > hi! all, > > the following regex fails for a mount point definition > > [palms] > path /apps/puppet/projects/palms/%h > allow /^bangvmplmpalm([0-1][0-4,9]).example.com$/ > The allow directive uses wildcards, not regular expressions: http://docs.p

Re: [Puppet Users] Sanity Check Request: Environments in /etc/puppet/puppet.conf

2013-01-24 Thread Peter Brown
On 24 January 2013 06:20, Dan White wrote: > It just struck me that any environment blocks in /etc/puppet/puppet.conf > have meaning ONLY on the puppet master. > > Is that accurate ? > Pretty much. I am reasonably sure the only thing you can put in there is manifest and module paths. It basicall

[Puppet Users] Parameterizing modulepath beyond $environment

2013-01-24 Thread Brian Lalor
I'm looking for a way to parameterize the module path at runtime based on multiple variables, including the environment. We've got a puppet master that serves nodes from several different projects, each of which have their own dev/test/prod environments. I'd like for each project to have their

[Puppet Users] Re: 'before' and 'require' not working as I expect

2013-01-24 Thread Ellison Marks
Ah, excuse me, I misremembered. The problem was specific to the interaction between package and yumrepo, not package and file. See http://projects.puppetlabs.com/issues/1238. On Thursday, January 24, 2013 12:15:33 PM UTC-8, jcbollinger wrote: > > > > On Thursday, January 24, 2013 12:11:45 PM UTC

Re: [Puppet Users] puppet module install; absolute path?

2013-01-24 Thread Ryan Coleman
Hi Michael, Thanks for the work you're doing. I got to play with Pulp v2 last night and really like the progress you guys have made. A few more comments are in-line. On Thu, Jan 24, 2013 at 2:49 PM, Michael Hrivnak wrote: > I work on the Pulp Project (http://www.pulpproject.org/), and we are >

[Puppet Users] Dynamic yum.conf 'exclude' line

2013-01-24 Thread Gonzalo Servat
Hi All, I have finally switched to using hiera (worthy goal!) and I am looking for a flexible way to manage the 'exclude' line in /etc/yum.conf. I want to be able to specify from different classes RPMs to be excluded in /etc/yum.conf, then build the exclude line from all those classes that set an

[Puppet Users] Announce: PuppetDB 1.1.0 Available!

2013-01-24 Thread Matthaus Owens
PuppetDB 1.1.0 is now available for download! This is a backward compatible feature release of PuppetDB. # Downloads == Available in native package format at: http://yum.puppetlabs.com and http://apt.puppetlabs.com Puppet module: http://forge.puppetlabs.com/puppetlabs/puppetdb Source

[Puppet Users] puppet module install; absolute path?

2013-01-24 Thread Michael Hrivnak
I work on the Pulp Project (http://www.pulpproject.org/), and we are trying to fully implement the forge API so we can create new repositories that can be reached via a command like: $ sudo puppet module install --module_repository http://localhost/pulp/puppet/myforge/ someone/theirmodule The

[Puppet Users] Re: New user learning puppet and getting error> getaddrinfo: Name or service not known

2013-01-24 Thread Jason Cochard
Here is a good start: http://projects.puppetlabs.com/projects/1/wiki/using_passenger Also the book, Pro Puppet, covers this in detail. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.

[Puppet Users] REDUX: puppetlabs-products yum checksum failing

2013-01-24 Thread Greg Chavez
Again with the yum metadata checksum failures: http://yum.puppetlabs.com/el/6/products/x86_64/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum I'm thinking it's time for me to add the Puppetlabs repos to my mrepo box. -- \*..+.- --Greg Chavez +//..;}; -- You recei

[Puppet Users] Re: Dependency Cycle with puppetlabs-mrepo

2013-01-24 Thread Adrien Thebo
Hi Benoit, I'm the author of the puppetlabs-mrepo module, what version of this module are you using? On Thursday, January 24, 2013 12:16:05 AM UTC-8, Benoit BARTHELEMY wrote: > > Hi, I'm gettinng a dependency cycle when using PE 2.7, puppetlabs::mrepo, > "role classes" and hiera : > > I'm tryin

[Puppet Users] Re: Weird problem realizing exported resources

2013-01-24 Thread jcbollinger
On Thursday, January 24, 2013 9:20:23 AM UTC-6, MCZ wrote: > > Its puppet 2.7.x latest, I chain resources like this: > > node 'puppetmaster-client' { > include base::route53::r53server > $primary_fqdn = 'puppetmaster.foo.bar' > base::route53::r53delegation { ["$primary_

[Puppet Users] Re: 'before' and 'require' not working as I expect

2013-01-24 Thread jcbollinger
On Thursday, January 24, 2013 12:11:45 PM UTC-6, Ellison Marks wrote: > > Just my two cents here. I've had some major problems in the past with > using puppet to manage a file installed by a package which is also managed > by puppet. Now, I haven't revisited the problem since 2.6, but my intuit

Re: [Puppet Users] Searching for Nodes

2013-01-24 Thread Nan Liu
On Thu, Jan 24, 2013 at 12:13 PM, Brian Malinconico wrote: > Thank you for the feedback. We are actually using haproxy, and will > undoubtedly use the stock book, it was just the example. > > I guess I am confused as to the pattern. I have looked over the nagios > examples many times but I am stil

Re: [Puppet Users] VMware investment in Puppet Labs

2013-01-24 Thread Luke Kanies
On Jan 24, 2013, at 9:22 AM, Nikola Petrov wrote: > On Wed, Jan 23, 2013 at 07:25:18AM -0800, Luke Kanies wrote: >> Hi all, >> >> I'm proud to announce that VMware has invested $30 million in Puppet Labs: >> >> http://puppetlabs.com/blog/vmware-invests-30-million-in-puppet-labs/ >> >> This inv

Re: [Puppet Users] Searching for Nodes

2013-01-24 Thread jcbollinger
On Thursday, January 24, 2013 12:13:01 PM UTC-6, Brian Malinconico wrote: > > Hello Bill, > > Thank you for the feedback. We are actually using haproxy, and will > undoubtedly use the stock book, it was just the example. > > I guess I am confused as to the pattern. I have looked over the nagios

[Puppet Users] define()'s sloooow

2013-01-24 Thread asq
are we having problem with defines in puppet 3.0.1/3.0.2? the more and more we use defines in our repo, the more lagish puppetmaster becomes. today i've made some synthetic checks with our lb setup, which consists of 121 defines, each of them wraps around 4 another defines (nagios, haproxy, stu

Re: [Puppet Users] Searching for Nodes

2013-01-24 Thread Brian Malinconico
Hello Bill, Thank you for the feedback. We are actually using haproxy, and will undoubtedly use the stock book, it was just the example. I guess I am confused as to the pattern. I have looked over the nagios examples many times but I am still unsure. T he final example would be how to distribu

[Puppet Users] Re: 'before' and 'require' not working as I expect

2013-01-24 Thread Ellison Marks
Just my two cents here. I've had some major problems in the past with using puppet to manage a file installed by a package which is also managed by puppet. Now, I haven't revisited the problem since 2.6, but my intuition was that since the file to be managed didn't exist at the start of the run,

Re: [Puppet Users] windows : exec ressources and creates paramater

2013-01-24 Thread Josh Cooper
Hi Bernard, > On Thu, Jan 24, 2013 at 1:49 PM, GRANIER Bernard (MORPHO) > wrote: >> >> class install_java_win { >> file {'jdk-6u18-windows-i586.exe': >> path=> "$c:/tmp/jdk-6u18-windows-i586.exe", >> ensure=> present, >> mode=> 0777, >> source => >> "puppet://${server}/modules/ins

Re: [Puppet Users] Searching for Nodes

2013-01-24 Thread Bill Fraser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Brian, The use case you are describing lends itself toward making use of stored configuration and exported resources. http://docs.puppetlabs.com/guides/exported_resources.html http://projects.puppetlabs.com/projects/1/wiki/Using_Stored_Configurat

Re: [Puppet Users] windows : exec ressources and creates paramater

2013-01-24 Thread Pablo Wright
Hi Bernard! The creates attribute is a conditional for the exec run. >From http://docs.puppetlabs.com/references/latest/type.html#exec : creates A file to look for before running the command. The command will only run if the file *doesn’t exist.* * * So it's actually looking for that file, and runn

[Puppet Users] Searching for Nodes

2013-01-24 Thread Brian Malinconico
Hello All, I'm reviewing switching to puppet from chef and am trying to identify how to port the various features. I have hit a stumbling block searching for nodes. In Chef i could search for a node by role, but I am lost as how to do this with puppet and classes. Example: I want my load-balan

Re: [Puppet Users] VMware investment in Puppet Labs

2013-01-24 Thread Nikola Petrov
On Wed, Jan 23, 2013 at 07:25:18AM -0800, Luke Kanies wrote: > Hi all, > > I'm proud to announce that VMware has invested $30 million in Puppet Labs: > > http://puppetlabs.com/blog/vmware-invests-30-million-in-puppet-labs/ > > This investment is about continuing to enable us to invest and grow,

[Puppet Users] windows : exec ressources and creates paramater

2013-01-24 Thread GRANIER Bernard (MORPHO)
I thought that creates attribute of exec resource creates a file. On windows, I have the following init.pp, jdk is correctly installed but myfile2.txt is not created, did I miss something ? class install_java_win { file {'jdk-6u18-windows-i586.exe': path=> "$c:/tmp/jdk-6u18-windows-i586.ex

[Puppet Users] How to use puppetlabs java module?

2013-01-24 Thread Craig Cook
I have installed the puppetlabs java module. I am not clear on how to use it though.  The "Sample Usage:" section of init.pp in the manifests dir is blank... "The Java runtime this module is designed to configure are the RPM's provided by Oracle and obtained by extracting them from the "bin" i

Re: [Puppet Users] 'before' and 'require' not working as I expect

2013-01-24 Thread Matthew Burgess
On Thu, Jan 24, 2013 at 3:30 PM, Jonathan Gazeley wrote: > On 24/01/13 15:18, Matthew Burgess wrote: >> >> On Thu, Jan 24, 2013 at 2:49 PM, wrote: >> >>> This occurs even with the before => Yumrepo['atomic'] and require = > >>> Package['atomic-release'] lines in place, which is not what I expect

Re: [Puppet Users] Re: Terrible exported resources performance

2013-01-24 Thread Ken Barber
I think John is on to something here, Daniel - I haven't seen your full content yet, but are you creating a file for each nagios_host, so that you can use that as the 'target'? Thus creating a single file for each nagios_host entry? If this is the case, the John is spot-on ... and you're creating

[Puppet Users] Re: Dependency Cycle with puppetlabs-mrepo

2013-01-24 Thread jcbollinger
On Thursday, January 24, 2013 4:08:21 AM UTC-6, Benoit BARTHELEMY wrote: > > Correction, the class is the following : > > class site::yum_repository{ > > class{'mrepo::params': > src_root => hiera('mrepo::params::src_root'), > www_root => hiera('mrepo::params::www_root'), >

Re: [Puppet Users] 'before' and 'require' not working as I expect

2013-01-24 Thread Jonathan Gazeley
On 24/01/13 15:18, Matthew Burgess wrote: On Thu, Jan 24, 2013 at 2:49 PM, wrote: This occurs even with the before => Yumrepo['atomic'] and require = > Package['atomic-release'] lines in place, which is not what I expect. Am I missing a subtlety? I'd be tempted to remove the 'before' paramet

[Puppet Users] Re: Weird problem realizing exported resources

2013-01-24 Thread MCZ
Its puppet 2.7.x latest, I chain resources like this: node 'puppetmaster-client' { include base::route53::r53server $primary_fqdn = 'puppetmaster.foo.bar' base::route53::r53delegation { ["$primary_fqdn.",'xyz.foo.bar.']: } ->Class['base::route53::r53server'] } Anyway,

Re: [Puppet Users] 'before' and 'require' not working as I expect

2013-01-24 Thread Matthew Burgess
On Thu, Jan 24, 2013 at 2:49 PM, wrote: > This occurs even with the before => Yumrepo['atomic'] and require = > > Package['atomic-release'] lines in place, which is not what I expect. Am I > missing a subtlety? I'd be tempted to remove the 'before' parameter to the package; declare the dependen

[Puppet Users] 'before' and 'require' not working as I expect

2013-01-24 Thread jg4461
Hi all, I'm a reasonably experienced puppet user but I'm running into a problem with yumrepos where 'before' and 'require' don't seem to be behaving how I expect. class repos::atomic { package { 'atomic-release': ensure => installed, source => ' http://www6.atomicorp.com/ch

[Puppet Users] Re: Performance really bad when executing agents

2013-01-24 Thread jcbollinger
On Thursday, January 24, 2013 4:20:27 AM UTC-6, MorSa wrote: > > Hi, > > first of all, thanks for your reply. > > I've tried what you suggest, but now i'm receiving this message in every > file's evaluation: > > err: /Stage[main]/xxx::Website/x::Website_defs::Virtual_host[ > www.

Re: [Puppet Users] Re: Terrible exported resources performance

2013-01-24 Thread jcbollinger
On Thursday, January 24, 2013 5:24:58 AM UTC-6, Daniel wrote: > > Seems that chaining exported resources might not be too efficient and > produces lots of data that could be the reason for puppetdb crashing. > > The culprits being these two lines in two manifest files: > > ./nsca/server.pp: #File

[Puppet Users] can't convert nil into Hash with create_resource and +>

2013-01-24 Thread MCZ
I am doing something like that: class users::userlist { @users::virtual::localuser { "ubuntu": sshkey => { 'test_key' => { key => 'XX' }, 'test_key2' => { key => 'YY'}, ,} groups => 'test_group', } } All is good whenever I just do

Re: [Puppet Users] JBOSS installation and Configuration through puppet

2013-01-24 Thread Alessandro Franceschi
Yes, unzip would be installed by the Puppi module , but is not installed by default by the puppi::netinstall define that is used by the jboss module. It's a too generic dependency, imho, to be placed in a module. Anyway thanks for the info. I still have to look at the startup issue on some distro

Re: [Puppet Users] JBOSS installation and Configuration through puppet

2013-01-24 Thread Rakesh Kathpal
err: /Stage[main]/Jboss::Install/Puppi::Netinstall[netinstall_jboss]/Exec[Extract jboss-as-distribution-6.1.0.Final.zip]/returns: change from notrun to 0 failed: sh: 1: unzip: not found On Thu, Jan 24, 2013 at 7:06 PM, Rakesh Kathpal wrote: > Hi, > > Have you made any changes recently in last 2

Re: [Puppet Users] JBOSS installation and Configuration through puppet

2013-01-24 Thread Rakesh Kathpal
Hi, Have you made any changes recently in last 2 days or so... I haven't pulled the module after the netinstall fix you have done... The init.d startup issue still persists.. rest all has been fixed. Also there issues if unzip or wget are not installed on the client machine. Thanks & Regards,

Re: [Puppet Users] JBOSS installation and Configuration through puppet

2013-01-24 Thread Alessandro Franceschi
Hi Rakesh, I just would like to know if the latest commits on GitHub have solved your problem. Best regards, al On Friday, January 18, 2013 12:39:47 PM UTC+1, Rakesh K wrote: > > Hi, > > I am a big fan of example42 modules and using most of them, currently I am > facing issues with the Jboss mod

Re: [Puppet Users] puppetlabs-products yum checksum failing

2013-01-24 Thread Kristopher Spring
Alrighty, I didn't change a thing on my end but the problems seems to have magically resolved itself this morning. On Wednesday, January 23, 2013 5:19:34 PM UTC-5, Kristopher Spring wrote: > > I'm getting these errors when trying to provision a Centos 6.3 box: > puppetlabs-products/primary_db

Re: [Puppet Users] Re: Terrible exported resources performance

2013-01-24 Thread Daniel
Seems that chaining exported resources might not be too efficient and produces lots of data that could be the reason for puppetdb crashing. The culprits being these two lines in two manifest files: ./nsca/server.pp: #File <<| tag == $get_tag |>> -> Nagios_host <<| tag == $get_tag |>> ./nrpe/se

[Puppet Users] Re: Puppetlabs-dhcp - Failed to parse template dhcp/dhcp.pool.erb, undefined method each

2013-01-24 Thread Peter
Not sure if it is the reason but making the change seems to fix it. Just incase anyone else comes across this in the future. The init.pp file calling the Pool's template (https://github.com/puppetlabs/puppetlabs-dhcp/blob/master/tests/init.pp) is passing a string not an array hence the variabl

[Puppet Users] Re: ParsedFile & Multi-line...

2013-01-24 Thread Gavin Williams
Ok, this item is next on my hitlist... I've been looking at the current oratab provider, and also the cron provider, and in my mind it looks like parsed file should work... Just need to get my head around it a bit more I think... Any pointers greatly appreciated. Cheers Gavin On Wednesda

Re: [Puppet Users] Augeas file line edit please help

2013-01-24 Thread Dominic Cleal
On 24/01/13 04:28, kdo wrote: > what i thought would be a simple edit using augeas is turning out to not > be so straight forward, can anyone please help ? > > the plan is to edit sendmail.cf and change the default DS to > DShostname.domain > > class mail { > $key = DS > > service {

Re: [Puppet Users] Re: Error: Could not request certificate: Connection refused - connect(2)

2013-01-24 Thread Diogo Martinez
That commands were to delete the ssl dir. Really when i executed, puppet is stoped. I have been installed puppet by tarball, then I have a script to start master and agent. 2013/1/23 Douglas Nethery > Not at all! Thanks for your help. > > End to end for anyone else with this issue: > > Stopping

[Puppet Users] Re: Performance really bad when executing agents

2013-01-24 Thread MorSa
Hi, first of all, thanks for your reply. I've tried what you suggest, but now i'm receiving this message in every file's evaluation: err: /Stage[main]/xxx::Website/x::Website_defs::Virtual_host[www.xxx.com.ve]/File[/etc/apache2/conf.d/vhostfake_www.xx.com.ve.conf]/content:

[Puppet Users] Re: Dependency Cycle with puppetlabs-mrepo

2013-01-24 Thread Benoit BARTHELEMY
Correction, the class is the following : class site::yum_repository{ class{'mrepo::params': src_root => hiera('mrepo::params::src_root'), www_root => hiera('mrepo::params::www_root'), user => hiera('mrepo::params::user'), group=> hiera('mrepo::params::gro

[Puppet Users] Dependency Cycle with puppetlabs-mrepo

2013-01-24 Thread Benoit BARTHELEMY
Hi, I'm gettinng a dependency cycle when using PE 2.7, puppetlabs::mrepo, "role classes" and hiera : I'm trying to mirror RHN repos : # ROLE CLASS > class site::yum_repository{ > > $repos = hiera('site::yum_repository::repos') > create_resources(mrepo::repo::rhn, $repos) > } > # HIERA DEFA