[Puppet Users] Re: Puppet for app deployment

2010-01-13 Thread SyRenity
I studied CT a bit, and it seems to solve such tasks perfectly. I need much more on-hand experience of course. Regards. On Jan 12, 2:57 pm, Jesús Couto wrote: > I'm finding this discussion interesting and... depressing, as I'm trying to > model an enviroment where our #1 task is to deploy Java

[Puppet Users] Using sqlite with dashboard?

2010-01-13 Thread SyRenity
Hi. Is there any way to make Dashboard to use sqlite instead of mysql? I tried changing the database options in environment, but rake still insists on mysql. Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send em

[Puppet Users] 1.8.5 memory leaks for clients

2010-01-13 Thread SyRenity
Hi. I understand it's advised to use Ruby > 1.8.5 for puppet master, but what about the clients? How serious the issue is there? I'm using CentOS as clients servers, where ruby can't be updated so easily. Thanks. -- You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Compiling mysql gem under CentOS 64-bit

2010-01-13 Thread SyRenity
Hi. While not directly related to this list, I'm quite stuck on this. When trying to compile the mysql gem, I'm getting this error: -bash-3.2# gem install mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native exten

Re: [Puppet Users] Compiling mysql gem under CentOS 64-bit

2010-01-13 Thread Ohad Levy
you need mysql-devel. if you have more questions you are welcomed to join #puppet on irc. cheers, Ohad On Wed, Jan 13, 2010 at 9:30 PM, SyRenity wrote: > Hi. > > While not directly related to this list, I'm quite stuck on this. > > When trying to compile the mysql gem, I'm getting this error: >

Re: [Puppet Users] Using sqlite with dashboard?

2010-01-13 Thread Peter Meier
Is there any way to make Dashboard to use sqlite instead of mysql? I tried changing the database options in environment, but rake still insists on mysql. so far imho not. will come in the future. cheers pete -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Puppet vs Chef: 10 reasons why Puppet wins

2010-01-13 Thread John Arundel
It may be preaching to the converted, but I've put together a list of 10 areas where I think Puppet has the advantage over Chef. It's my experience that most people using or enthusing about Chef haven't had much exposure to Puppet (often because they come from developer world, where Puppet isn't wi

Re: [Puppet Users] Puppet vs Chef: 10 reasons why Puppet wins

2010-01-13 Thread Ohad Levy
Great post! I'll be happy if you add foreman to your second point ;) cheers, Ohad On Wed, Jan 13, 2010 at 10:24 PM, John Arundel wrote: > It may be preaching to the converted, but I've put together a list of > 10 areas where I think Puppet has the advantage over Chef. It's my > experience that

[Puppet Users] Re: Virtual ressource in a define

2010-01-13 Thread jcbollinger
On Jan 12, 4:19 pm, Sébastien Prud'homme wrote: > The example is just there to show the duplicate problem that i don't > understand as i use a virtual ressource. Each resource can be *declared* only once within any node's catalog, no matter whether that declaration is concrete or virtual (or ex

[Puppet Users] Re: Virtual ressource in a define

2010-01-13 Thread jcbollinger
On Jan 13, 8:47 am, jcbollinger wrote: > YMMV, but I don't see anything inelegant about that. Note also that you can then simplify your definitions by making the virtual file declaration concrete and removing the realize() call. You might even be able to remove the "dir" parameter to mydefine2.

Re: [Puppet Users] Puppet vs Chef: 10 reasons why Puppet wins

2010-01-13 Thread John Arundel
On Wed, Jan 13, 2010 at 2:35 PM, Ohad Levy wrote: > Great post! > I'll be happy if you add foreman to your second point ;) Happy to oblige :) J -- Bitfield Consulting: we make software that makes things work http://bitfieldconsulting.com/ -- You received this message because you are subscribed

[Puppet Users] hosts update trouble

