[Puppet Users] PuppetCamp Dublin this Friday 6th July 2012

2012-07-03 Thread Simon McCartney
http://puppetcampdublin.eventbrite.com/ 
http://lanyrd.com/2012/puppet-camp-dublin/ 

PuppetCamp Dublin, in conjunction with Engineers Ireland Computing Division:

Puppet Camp is a community oriented gathering of Puppet users and 
developers. You’ll have the opportunity to network with a diverse group of 
Puppet users, benefit from insightful lectures delivered by prominent 
community members, and be able to share experiences and discuss potential 
implementations of Puppet during our attendee generated breakout sessions.

*Schedule*

*10:00am -* Checkin and Opening Remarks from Puppet Labs Co-founder Teyo 
Tyree

*10:40am - *Roland Tritsch - VP Technical Operations, Gilt Groupe

Building a continuous delivery platform for the biggest spike in e-commerce

*11:20: *Ruaidhri Power, DemonWare

This talk will describe the evolution of how we've used Puppet at Demonware, 
a subsidiary of Activision Blizzard, to run the infrastructure of some of 
the world's biggest games, supporting millions of concurrent users for 
titles such as Call of Duty.

*12:00pm - *Break & Lunch**

*1:00pm - *Stephen Connolly,Elite Developer and Architect,* *CloudBees

Continuous Deployment with Jenkins

*2:00pm**-*   CloudSmith 

Develop, test and publish modules to the Forge with Geppetto. Stack, 
validate and deploy them with Stack Hammer.

*3:00p**m -*  Dave Anderson, Ammeon
- dynamic re/generation of manifests
- several features that arent in puppet today but would be cool to have
- experience embedding puppet in a software product (as opposed to ad-hoc 
devops)
 

*4:00pm** -* Alessandro Franceschi, Lab42

An Holistic approach to Puppet Modules

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/qIxcPAmaB9sJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] PuppetCamp Dublin, 6th July 2012

2012-06-29 Thread Simon McCartney
come share & learn!

http://puppetcampdublin.eventbrite.com/
http://lanyrd.com/2012/puppet-camp-dublin/

*Engineers Ireland*
22 Clyde Road
Ballsbridge
Dublin
Ireland
Friday, July 6, 2012 from 10:00 AM to 5:00 PM


-- 
Simon McCartney
E: si...@mccartney.ie
M: +44 7710 836 915

-- 
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 unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: Blocking or gating service restarts?

2012-01-26 Thread Simon McCartney
>
> Generally, Puppet uses a service's init script to manipulate it, so
> you can alter services' restart behavior by modifying their init
> scripts.  That has the additional advantage that you get the same
> behavior if the service is ever restarted any other way.
>

good point, but now I have to repackge or overlay standard init scripts
(httpd & mysql at least, others are ours so less of an issue)


> There is no way to tell Puppet to start processing one resource,
> switch to processing a different resource, and later resume with the
>

I'd be happy enough for the puppet apply to just stall during bleed-down etc


> first.  You could possibly split the load balancer bleed-down and spin-
> up into separate resources, however, and use standard Puppet 'require'
> and 'before' relationships or resource chaining to establish order of
> application.  That might be advantageous if there are multiple
> resources you want to manage only while the load-balancer is down.


That sounds interesting, but how would you get the require/before to apply
to just a service restart as a result of the subscription?

eg if i have:

service { 'mysqld':
ensure => running,
enable => true,
subscribe => File['/etc/my.cnf'],
require => [ Package['mysql-server'], File['/prod/mysql'] ],
}

I'm want mysql to restart for any changes to /etc/my.cnf, but only when the
machine is OOS.

We have tools that coordinate restarts atm, but from the C&C out, not boxes
asking of they can restart, I'm thinking along the lines of a hook in the
service resource type to call a user-defined script to check if it's ok to
restart, blocking the puppet run until it gets an answer, the user defined
script then does what ever comms required to see if C&C are ok with the
OOS/restart.

(we do rolling deploys by allowing up to X% of machines in a given service
to go OOS for deployments)

Simon.

-- 
Simon McCartney
E: si...@mccartney.ie
M: +44 7710 836 915

-- 
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 unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Static Puppet Binary

2012-01-26 Thread Simon McCartney
> I just wanted to ask a question here, is it possible to build a static
> binary that I could sep to a client machine, and have it do it's first run
> to connect to a puppet master?
>
> My plan is to use a static binary as a sort of installer for particular
> systems, as I don't really want to have to install puppet client on 70
> systems by hand! These are all production servers already, so I'm not
> getting the opportunity to build them from the ground up.
>

We have a script that preps a machine for puppet, it's usually called like
this, on the remote box:

curl http://puppetmaster.example.com/install-puppet.sh | bash -x

the script just sets up the yum repos, removes any crufty ruby installed,
yum installs our puppet rpms, pulling in the right ruby rpm & runs the
first puppet apply, with wait for cert & then sets up the service.

We also do a few other steps that trip us up (clock drift being one for
certs, so ntpd is configured & time pulled from a known good source etc).

I can sanitize & post this if you want.

Simon.

-- 
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 unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Blocking or gating service restarts?

2012-01-26 Thread Simon McCartney
On 10 January 2012 18:36, Wolf Noble  wrote:

> just a thought; what if you made a fact for number of apache workers
> currently serving something, and base the service restart off of that.
>
> Might not be the best option; might not even work, but it makes more sense
> to me to have the service restart dependent on a local fact than be
> dependent on something external to the server


Interesting, making the machines LB status (& apache worker count etc would
be pretty straightforward, machines already know if they are IS/OOS) - how
do I use the fact to influence the restart - still needs a hook in the
service resource type right?


-- 
Simon McCartney
E: si...@mccartney.ie
M: +44 7710 836 915

-- 
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 unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.