[Puppet Users] Managing classes of machines

2012-09-13 Thread Gregory Orange
Hi everyone, We've got a fairly small set of machines (perhaps 30) soon to be managed with puppet. We're looking for a good way to define which machines get which packages, and how those packages are configured on certain sets of machines. e.g. Apache on devel and production-webserver machine

[Puppet Users] Re: I am trying to copy over a authorized_key file over to all the servers using puppet but it doe snot see to work. can any one help?

2012-09-13 Thread JGonza1
this is my init.pp file. node "ct-eng-pats02-devint" inherits default { include patshosts include users include patslocalhost include patsj2ee include tomcat-prod include ntp include webmanager include webapps include setjava include physjava

Re: [Puppet Users] I am trying to copy over a authorized_key file over to all the servers using puppet but it doe snot see to work. can any one help?

2012-09-13 Thread Peter Brown
Puppet probably can't find the class you have declared. How are you including the init.pp file? Is this your global init.pp file? One question. Why aren't you using the builtin ssh_authorized_key type? Have a look here. http://docs.puppetlabs.com/references/latest/type.html#sshauthorizedkey It's

Re: [Puppet Users] Re: yumrepo and notify

2012-09-13 Thread Peter Brown
On 13 September 2012 23:09, jcbollinger wrote: > > > On Thursday, September 13, 2012 4:13:26 AM UTC-5, A_SAAS wrote: >> >> Hi everyone, >> >> >> I trying to notify a cache clean when creating a yumrepository: >> yumrepo { 'XXX': >> descr=> 'XX Packag

[Puppet Users] I am trying to copy over a authorized_key file over to all the servers using puppet but it doe snot see to work. can any one help?

2012-09-13 Thread JGonza1
This is how my init.pp files looks below and I get this error err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class sshkey for ct-eng-pats02-devint.caretools.ent at /etc/puppet/manifests/nodes/pats02.pp:22 on node ct-eng-pats02-devint.caretools.ent warnin

[Puppet Users] Announce: Puppet Dashboard 1.2.11 Available

2012-09-13 Thread Matthaus Owens
Puppet Dashboard 1.2.11 is a maintenance and bugfix release of Puppet Dashboard. This release is available for download at: https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.11.tar.gz Debian packages are available at https://apt.puppetlabs.com RPM packages are available at https://

[Puppet Users] pe version of puppet, vmware provisioning with from template with guest customization

2012-09-13 Thread jimmy
Hi All, I'm using puppet enterprise and am getting a feel for the vmware provisioning. I've been able to provision vms by using: puppet node_vmware create NameOfMyTemplate That sort of works, but I basically have an identical copy of the original vm i created a template from. Same mac addr

Re: WG: [Puppet Users] AW: Issue with large directory content

2012-09-13 Thread Denmat
Hi, Not sure if I can help but just have couple of questions. How long does it take to do a 'find' on the directory or a 'stat'? Have you tried running the client with --verbose --debug --evaltrace --summarize? Are you trying to set any permissions inside that directory elsewhere in the manif

[Puppet Users] Re: nodes including modules that are not assigned in the site.pp file

2012-09-13 Thread PaulS
On Thursday, September 13, 2012 12:17:38 PM UTC-6, PaulS wrote: > > This is my /etc/puppet/manifests/site.pp > > Can anyone see why nodes > 5051,5052,5010,5110,5116,5102,5117,5118,5121,6012,and 5052 > > would grab/include the very last nodes module? node server616 module > tomcat6 > > > File {

Re: [Puppet Users] nodes including modules that are not assigned in the site.pp file

2012-09-13 Thread Denmat
Hi, Is tomcat6 included elsewhere in your manifest? Can you grep for 'include tomcat6' and check? Cheers, Den On 14/09/2012, at 4:17, PaulS wrote: > This is my /etc/puppet/manifests/site.pp > Can anyone see why nodes > 5051,5052,5010,5110,5116,5102,5117,5118,5121,6012,and 5052 > would grab/i

[Puppet Users] Re: nodes including modules that are not assigned in the site.pp file

2012-09-13 Thread PaulS
On Thursday, September 13, 2012 12:17:38 PM UTC-6, PaulS wrote: > > This is my /etc/puppet/manifests/site.pp > > Can anyone see why nodes > 5051,5052,5010,5110,5116,5102,5117,5118,5121,6012,and 5052 > > would grab/include the very last nodes module? node server616 module > tomcat6 > > > File {

Re: [Puppet Users] AW: Issue with large directory content

2012-09-13 Thread Nigel Kersten
On Thu, Sep 13, 2012 at 8:55 AM, Bernd Adamowicz wrote: > For me it still seems there's a kind of recursive scanning done by Puppet > though 'recurse' is set to false. This does look like a bug, as you've got a directory with no remote source, no recursion, and all you want to do is to enforce

Re: [Puppet Users] Why agent report is so slow?

2012-09-13 Thread Daniel Pittman
On Thu, Sep 13, 2012 at 12:31 AM, flex wrote: > > I use cron to run puppet agent, but recently i found the script takes too > long time. After using '--debug', i got this log: > > 2012-09-13 15:19:53.928744500 debug: Finishing transaction 69941650538440 > 2012-09-13 15:19:53.928988500 debug: Stori

[Puppet Users] nodes including modules that are not assigned in the site.pp file

2012-09-13 Thread PaulS
This is my /etc/puppet/manifests/site.pp Can anyone see why nodes 5051,5052,5010,5110,5116,5102,5117,5118,5121,6012,and 5052 would grab/include the very last nodes module? node server616 module tomcat6 File { ignore => '.svn' } node 'server6010' { include centos6 } node 'server6011

Re: [Puppet Users] Skipped Resources 'running on a host' ?

2012-09-13 Thread Jeff McCune
On Wed, Sep 12, 2012 at 3:43 PM, Douglas Garstang wrote: > My puppet client is producing this: > > debug: /Schedule[daily]: Skipping device resources because running on a > host > debug: /Schedule[monthly]: Skipping device resources because running on a > host > debug: /Schedule[hourly]: Skipping

WG: [Puppet Users] AW: Issue with large directory content

2012-09-13 Thread Bernd Adamowicz
Hope, the list doesn't blame me for spamming, but I'd just like to provide some more information on my problem, still hoping someone can help. Using the 'iostat' command while Puppet is stuck, I can clearly see that there's a very high I/O on the disk: Device: rrqm/s   wrqm/s r/s   

Re: [Puppet Users] puppet-lint

2012-09-13 Thread Antidot SAS
Hey, Yep, I though the code was more important then the comment from a formatting point of view but I might be confused. On Thu, Sep 13, 2012 at 4:35 PM, Tim Sharpe wrote: > Hi, > > Why is it OK to have trailing whitespace in comments but not code? > > On Thursday, 13 September 2012 at 4:43

Re: [Puppet Users] puppet-lint

2012-09-13 Thread Tim Sharpe
Hi, Why is it OK to have trailing whitespace in comments but not code? On Thursday, 13 September 2012 at 4:43 AM, Antidot SAS wrote: > Hi, > > I don't want to remove the error when it is accurate just when it is in a > comment line, just asking not a big deal though... > > > > On Thu,

Re: [Puppet Users] Re: yumrepo and notify

2012-09-13 Thread Antidot SAS
Ok my bad, finally I taught the error was the yumrepo but it wasn't. The error appears because of the following: file { '/etc/yum.repos.d/XXX.repo' : ensure => absent, path => '/etc/yum.repos.d/X.repo', notify => [ Exec['YUM Cl

RE: [Puppet Users] RHEL Kickstart and Puppet certificates

2012-09-13 Thread Nielsen, Steve
Mike - Just curious, what do you mean by "using cnames as the maker intended" ? Are you suggesting a CNAME per hostname mapping? Thanks, Steve Steve Nielsen VP, Open Source Engineering | comScore, Inc.(NASDAQ:SCOR) o +1 (312) 775-6473 | f +1 (312) 775-6495 | mailto:sniel...@comscore.com ...

Re: [Puppet Users] Re: yumrepo and notify

2012-09-13 Thread Antidot SAS
The exec and the yumrepo are declared in the same manifest even with declaring the exec before, it doesn't help On Thu, Sep 13, 2012 at 3:09 PM, jcbollinger wrote: > > > On Thursday, September 13, 2012 4:13:26 AM UTC-5, A_SAAS wrote: >> >> Hi everyone, >> >> >> I trying to notify a cache c

[Puppet Users] Re: yumrepo and notify

2012-09-13 Thread jcbollinger
On Thursday, September 13, 2012 4:13:26 AM UTC-5, A_SAAS wrote: > > Hi everyone, > > > I trying to notify a cache clean when creating a yumrepository: > yumrepo { 'XXX': > descr=> 'XX Packages', > baseurl => $url, >

Re: [Puppet Users] Where to execute script to add server to Zabbix monitoring system?

2012-09-13 Thread Ashley Penney
You might be able to use generate() for this - it runs the command on the puppetmaster and returns the result to the client. Should be easy enough to use safely! On Tue, Sep 11, 2012 at 7:28 PM, JeremyCampbell wrote: > I've written a script which adds a new server to our Zabbix monitoring system

AW: [Puppet Users] AW: Issue with large directory content

2012-09-13 Thread Bernd Adamowicz
This keeps being weird. Simply thought to wait until Puppet finishes, but had to quit after one and a half hour. Also tried 'ensure => present' instead of 'ensure => directory' with no success. No log output at all. Still investigating. But any ideas still highly appreciated! Bernd Von: pupp

Re: [Puppet Users] puppet-lint

2012-09-13 Thread Antidot SAS
Hi, I don't want to remove the error when it is accurate just when it is in a comment line, just asking not a big deal though... On Thu, Sep 13, 2012 at 12:42 PM, Anton Lindström wrote: > Hi, > > The README on Github has a nice section about disabling checks: > https://github.com/rodjek/puppe

Re: [Puppet Users] puppet-lint

2012-09-13 Thread Anton Lindström
Hi, The README on Github has a nice section about disabling checks: https://github.com/rodjek/puppet-lint Try the --no--check flag to disable a check, I guess for the trailing whitespace the --no-trailing-whitespace-check can be used. Regards, Anton On Sep 13, 2012, at 11:46 AM, Antidot SAS

[Puppet Users] puppet-lint

2012-09-13 Thread Antidot SAS
Hi everyone, Is it possible not to notify error with puppet-lint when "trailing whitespace" are found in a comment line? Just asking. Regards, JM -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-u

[Puppet Users] yumrepo and notify

2012-09-13 Thread Antidot SAS
Hi everyone, I trying to notify a cache clean when creating a yumrepository: yumrepo { 'XXX': descr=> 'XX Packages', baseurl => $url, require => [ Yum::Key['0b6f8066'], ], gpgcheck => '1'

Re: [Puppet Users] AW: Issue with large directory content

2012-09-13 Thread Bernd Adamowicz
Thanks for your answers so far. But beware that the huge artifacts are *not* managed by Puppet (see recurse => false). Actually it's a Maven repository filled by Nexus. Only the top directory is managed by Puppet to have it in place and have correct access rights. This worked well until I initi

Re: [Puppet Users] RHEL Kickstart and Puppet certificates

2012-09-13 Thread Ano nym
Thank you everybody! :-) That are many ways to solve the problem. -- 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.google.com/d/msg/puppet-users/-/GToEN-CTK_EJ. To post to this group, s

[Puppet Users] Why agent report is so slow?

2012-09-13 Thread flex
Hi, all: I use cron to run puppet agent, but recently i found the script takes too long time. After using '--debug', i got this log: 2012-09-13 15:19:53.928744500 debug: Finishing transaction 69941650538440 2012-09-13 15:19:53.928988500 debug: Storing state 2012-09-13 15:19:54.930995500 debug: St