Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-14 Thread Dwaalspoor 98
> this seems to be more a timeout issue, but anyway: Thanks for your reply! There was not much of interest in the log files, but the problem I faced is described here: http://projects.puppetlabs.com/issues/4220 -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-14 Thread James Turnbull
Dwaalspoor 98 wrote: >> this seems to be more a timeout issue, but anyway: > > Thanks for your reply! There was not much of interest in the log > files, but the problem I faced is described here: > http://projects.puppetlabs.com/issues/4220 > It's fixed in RC3 if you can test please. Thanks Ja

Re: [Puppet Users] External nodes script does not work with multiple environments

2010-07-14 Thread Kenneth Holter
Yay, I got it working now. Your reply lead me to bug #3514, so I decided to extraced a fresh puppet.conf from the puppet-server RPM, and add my modifications to it (no copy and paste). Now it works, so it's possible that it was a CR/LF ending issue (if so I must have pasted code from outlook or som

[Puppet Users] Setting startup priorities on Ubuntu

2010-07-14 Thread Tim
Hiya, I'm trying to find a nice way of specifying the order in which services startup on Ubuntu via puppet. If I was to doing it manually I'd specify it via update-rc.d e.g.: update-rd.d myservice defaults 77 I'm not sure how to go about doing this via puppet however. My only thought at the mo

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

