[Puppet Users] Re: Management of MySQL grant tables?

2010-07-22 Thread bowlby
Now we're getting somewhere! I replaced /bin/sh for /bin/bash (mv /bin/sh /bin/sh_old; ln -s /bin/ bash /bin/sh). Probably an oddity of Lucid in /bin/sh? 'which mysql' gave me /usr/bin/mysql but then I checked for mysql- client, it wasn't installed so I did. Below is my debug info. As shown in

[Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-22 Thread Douglas Garstang
On Wed, Jul 21, 2010 at 10:29 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Wed, Jul 21, 2010 at 10:04 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Wed, Jul 21, 2010 at 9:55 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Wed, Jul 21, 2010 at 9:24 PM, Douglas

[Puppet Users] Empty set in MySQL for puppetdashboard.

2010-07-22 Thread Make Mine a Double
Hey all, recently installed puppet-dashboard (latest), to puppet with MySQL. Things are looking hunkydory, but some nodes are not appearing in the db. In the puppet-dashboard logs we have: Node Load (0.4ms) SELECT * FROM `nodes` WHERE (`nodes`.`name` = 'my.host') ORDER BY name ASC LIMIT 1

Re: [Puppet Users] Monit module that supports both monitrc and monit.conf

2010-07-22 Thread Daniel Maher
On 07/21/2010 09:59 PM, bmort wrote: Does anyone know of or have a module ( they are willing to share ) that supports both monitrc and monit.conf. Is there a functional / syntactical difference between monit.conf and monitrc, or are they just two implementations of the same thing (my

Re: [Puppet Users] Installing a module FIRST

2010-07-22 Thread Rob McBroom
On Jul 21, 2010, at 7:29 PM, Douglas Garstang wrote: The need for this is driven from the fact that various packages will often install a local user. In order to make sure that that id's of any of these local users do not clash with id's from LDAP users, the ldap client configuration needs to

Re: [Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-22 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And finally, one more example, because I've been at this for 3 hours and I'm sick and tired of it: maybe this is a bug and you should simply report it with the simplest example you have come up and which didn't work. cheers pete -BEGIN PGP

Re: [Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-22 Thread Douglas Garstang
On Thu, Jul 22, 2010 at 8:17 AM, Peter Meier peter.me...@immerda.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And finally, one more example, because I've been at this for 3 hours and I'm sick and tired of it: maybe this is a bug and you should simply report it with the simplest

Re: [Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-22 Thread Brice Figureau
On Thu, 2010-07-22 at 08:20 -0700, Douglas Garstang wrote: On Thu, Jul 22, 2010 at 8:17 AM, Peter Meier peter.me...@immerda.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And finally, one more example, because I've been at this for 3 hours and I'm sick and tired of it:

[Puppet Users] fileserver issues - getaddr info

2010-07-22 Thread denmat
Hi all, Haven't set puppet up for awhile and have an issue with getting files served. I'm running 2.6 gem on fedora12. class sshd { package info file { /tmp/that.txt: source = puppet://server/modules/sshd/files/that.txt, ensure = present, mode = 600, owner = root, group

Re: [Puppet Users] File /etc/yum.conf does not contain a main section

2010-07-22 Thread Jeff McCune
On Wed, Jul 21, 2010 at 9:46 PM, Douglas Garstang doug.garst...@gmail.com wrote: James, Probably a minor bug. I retyped the [main] line, and puppet was happy. There was probably a trailing tab or white space at the end of the line. Easy to reproduce I guess still a bug? Doug. Doug,

Re: [Puppet Users] fileserver issues - getaddr info

2010-07-22 Thread Patrick Mohr
Try using a path of puppet://server/sshd/files/that.txt (I removed the word modules). On Jul 22, 2010, at 6:03 AM, denmat wrote: Hi all, Haven't set puppet up for awhile and have an issue with getting files served. I'm running 2.6 gem on fedora12. class sshd { package info file {

Re: [Puppet Users] Failing to connect new client to master

2010-07-22 Thread Patrick Mohr
The hostname the client connects to, must match the name on the server's certificate. More info at: http://groups.google.com/group/puppet-users/browse_thread/thread/8bcc83b7f52214db On Jul 22, 2010, at 10:02 AM, WEB PAGE: http://www.dyarstraights.com (08/14/04) WEB PAGE:

Re: [Puppet Users] Failing to connect new client to master

2010-07-22 Thread David Dyer-Bennet
On Thu, July 22, 2010 12:27, Patrick Mohr wrote: The hostname the client connects to, must match the name on the server's certificate. I believe I have that right. On the server, [r...@wrkapp00 ddb]# hostname wrkapp00.esteemedemployer.local [r...@wrkapp00 ddb]# puppetca --all --list +

[Puppet Users] Re: Monit module that supports both monitrc and monit.conf

2010-07-22 Thread bmort
On Jul 22, 4:20 am, Daniel Maher d...@witbe.net wrote: On 07/21/2010 09:59 PM, bmort wrote: Does anyone know of or have a module ( they are willing to share ) that supports both monitrc and monit.conf. Is there a functional / syntactical difference between monit.conf and monitrc, or are

[Puppet Users] Foreman / External Nodes -- Node Not found

2010-07-22 Thread CraftyTech
Hello All, So I finally got around to start to cut over node definitions from standard flat files to external nodes (foreman), and getting error message: Error 400 on SERVER: Could not find node 'nodename'; cannot compile - So basically it can't pick up the node from the external node

[Puppet Users] checking if a user exists

2010-07-22 Thread Don Harden
Hi Folks, Ive been trying to figure this out on Puppet 2.5.5 but just upgraded to 2.6 I have this in a module to make sure zabbix is installed, configured and running: class zabbix_agentd { user { zabbix: name = 'zabbix', ensure = present,

Re: [Puppet Users] Failing to connect new client to master

2010-07-22 Thread Patrick Mohr
On Jul 22, 2010, at 12:20 PM, David Dyer-Bennet wrote: On Thu, July 22, 2010 12:27, Patrick Mohr wrote: The hostname the client connects to, must match the name on the server's certificate. I believe I have that right. On the server, [r...@wrkapp00 ddb]# hostname

Re: [Puppet Users] checking if a user exists

2010-07-22 Thread Patrick Mohr
What about just not setting the uid? It sounds like that's what you are trying to do. On Jul 22, 2010, at 12:30 PM, Don Harden wrote: Hi Folks, Ive been trying to figure this out on Puppet 2.5.5 but just upgraded to 2.6 I have this in a module to make sure zabbix is installed,

Re: Re: [Puppet Users] fileserver issues - getaddr info

2010-07-22 Thread tu2Bgone
Thanks for the reply, I did try various different path locations before I posted. I'm guessing that the problem is either in the way that puppet looks up hostnames or a problem elsewhere in the actual config. err: /Stage[main]/Sshd/File[/tmp/that.txt]: Could not evaluate: getaddrinfo: Name

Re: [Puppet Users] fileserver issues - getaddr info

2010-07-22 Thread Patrick Mohr
I would actually try it again with an even shorter path. Here's something that works for me. fileserver.conf: [private] path /etc/puppet/private/%d/%h allow * The file is at /etc/puppet/private/domain-name/server-name/openvpn/server.conf Manifest reads: file {

[Puppet Users] Re: fileserver issues - getaddr info

2010-07-22 Thread denmat
Thank you again Patrick, That did the trick. all working. source = puppet:///modules/sshd/tmp/that.txt Super. On Jul 23, 11:24 am, Patrick Mohr kc7...@gmail.com wrote: I would actually try it again with an even shorter path.  Here's something that works for me. fileserver.conf: [private]

[Puppet Users] Installing Puppet

2010-07-22 Thread parag(PK)
Can anyone describe the exact puppet installation procedure I am using a Ubuntu 7.04 system -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group,

Re: [Puppet Users] Foreman / External Nodes -- Node Not found

2010-07-22 Thread Ohad Levy
Hi, The output you get from external nodes means that the host was not allocated to any class or puppet environment, make sure you edit the host details first in foreman. Ohad On Fri, Jul 23, 2010 at 4:22 AM, CraftyTech hmmed...@gmail.com wrote: Hello All, So I finally got around to