Re: [Puppet Users] Help Getting Puppet to run on HP-UX (as a client)

2011-08-17 Thread Tim Connors
On Wed, 17 Aug 2011, jmckin...@thezenith.com wrote: > /opt/iexpress/ruby/sbin/puppetd:4:in `' > err: Could not create resources for managing Puppet's files and > directories in sections [:main, :agent, :ssl]: Could not autoload > file: Unable to find library 'libz.so'. - /opt/iexpress/ruby/lib/rub

[Puppet Users] Re: Puppet agent hangs for over a minute, no info in --summarize

2011-08-17 Thread Dragonfyre13
Yup, that was definitely it. Threw something in the hosts file to just dummy out a hostname for the returned IP, and now it's quite speedy. Thanks, never would have found that left to my own devices. On Aug 17, 2:49 pm, Scott Smith wrote: > Run arp -a > > If it hangs at any point, that is likely

Re: [Puppet Users] Re: scoping question - I want a node specific "global" var

2011-08-17 Thread Rich Rauenzahn
On Wed, Aug 17, 2011 at 6:44 AM, jcbollinger wrote: >> * We're not using ENC > > > Fair enough.  I don't use one either, but it was worth pointing out > the possibility. Yes, and it is an additional argument to migrate there eventually. >> * I want the special information right alongside the nod

Re: [Puppet Users] Re: Corrupted inventory.txt - how to rebuild?

2011-08-17 Thread Scott Smith
You guys do realize that it's not necessary to share node certs with puppetmasters if your CA is separated, right? It's signed for a reason :) On Aug 16, 2011 8:13 AM, "Luke Bigum" wrote: > Also I think Nigel posted a load balanced solution using entirely > Apache that's floating around on the li

[Puppet Users] facter-1.6.0 incorrectly identifies hardware node as virtual

2011-08-17 Thread Jake
I've installed facter-1.6.0 and puppet-2.7.3 on a number of SLES 10 hardware nodes (HP DL580) running the Virtuozzo hosting software. Well, facter correctly identifies such a machine as a hardware node ("virtual => openvzhn") but somehow concludes that the hardware node is in fact virtual. ("is_vi

Re: [Puppet Users] Re: scoping question - I want a node specific "global" var

2011-08-17 Thread Rich Rauenzahn
On Tue, Aug 16, 2011 at 4:46 PM, Scott Smith wrote: > Some times doing things the right way requires going through the pain of > changing your current practices for the better. Sometimes your schedule doesn't allow you to refactor that much right now. -- You received this message because you ar

Re: [Puppet Users] chaining resources problem

2011-08-17 Thread Gary Larizza
On Wed, Aug 17, 2011 at 8:27 AM, dieterdm wrote: > Hi, > > Thanks for the replies... > > Currently, I made it work using stages. > But I'll try the approach of putting my resource chaining at the bottom and > let you know if it works... > > The ordering was my first-guess at the problem, but I wo

[Puppet Users] Re: Using back-ported create_resources in 2.6.x

2011-08-17 Thread treydock
On Aug 17, 12:59 pm, Nan Liu wrote: > On Wed, Aug 17, 2011 at 10:27 AM, treydock wrote: > > Does anyone have some examples of using this create_resources > > function,https://github.com/puppetlabs/puppetlabs-create_resources, > > ?  Based on the README example I can't figure out exactly how to

Re: [Puppet Users] Re: Puppet agent hangs for over a minute, no info in --summarize

2011-08-17 Thread Scott Smith
Run arp -a If it hangs at any point, that is likely the problem. I'm not suggesting that arp is the problem, rather that you might have entries for IP addresses that have no PTR. See: http://projects.puppetlabs.com/issues/8247 -scott On Wed, Aug 17, 2011 at 12:40 PM, Dragonfyre13 wrote: > Not

[Puppet Users] Re: Puppet agent hangs for over a minute, no info in --summarize

2011-08-17 Thread Dragonfyre13
Not as far as I can tell. I can honestly say I didn't look that far down the chain yet though, except that name resolution is occurring quickly and successfully for each of the boxes in play (I did test on fqdn, ip, and hostname FYI, so it's not a resolution issue). Note also that tcp and udp conne

[Puppet Users] Re: Using back-ported create_resources in 2.6.x

2011-08-17 Thread treydock
Ah ok! That makes more sense now. Thanks - Trey On Aug 17, 12:59 pm, Nan Liu wrote: > On Wed, Aug 17, 2011 at 10:27 AM, treydock wrote: > > Does anyone have some examples of using this create_resources > > function,https://github.com/puppetlabs/puppetlabs-create_resources, > > ?  Based on the R

Re: [Puppet Users] Dependency Cycle Weirdness

2011-08-17 Thread Douglas Garstang
Actually, no, I think you DO need it. On Wed, Aug 17, 2011 at 11:30 AM, Douglas Garstang wrote: > Oh. I didn't realise that. Thought it was darn Thanks. > > > On Wed, Aug 17, 2011 at 10:52 AM, Scott Smith wrote: > >> Don't think you need to include if there is a require >> On Aug 17, 201

Re: [Puppet Users] Dependency Cycle Weirdness

2011-08-17 Thread Douglas Garstang
Oh. I didn't realise that. Thought it was darn Thanks. On Wed, Aug 17, 2011 at 10:52 AM, Scott Smith wrote: > Don't think you need to include if there is a require > On Aug 17, 2011 9:50 AM, "Douglas Garstang" > wrote: > > If I have: > > > > class service::common { > > file { > > '/etc/

Re: [Puppet Users] Using back-ported create_resources in 2.6.x

2011-08-17 Thread Nan Liu
On Wed, Aug 17, 2011 at 10:27 AM, treydock wrote: > Does anyone have some examples of using this create_resources > function, https://github.com/puppetlabs/puppetlabs-create_resources, > ?  Based on the README example I can't figure out exactly how to > change from using defines to using this func

Re: [Puppet Users] Puppet agent hangs for over a minute, no info in --summarize

2011-08-17 Thread Scott Smith
Do you have any arp entries for which there is no PTR? On Aug 17, 2011 10:23 AM, "Dragonfyre13" wrote: > Hoping you guys might be able to help me out, I'm not sure what's > wrong but puppet agent hangs for over a minute, no resource spikes > (CPU, memory, etc all stay basically the same as without

Re: [Puppet Users] Dependency Cycle Weirdness

2011-08-17 Thread Scott Smith
Don't think you need to include if there is a require On Aug 17, 2011 9:50 AM, "Douglas Garstang" wrote: > If I have: > > class service::common { > file { > '/etc/foo': > ensure => directory; > > '/etc/init.d/ss-functions': > content => template('service/etc/init.d/ss-functions.erb'), > require =>

[Puppet Users] Using back-ported create_resources in 2.6.x

2011-08-17 Thread treydock
Does anyone have some examples of using this create_resources function, https://github.com/puppetlabs/puppetlabs-create_resources, ? Based on the README example I can't figure out exactly how to change from using defines to using this function. Maybe I misunderstand the purpose of create_resource

[Puppet Users] Puppet agent hangs for over a minute, no info in --summarize

2011-08-17 Thread Dragonfyre13
Hoping you guys might be able to help me out, I'm not sure what's wrong but puppet agent hangs for over a minute, no resource spikes (CPU, memory, etc all stay basically the same as without starting puppet, barely a blip, and I've got more than enough headroom). It's not a serious issue for continu

[Puppet Users] Announce: Dashboard 1.2rc7

2011-08-17 Thread Michael Stahnke
Greetings, Welcome to another Release Candidate for Puppet Dashboard (number 7). This release is available for download at: http://downloads.puppetlabs.com/dashboard/ We have included Debian and RPM packages as well as a tarball. See the Verifying Puppet Download section at: http://projects.pu

[Puppet Users] Dependency Cycle Weirdness

2011-08-17 Thread Douglas Garstang
If I have: class service::common { file { '/etc/foo': ensure => directory; '/etc/init.d/ss-functions': content => template('service/etc/init.d/ss-functions.erb'), require => File['/etc/foo'], } } class platform::common { include ser

RE: [Puppet Users] Help Getting Puppet to run on HP-UX (as a client)

2011-08-17 Thread McKinzie, Jody
I am using puppet version 2.7.1 Ruby version 1.9.1 root@pasco:~# ruby --version ruby 1.9.1p430 (2010-08-16 revision 28998) [ia64-hpux11.23] root@pasco:~# puppet --version 2.7.1 -- Regards, Jody R. McKinzie Sr. UNIX Administrator Zenith Insurance Company Desk: (941) 9

Re: [Puppet Users] chaining resources problem

2011-08-17 Thread dieterdm
Hi, Thanks for the replies... Currently, I made it work using stages. But I'll try the approach of putting my resource chaining at the bottom and let you know if it works... Regards. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view th

Re: [Puppet Users] Help Getting Puppet to run on HP-UX (as a client)

2011-08-17 Thread Martin Alfke
Hi, what puppet version are you using? We were able to run puppet 2.6.2 with ruby 1.8.4 and 1.8.7 Please note also bug http://projects.puppetlabs.com/issues/8893 reagrding users with shared homedirs. You might also want to check the puppet HP-UX wiki site: http://projects.puppetlabs.com/project

Re: [Puppet Users] [centos 6] error downloading facter-1.6.0-2.el6.noarch.rpm from epel

2011-08-17 Thread Jérôme Loyet
why don't you just forget yum and use gem instead ? 2011/8/17 remke : > I'm trying to install puppet-server into my centos6 server... but i cann't > find the dependency facter anywhere on the internet :(( > > Any help/ideas ? > > With kind regards, > ~remke > http://www.craigdunn.org/2010/08/part-

[Puppet Users] zypprepo on sles 10.3 and 10.4

2011-08-17 Thread koukoum
Hi, I've used the zypprepo type successfully on sles 11.1 to register my server to a repo. However, I can't get it to work on sles 10.3 and 10.4. However using the zypper sa command I can easily register my repos but it seems impossible to make it work using zypprepos. My /etc/ zypp/zypp.conf file

[Puppet Users] [centos 6] error downloading facter-1.6.0-2.el6.noarch.rpm from epel

2011-08-17 Thread remke
I'm trying to install puppet-server into my centos6 server... but i cann't find the dependency facter anywhere on the internet :(( Any help/ideas ? With kind regards, ~remke http://www.craigdunn.org/2010/08/part-1-installing-puppet-2-6-1-on-centos-with-yumrpm/ [root@localhost yum.repos.d]# yu

[Puppet Users] Help Getting Puppet to run on HP-UX (as a client)

2011-08-17 Thread jmckin...@thezenith.com
OK< I need a little help here. I am trying to get puppet working on an HP-UX 11.31 server. I have ruby, ruby gems, facter and puppet installed (albeit not correctly). So, When i try to start the puppet daemon i get these errors. Thanks in advance. /opt/iexpress/ruby/sbin/puppetd --trace --serv

[Puppet Users] Re: scoping question - I want a node specific "global" var

2011-08-17 Thread jcbollinger
On Aug 16, 11:24 am, Rich Rauenzahn wrote: > On Tue, Aug 16, 2011 at 6:23 AM, jcbollinger > wrote: > > [Lots of good ideas] > > > > > Of those, I would recommend either extlookup() or your ENC (if you > > have one), with my personal preference being extlookup().  I think > > Hiera may offer an

Re: [Puppet Users] mount "remounts" not working

2011-08-17 Thread Arnau Bria
On Tue, 16 Aug 2011 18:31:48 +0200 Stefan Schulte wrote: [...] > Solution: remove the name (so name will implicitly be /srv/cloud) or > change name to /srv/cloud (with no trailing slash) > > FTW: This is filed as https://projects.puppetlabs.com/issues/6793 thanks a lot! > -Stefan Cheers, Arnau