2010-07-14 Thread bowlby
Hi, I tried the mysq-module (from http://github.com/camptocamp/puppet-mysql) and it will install mysql but it won't create db's or users. I had to create /usr/share/augeas/lenses/contrib, because the module seems to expect it. Otherwise I get no error-logs, it just won't create users or databases..

Re: [Puppet Users] puppetmasterd screwing the SSL setup

2010-07-14 Thread Marco Marongiu
Hello Thanks to the ones who replied. Patrick Mohr ha scritto: > Basically, the puppet packages you are using (and I suspect most > others) assume that the client and the server on a given machine are > part of the same PKI. It also might be assuming a couple of other > things, but my experiment

[Puppet Users] Re: vcsrepo type, svn, & ensure => latest

2010-07-14 Thread bmort
Micheal, What directory and what file name did you put your test mainifest in? On Jul 13, 2:12 am, Michael Knox wrote: > Hi all, > We have some data in SVN repos and I'd like puppet to ensure that a) the > latest copy is checked out, and b) reload a service if it is updated. > So I've configur

[Puppet Users] Re: vcsrepo type, svn, & ensure => latest

2010-07-14 Thread nate
at the risk of sounding dense here, is it updating because the result of /bin/date is always going to be unique? maybe you can trigger it some other way, like with a comparison. On Jul 13, 2:12 am, Michael Knox wrote: > Hi all, > We have some data in SVN repos and I'd like puppet to ensure that a

[Puppet Users] vcsrepo - example file location.

2010-07-14 Thread bmort
where do the example files go? /etc/puppet/modules/vcsrepo/examples/svn -rw-r--r-- 1 root root 78 2010-07-13 14:58 server.pp -rw-r--r-- 1 root root 181 2010-07-13 14:58 checkout.pp is an init.pp needed? -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: vcsrepo type, svn, & ensure => latest

2010-07-14 Thread nate
never mind… haven't had coffee yet. On Jul 14, 9:11 am, nate wrote: > at the risk of sounding dense here, is it updating because the result > of /bin/date is always going to be unique? maybe you can trigger it > some other way, like with a comparison. > > On Jul 13, 2:12 am, Michael Knox wrote:

Re: [Puppet Users] puppetmasterd screwing the SSL setup

2010-07-14 Thread Ohad Levy
On Wed, Jul 14, 2010 at 8:50 PM, Marco Marongiu wrote: > Hello > > > I'm not sure if you're suggesting to use a single machine to host a CA > for the whole infrastructure. In case, would that scale? > It would scale, but it would be a single point of failure for adding new puppet clients. I would

Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-14 Thread Jasper Poppe
> It's fixed in RC3 if you can test please. > > Thanks > > James Turnbull > I've installed RC3 on the master and the client, but I still have issues if I take for example our Munin (module) class I get the following error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Co

Re: [Puppet Users] puppetmasterd screwing the SSL setup

2010-07-14 Thread Marco Marongiu
Ohad Levy ha scritto: > > > On Wed, Jul 14, 2010 at 8:50 PM, Marco Marongiu > wrote: > > Hello > > > I'm not sure if you're suggesting to use a single machine to host a CA > for the whole infrastructure. In case, would that scale? > > It would scale,

[Puppet Users] Puppet DDNS and Preseed -- Any easier alternative

2010-07-14 Thread Harihara Vinayakaram
Hi I have a set up that runs puppetmasterd, DDNS , DHCP etc on one server . I have managed to PXE boot Ubuntu 10.04 clients and setup puppet clients . The ultimate goal is to run Hadoop on the nodes. I have some observations on the process and I am wondering if there is any easier way to do . I a

Re: [Puppet Users] Puppet DDNS and Preseed -- Any easier alternative

2010-07-14 Thread Ohad Levy
are those clients which roam across subnets? (just to be sure why you are using ddns). you might consider using the certname option in puppet.conf to avoid the certificate name and fqdn fact. if you dont need it, and you are ok with pre-defining the hostname values, you might look at foreman as a

Re: [Puppet Users] Puppet DDNS and Preseed -- Any easier alternative

2010-07-14 Thread Joe McDonagh
On 07/14/2010 10:15 AM, Harihara Vinayakaram wrote: Hi I have a set up that runs puppetmasterd, DDNS , DHCP etc on one server . I have managed to PXE boot Ubuntu 10.04 clients and setup puppet clients . The ultimate goal is to run Hadoop on the nodes. I have some observations on the process an

Re: [Puppet Users] question about package provider on Solaris

2010-07-14 Thread Don Jackson
On Jul 13, 2010, at 5:20 PM, Jeff McCune wrote: > On Tue, Jul 13, 2010 at 5:00 PM, Don Jackson > wrote: >> It seems like the package provider is not seeing that sudo is already >> installed…. >> How can I fix that? >> >> Both my puppetmaster and puppetd are 0.25.5 > > Blastwave uses aliases f

Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-14 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > off topic: is it fine if I reply my problems to the release > announcements, or should I file bugs? Since I've quite a few other > problems with 2.6. I think that filing bugs with as much information as you can put into (client AND server debug/trac

[Puppet Users] Adding multiple custom facts for use in any module

2010-07-14 Thread Tim
Hi, We have a config file on each of our machines which lists the 'products' (in house software) that are installed on each machine. Puppet needs to know which are installed to be able to put together a config, the file looks something like: PRODUCT_PRODUCT1="true" PRODUCT_PRODUCT2="false" ... I

[Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread Marc Zampetti
All, We are looking to implement Puppet as part of our config management/provisioning system. I've read a lot of wiki pages, all the Puppet docs, and the forums and mailing list archives. So far, I'm pretty comfortable with most of puppet, but the one area that I am a bit confused about is h

Re: [Puppet Users] Puppet DDNS and Preseed -- Any easier alternative

2010-07-14 Thread Steven Wagner
ISC dhcpd supports secure DDNS updates. It will send an update as it's handing out an IP address. For this to work, you do need to figure out a way to determine the DDNS hostname. You can trust the hostname passed by the client, and/or you can override it with one you generate yourself.

Re: [Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread Cosimo Streppone
On Wed, 14 Jul 2010 17:19:33 +0200, Ohad Levy wrote: I use environments for this purpose. the first step is to add versions to your modules, then to automatically generate an environment for that selection of modules (in their respective version) And how do you do that? Tried searching aro

Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-14 Thread Jasper Poppe
> I think that filing bugs with as much information as you can put into > (client AND server debug/trace logs) is better, as parsing the list for > potential issues is less comfortable than a bug tracker. > > But that's my opinion... OK, will start filing bugs right now.. -- You received this me

Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-14 Thread James Turnbull
Jasper Poppe wrote: > > off topic: is it fine if I reply my problems to the release > announcements, or should I file bugs? Since I've quite a few other > problems with 2.6. > You should file bugs. We may miss a mailing list post. Regards James Turnbull -- Puppet Labs - http://www.puppetlab

Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.6.0 - Release Candidate 2 available!

2010-07-14 Thread Jasper Poppe
> > OK, will start filing bugs right now.. > First bug filed, still 2 more questions before I will file more bugs since I'm not to sure it's by design or a bug. 1) Do external nodes don't accept parameters anymore? (Not a big deal for us since we are deprecating those anyway but still different b

Re: [Puppet Users] Problem with home directories and users from NIS

2010-07-14 Thread Matthew Finlayson
David, thanks a ton for the suggestions. Being the only puppeteer at work doesn't offer enough code reviews. On Tue, Jul 13, 2010 at 11:27 PM, David Schmitt wrote: > Hi Matthew, > > I've got no idea what's happening with NIS there, but here are some tips > for improving the rest of your manifest

Re: [Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread Ohad Levy
I use environments for this purpose. the first step is to add versions to your modules, then to automatically generate an environment for that selection of modules (in their respective version) hope this helps, Ohad On Wed, Jul 14, 2010 at 10:20 PM, Marc Zampetti wrote: > All, > > We are lookin

Re: [Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread Ohad Levy
On Wed, Jul 14, 2010 at 11:39 PM, Cosimo Streppone wrote: > On Wed, 14 Jul 2010 17:19:33 +0200, Ohad Levy wrote: > > I use environments for this purpose. >> >> the first step is to add versions to your modules, then >> to automatically generate an environment for that selection of modules (in >>

[Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.0 - Release Candidate 3 available!

2010-07-14 Thread Todd Zullinger
James Turnbull wrote: > Welcome back again to the Puppet release cycle with the just out of > the gate release candidate 3. For those using Fedora or RHEL/CentOS, I've updated the yum repos at: http://tmz.fedorapeople.org/repo/puppet/ Packages for EL 4 - 6 and Fedora 12 - 13 are available fo

[Puppet Users] Re: question about package provider on Solaris

2010-07-14 Thread tehcook
I'm having similar issues with Blastwave. It does not complain about anything and even says that package was updated. Still after the puppet run package is at the old rev. package { "puppet": ensure => latest, provider => "blastwave", require => P

Re: [Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread Marc Zampetti
Ohad, So does that mean you have a large number of environments? Wouldn't this mean that worse case is that you have a separate environment for each node? Marc On 7/14/10 12:21 PM, Ohad Levy wrote: On Wed, Jul 14, 2010 at 11:39 PM, Cosimo Streppone mailto:cos...@streppone.it>> wrote:

Re: [Puppet Users] Updating node's configuration

2010-07-14 Thread Jeff McCune
On Tue, Jul 13, 2010 at 10:31 PM, cmvelo wrote: > I would like to have the sysconfig_class updated regularly (i.e. run puppetd > as a daemon), but I would like the app1_class updated on-demand only (i.e. > puppetd --onetime). You have a few options here. If it's just that one class, you could

Re: [Puppet Users] Puppet DDNS and Preseed -- Any easier alternative

2010-07-14 Thread Patrick Mohr
On Jul 14, 2010, at 7:27 AM, Joe McDonagh wrote: > On 07/14/2010 10:15 AM, Harihara Vinayakaram wrote: >> Hi >> I have a set up that runs puppetmasterd, DDNS , DHCP etc on one >> server . I have managed to PXE boot Ubuntu 10.04 clients and setup >> puppet clients . The ultimate goal is to run Had

Re: [Puppet Users] Re: puppet and augeas to keep ntp.conf

2010-07-14 Thread Rob McBroom
On Jul 12, 2010, at 7:35 PM, altimon wrote: > Unfortunately, > > following pp file creating 1st instances and then are adding new > ( I've tried just one ntp1 or triad ntp1,2,3 )Also where to look for all > these functions like last()? I was just guessing syntax. It’s probably wrong, but I’m s

Re: [Puppet Users] Re: question about package provider on Solaris

2010-07-14 Thread Nan Liu
On Wed, Jul 14, 2010 at 12:47 PM, tehcook wrote: > I'm having similar issues with Blastwave. It does not complain about > anything and even says that package was updated. Still after the > puppet run package is at the old rev. > > puppetd -otv > Looking at the provider, I believe blastwave provi

[Puppet Users] Re: vcsrepo type, svn, & ensure => latest

2010-07-14 Thread Mike
Bort On Jul 14, 11:03 pm, bmort wrote: > Micheal, > > What directory and what file name did you put your test mainifest in? > The I have puppet-vcsrepo (which is simply a git clone from the repo) in my $$modulepath. Then in my test env I have that test manifest below in site.pp. This test env is

[Puppet Users] Creating a directory fails

2010-07-14 Thread Christopher Johnston
I don't see anything out of the ordinary here, seems like its not honoring the type as a directory but as a file any ideas? err: //bind::slave/File[/var/named/chroot]: Failed to generate additional resources using 'eval_generate': Cannot manage files of type characterSpecial file { '/var/named/ch

[Puppet Users] Re: Updating node's configuration

2010-07-14 Thread David Ward
What I would suggest is to change the puppetd from a daemon to a cron job and add the argument of --tags. This way you can stipulate which classes to run on the cronjob run, which can run every 15mins or so. eg 15 * * * * pupetd -t --tags sysconfig_class --report etc -- Regards David

[Puppet Users] Augeas and grub.conf

2010-07-14 Thread Erinn Looney-Triggs
I hope that the answer to this isn't posted up somewhere else, I have looked around and I haven't found much of anything, augeas documentation seems to be thin. Is there even full documentation for all the augeas function and language syntax? What I am trying to do is edit the grub.conf file and m

[Puppet Users] Puppet Public Training in LA Area

2010-07-14 Thread scramble
Puppet Master Training coming up in Santa Monica Aug 17, 18, 19. Join us for a little summer school: http://www.puppetlabs.com/events/los-angeles-area-training/ If you have any questions let us know at sa...@puppetlabs.com Scott C. -- You received this message because you are subscribed to th

Re: [Puppet Users] vcsrepo type, svn, & ensure => latest

2010-07-14 Thread Corey Ralph
Hi Michael, On 13/07/2010, at 4:12 PM, Michael Knox wrote: > > exec {"/bin/date": > subscribe => Vcsrepo["/tmp/repo"], > } > > Does anyone have any suggestions on how I can get this to only refresh > when the repo is updated? You need to add refreshonly => true to that exec. Cheers Corey

Re: [Puppet Users] vcsrepo type, svn, & ensure => latest

2010-07-14 Thread Michael Knox
Thanks Corey, On 15/07/10 10:35 AM, Corey Ralph wrote: Hi Michael, On 13/07/2010, at 4:12 PM, Michael Knox wrote: exec {"/bin/date": subscribe => Vcsrepo["/tmp/repo"], } Does anyone have any suggestions on how I can get this to only refresh when the repo is updated? You need to add r

Re: [Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread Ohad Levy
On Thu, Jul 15, 2010 at 12:51 AM, Marc Zampetti wrote: > Ohad, > > So does that mean you have a large number of environments? Wouldn't this > mean that worse case is that you have a separate environment for each node? > > In theory yes, but we never had this kind of scenario, we currently maintai

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

2010-07-14 Thread steve .
If you grab the Augeas module from the same source, that should satisfy the dependency... On Wed, Jul 14, 2010 at 7:11 AM, bowlby wrote: > Hi, > I tried the mysq-module (from http://github.com/camptocamp/puppet-mysql) > and it will install mysql but it won't create db's or users. > I had to creat

Re: [Puppet Users] Creating a directory fails

2010-07-14 Thread Patrick Mohr
I'd check to see if /var/named exists or if /var/named/chroot is a symlink. On Jul 14, 2010, at 2:24 PM, Christopher Johnston wrote: > I don't see anything out of the ordinary here, seems like its not honoring > the type as a directory but as a file any ideas? > > err: //bind::slave/File[/var/

Re: [Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread mohit chawla
This article is quite helpful as well: http://bitfieldconsulting.com/scaling-puppet-with-distributed-version-control On Thu, Jul 15, 2010 at 8:30 AM, Ohad Levy wrote: > On Thu, Jul 15, 2010 at 12:51 AM, Marc Zampetti > wrote: > >> Ohad, >> >> So does that mean you have a large number of env