2010-01-13 Thread Arnauld
Hi, I do not know if it's a bug, a feature or something I didn't understood, but it's I can't update my clients hosts "synchronously". What I mean by "synchronously" is that when I push a new configuration on my master server, I do not know when my clients will be updated. And it also appears that

Re: [Puppet Users] Re: Puppet for app deployment

2010-01-13 Thread Scott Smith
On 1/12/10 10:23 PM, Silviu Paragina wrote: Probably a brainfart, but: This scenario is typical and would suggest the requirement of database resource. And this would be just enough. Interesting idea, but it can't handle complex schema changes. Usually these are not "set it and forget it" ope

[Puppet Users] Managing authorized_keys

2010-01-13 Thread Andre Timmermann
Hi, I am trying to manage the file authorized_keys with puppet. I am using http://reductivelabs.com/trac/puppet/wiki/Recipes/Authorized_keys as reference. I was not able to delete an unwanted key from the file. Unfortuantely there are "/" within the key: ssh-rsa B3NzaC1yc2EAA/5GytXDjAR3XoxTR

Re: [Puppet Users] Managing authorized_keys

2010-01-13 Thread Silviu Paragina
May I suggest using this recipe http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth ? It's more recent and uses the ssh_authorized_key resource in puppet. Silviu Andre Timmermann wrote: Hi, I am trying to manage the file authorized_keys with puppet. I am using http://reductivela

Re: [Puppet Users] Managing authorized_keys

2010-01-13 Thread Andrew Schulman
> Hi, > > I am trying to manage the file authorized_keys with puppet. I am using > http://reductivelabs.com/trac/puppet/wiki/Recipes/Authorized_keys as > reference. > > I was not able to delete an unwanted key from the file. Unfortuantely > there are "/" within the key: > > ssh-rsa B3NzaC1yc

[Puppet Users] Run a script when it has been changed.

2010-01-13 Thread JoE
Hi all, Currently I am trying to have a script run whenever a change is made to it. Here is an example of when my configurations look like: file { "/usr/bin/data/": owner => "rot", group => "wheel", mode => "755", purge => true, recurse => true, s

Re: [Puppet Users] Re: Virtual ressource in a define

2010-01-13 Thread Sébastien Prud'homme
Ok, thanks for all your explanations. I didn't noticed the virtual ressource was declared twice... Thanks a lot again. 2010/1/13 jcbollinger : > > > On Jan 13, 8:47 am, jcbollinger wrote: >> YMMV, but I don't see anything inelegant about that. > > Note also that you can then simplify your defini

Re: [Puppet Users] Run a script when it has been changed.

2010-01-13 Thread Dan Bode
On Wed, Jan 13, 2010 at 1:24 PM, JoE wrote: > Hi all, > > Currently I am trying to have a script run whenever a change is made > to it. Here is an example of when my configurations look like: > > file { "/usr/bin/data/": >owner => "rot", >group => "wheel", >mode => "755",

[Puppet Users] ANNOUNCE: Puppet 0.25.4 - Release Candidate 1 available!

2010-01-13 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You wanted "release early, release often" and the Puppet team has delivered! The first 0.25.4 release candidate is a maintenance release in the 0.25.x branch. The release addresses a regression introduced in 0.25.3 that caused issues with creating cr

[Puppet Users] Making puppet only update /etc/users and /etc/groups on solaris

2010-01-13 Thread Peter
Hi, We use ldap in compatibility mode and I would like to ensure users ad groups for service accounts are in the local files database. Puppet uses getpwent etc all to access user and group information. I saw issue #708 but I don't believe there is any progress on this. This Is what I did as a w

[Puppet Users] How to ensure a host has no aliases

2010-01-13 Thread Peter
Hi, I'm trying to create a host entry and want puppet to remove the alias if is exists for that host in the host file. If alias is not set aliases are left as they are for that host. If alias is set to undef aliases are left as they are. If alias is set to '' is constantly changes the host file