[Puppet Users] Re: Craig Dunn's Roles/Profiles/Components & Conflicts

2014-05-15 Thread jcbollinger
On Thursday, May 15, 2014 12:22:02 AM UTC-5, mjus...@gmail.com wrote: > > Hi all, > > We use the roles/profiles/components model originally suggested by Craig > Dunn fairly heavily. In our case: > > >- The role is a business name, like "Application X App Server" >- The profile is the te

Re: [Puppet Users] Craig Dunn's Roles/Profiles/Components & Conflicts

2014-05-15 Thread Christopher Wood
(inline) On Wed, May 14, 2014 at 10:22:02PM -0700, mjuszc...@gmail.com wrote: >Hi all, >We use the roles/profiles/components model originally suggested by Craig >Dunn fairly heavily.  In our case: > > * The role is a business name, like "Application X App Server" > * The pro

[Puppet Users] Re: Vagrant, puppet, augeas path expression problem

2014-05-15 Thread David Lutterkort
There's a small but subtle difference between your Puppet code and what you did in augtool: On Tuesday, May 13, 2014 9:37:33 PM UTC-7, jwil...@gmail.com wrote: > > Hi! > > I'm trying to update /etc/ssh/sshd_config on a Vagrant vm using the puppet > provider. When I do: > > ins PermitRootLogin a

[Puppet Users] Apply class fail from hiera

2014-05-15 Thread mike
Hi everyone, I'm setting in my Puppet the MySQL module with Hiera but when i run the node agent i give the error. -- [root@node1 ~]# puppet agent --test Info: Retrieving plugin Error: Could not retrieve catalog from remote server: wrong header line format Warning: Not using cache on

[Puppet Users] Code deployment strategy sanity check

2014-05-15 Thread Guy Knights
I'm looking at ways to better automate our build pipeline and I'm trying to envision ways to get our latest code package onto servers, while also being able to update this package at specific, later times. The code will be served from a local yum repository, so I figure we can install the late

Re: [Puppet Users] Code deployment strategy sanity check

2014-05-15 Thread Stu Teasdale
On Thu, May 15, 2014 at 11:19:05AM -0700, Guy Knights wrote: > I'm looking at ways to better automate our build pipeline and I'm trying to > envision ways to get our latest code package onto servers, while also being > able to update this package at specific, later times. > > The code will be s

Re: [Puppet Users] Code deployment strategy sanity check

2014-05-15 Thread Garrett Honeycutt
On 5/15/14, 11:19 AM, Guy Knights wrote: > I'm looking at ways to better automate our build pipeline and I'm trying > to envision ways to get our latest code package onto servers, while also > being able to update this package at specific, later times. > > The code will be served from a local yum

[Puppet Users] Announce: Puppet 3.6.0 Released!

2014-05-15 Thread Eric Sorenson
Hot on the heels of Puppet 3.5 comes Puppet 3.6.0. We said things were going to accelerate in Puppet's open-source release cadence, and here it is. Puppet 3.6.0 is a backward-compatible features and fixes release in the Puppet 3 series. The biggest things in this release are: * Improvem

Re: [Puppet Users] Craig Dunn's Roles/Profiles/Components & Conflicts

2014-05-15 Thread Ramin K
On 5/14/2014 10:22 PM, mjuszc...@gmail.com wrote: Hi all, We use the roles/profiles/components model originally suggested by Craig Dunn fairly heavily. In our case: * The role is a business name, like "Application X App Server" * The profile is the technical name, like "Base Components" or

Re: [Puppet Users] Craig Dunn's Roles/Profiles/Components & Conflicts

2014-05-15 Thread Christopher Wood
(inline) On Thu, May 15, 2014 at 11:45:21AM -0700, Ramin K wrote: > On 5/14/2014 10:22 PM, mjuszc...@gmail.com wrote: > >Hi all, > > > >We use the roles/profiles/components model originally suggested by Craig > >Dunn fairly heavily. In our case: > > > > * The role is a business name, like "Appli

[Puppet Users] Module for lsyncd - multiple syncs to be configured, but only one config file

2014-05-15 Thread Ugo Bellavance
Hi, I wrote my first puppet module and it is for lsyncd. I know that there is already a module for that but I think it was written to manage lsyncd and csync2 syncs and I don't really understand everything it it so I can't really use it or learn from it. I have been able to create a simple m

[Puppet Users] feeding files/templates to modules

