[Puppet Users] Errors on both client and server when setting up initial puppet infrastructure

2011-11-27 Thread Tim Uckun
Hey all. I am trying to set up puppet for the first time and I am having the following issues. On the client when I run it I get this error. Running puppet agent it should configure itself now /usr/local/lib/ruby/gems/1.9.1/gems/facter-1.6.3/lib/facter/util/config.rb:7: Use RbConfig instead of

[Puppet Users] Re: My ssh tunnels get no love from exec

2011-11-27 Thread windowsrefund
For reasons that are clearly beyond me, it's now clear that /tmp/ foo.rb is being run as root despite the controller script running as 'akosmin'. I don't get it :/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email

Re: [Puppet Users] cannot find a module in plain sight...

2011-11-27 Thread Nigel Kersten
On Sun, Nov 27, 2011 at 2:48 PM, Jo Rhett wrote: > On Sat, Nov 26, 2011 at 7:25 PM, Jo Rhett wrote: > >> On Nov 25, 2011, at 11:59 AM, Peter Berghold wrote: >> >> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> Could not find class adminscripts::getvpsnodes for >> slcc

[Puppet Users] Re: My ssh tunnels get no love from exec

2011-11-27 Thread windowsrefund
No fix yet but I see a small typo in my original post. > Daemon.run('/tmp/foo.rb') should be Daemons.run('/tmp/foo.rb') -- 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 un

[Puppet Users] My ssh tunnels get no love from exec

2011-11-27 Thread windowsrefund
I'm working on a sweet little module to manage ssh tunnels using Net::SSH and daemons. Before I try to add a service provider in order to manage daemons, I figured I'd just exec and am running into a very strange situation. First, here is a simple proof of concept involving 3 small files: (Please

Re: [Puppet Users] cannot find a module in plain sight...

2011-11-27 Thread Jo Rhett
> On Sat, Nov 26, 2011 at 7:25 PM, Jo Rhett wrote: > On Nov 25, 2011, at 11:59 AM, Peter Berghold wrote: >> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> Could not find class adminscripts::getvpsnodes for >> slccrepos0.slc.sharkrivertech.com at >> /etc/puppet/manif

[Puppet Users] Re: Puppet does not connect to ldap at secure port because of ssl certificate signed by cacert.org

2011-11-27 Thread Ganesh Sharma
Thanks Den for your reply. Yes search works perfectly. I tried it multiple times and it still works. It works at non-ssl port as well. So far as non-standard port is concerned, openDS LDAP uses 1636 port as standard. Moreover it had been working in past at port 1636. Here is the puppet.conf file

Re: [Puppet Users] cannot find a module in plain sight...

2011-11-27 Thread Nigel Kersten
On Sat, Nov 26, 2011 at 7:25 PM, Jo Rhett wrote: > On Nov 25, 2011, at 11:59 AM, Peter Berghold wrote: > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Could not find class adminscripts::getvpsnodes for > slccrepos0.slc.sharkrivertech.com at > /etc/puppet/manifests/n

Re: [Puppet Users] Re: Multiple nodes.pp files

2011-11-27 Thread Alexander Fortin
On 11/24/11 5:58 AM, Iain Sutton wrote: Aside: do you perhaps mean source => file("/home/$::realuser/puppet/files/smb.conf"), instead of content => file("/home/$::realuser/puppet/files/smb.conf"), ? No, I'm using content =>, and it works if I use actual strings instead of variables. Do