2014-05-15 Thread Matthew Monaco
I'm using directory environments, and I think I've done a good job of putting all of my generic stuff in modules: $confdir/$environment/modules/* however, I like all of my personal and node-specific configuration to be in $confdir/$environment/manifests/nodes.pp $confdir/

Re: [Puppet Users] Module for lsyncd - multiple syncs to be configured, but only one config file

2014-05-15 Thread Poil
Hi, You can use hiera (here a yaml) sync: instance1: source: "toto" host: "titi instance2: source: "toto" host: "titi And in your template juste loop on it <% @sync.each_pair do |name, value| -%> <%= name %> source = "<%= value['source'] %>", host = "<%= value

[Puppet Users] Custom Resource Purging

2014-05-15 Thread Marc DiPasquale
Is it possible to use the resource metatype (or some other way) to purge my custom resource? I'm using Puppet v3.4.3 (Puppet Enterprise 3.2.0) I have a custom resource that is exported by a puppet module when an application is installed. This resource is collected on a management node and added

Re: [Puppet Users] Craig Dunn's Roles/Profiles/Components & Conflicts

2014-05-15 Thread Gary Larizza
On Wed, May 14, 2014 at 10:22 PM, wrote: > Hi all, > > We use the roles/profiles/components model originally suggested by Craig > Dunn fairly heavily. In our case: > > >- The role is a business name, like "Application X App Server" >- The profile is the technical name, like "Base Compone

Re: [Puppet Users] Module for lsyncd - multiple syncs to be configured, but only one config file

2014-05-15 Thread Jakov Sosic
On 05/15/2014 09:25 PM, Ugo Bellavance wrote: Hi, I wrote my first puppet module and it is for lsyncd. I know that there is already a module for that but I think it was written to manage lsyncd and csync2 syncs and I don't really understand everything it it so I can't really use it or learn fro

Re: [Puppet Users] Serious performance issues with Puppet 3.5.x when using Directory Environments

2014-05-15 Thread Chuck
I had to set environment_timeout to at least 60 seconds. The default was causing cpu / memory issues on my puppet master. I am still tuning it at this time. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and s

Re: [Puppet Users] Module for lsyncd - multiple syncs to be configured, but only one config file

2014-05-15 Thread Ugo Bellavance
On Thursday, May 15, 2014 5:45:57 PM UTC-4, Jakov Sosic wrote: > > On 05/15/2014 09:25 PM, Ugo Bellavance wrote: > > Hi, > > > > I wrote my first puppet module and it is for lsyncd. I know that there > > is already a module for that but I think it was written to manage lsyncd > > and csync2

Re: [Puppet Users] Serious performance issues with Puppet 3.5.x when using Directory Environments

2014-05-15 Thread Chuck
After a few more hours I am still seeing the high memory usage no matter what I set the environment_timeout to. On Thursday, May 15, 2014 4:55:32 PM UTC-5, Chuck wrote: > > I had to set environment_timeout to at least 60 seconds. The default was > causing cpu / memory issues on my puppet maste

Re: [Puppet Users] Module for lsyncd - multiple syncs to be configured, but only one config file

2014-05-15 Thread Ugo Bellavance
On Thursday, May 15, 2014 5:45:57 PM UTC-4, Jakov Sosic wrote: > > On 05/15/2014 09:25 PM, Ugo Bellavance wrote: > > Hi, > > > > I wrote my first puppet module and it is for lsyncd. I know that there > > is already a module for that but I think it was written to manage lsyncd > > and csync2

Re: [Puppet Users] Module for lsyncd - multiple syncs to be configured, but only one config file

2014-05-15 Thread José Luis Ledesma
You have declarer lsyncd class without parameters class lsyncd { Regards, El 16/05/2014 04:37, "Ugo Bellavance" escribió: > > > On Thursday, May 15, 2014 5:45:57 PM UTC-4, Jakov Sosic wrote: >> >> On 05/15/2014 09:25 PM, Ugo Bellavance wrote: >> > Hi, >> > >> > I wrote my first puppet module an

Re: [Puppet Users] feeding files/templates to modules

2014-05-15 Thread David Schmitt
Hi, easy solution: create a local site module (e.g. "matthew") an put every thing there. Manage it like all other modules. I did that at > https://github.com/DavidS/dasz-configuration/tree/master/modules/dasz and never looked back. Regards, David On 15.05.2014 21:55, Matthew Monaco wrote:

Re: [Puppet Users] Module for lsyncd - multiple syncs to be configured, but only one config file

2014-05-15 Thread David Schmitt
Hi, On 16.05.2014 04:37, Ugo Bellavance wrote: I worked on this tonight, but now I get an error when I try to apply it: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter dest at /etc/puppet/manifests/nodes/nodes.pp:29 If I comment out this variable, another

Re: [Puppet Users] Module for lsyncd - multiple syncs to be configured, but only one config file

2014-05-15 Thread Poil
Hi, I was a little wrong yesterday, you can use hiera, but also you can use a hash in your nodes.pp class lsync ($sync) { } $localsync = { instance1 => { 'source' => 'toto', 'host' => 'titi', }, instance2 => { 'source' => 'tutu', 'host' => 'tata', }, } class {'lsync'