Re: [Puppet Users] puppet in java

2013-12-05 Thread Romain Pelisse
Hi,

If I understand your use case, you actually don't need to read the file in
java, you just need to place properties files under puppet control,
meaning, ask Puppet to either deploy the files (if missing) or ensure its
content is equal to the one on the Puppetmaster.

The real issue is that (up to my knowledge) no Java application will reload
a properties file, so even if Puppet deploys a change to it, if the Java
process has already been started, you'll need to restart it. Puppet has a
mechanism called notify to do that, but if you don't want to restart the
application this is not an option.

An other way to do it would be use Puppet to set up a cronjob that restarts
the application during the local night. This way; if you deploy a change
during the day, the application will be made aware of it in the following
night.

if you really need to have the Java app immediatly load the change, you
need change from regular property files (.properties, load by the bundle
mechanism) to plain configuration file, which scanned for changes regularly
by your app. (ie code changes).





On 28 November 2013 10:28, PRAVEEN D pravee...@gmail.com wrote:

 We have bunch or property files(key/value pairs) used in different modules
 in our java web applicaiton. our applicaiton is also distributed, part of
 that runs on a head office and some of the parts run at the branch. All the
 branches run a local server for day to day activities.  We are looking to
 automate these files when moving to different environments like deve, test,
 prod. So that we can manage these property files without restarting the
 applicaiton. From my understanding puppet is able to manage those property
 files and can be distributed to any number o nodes.

 From my understanding with puppet, it creates a manifest files and these
 are updated by the agents from the puppet master. My question is how to
 read these manifest files in java? does this puppet supports in all
 operating systems?

 Thanks,
 Praveen

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/puppet-users/72669544-12ec-4e75-92e1-f0d3e85e8878%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
Belaran ins Prussia (blog) http://blog.wordpress.belaran.eu/ (...
finally up and running !)

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAE6oEnyo3hLV2RHLNP-4fpEM62_ihhjSw66K1%3D95S2JrAnhggA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Generating a variable based on the hostname

2013-09-27 Thread Romain Pelisse
Hi all,

I'm wondering what would be the best approach to extract a value from the
hostname. In my case, the hostname contains the type of environment (dev,
int, qa, prod) and I would like to have a variable called $env which
contains will be extracted from such FQDNs:

- vm-role-app-prod-1
- vm-role-app-qa-1
...

I've tried using split, but it was not really practical. Any better idea ?
Short to deploy a custom fact to add this value to the facts..

PS: I'm using Puppet 2.7.21

-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
Belaran ins Prussia (blog) http://blog.wordpress.belaran.eu/ (...
finally up and running !)

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Re: Module for tuned-adm

2013-06-26 Thread Romain Pelisse
Provider for this is overkill was my first impression also, but after
fighting a couple of time against my own exec for it, I just said F**k
that, let's make a proper extension. Also, this is very trivial extension
allowed me to demo how to do such extension in small Puppet workshop that
I gave.




On 18 May 2013 16:45, Matthias Saou matth...@saou.eu wrote:

 shameless plug
 You could also have a look at this other module :
 https://forge.puppetlabs.com/thias/tuned
 /shameless plug

 I just had a look at Romain's, and a provider just for this is
 overkill. As much as I hate exec, it's fine here since the profile name
 is exactly contained in a single configuration file. Also, a class is
 best here instead of a definition since it can only be instantiated
 once per node. Lastly, using a class makes it trivial to tune nodes
 using hiera and class parameter auto-lookup in puppet 3.

 Matthias

 banjer jash...@gmail.com wrote:

  Thanks, I was about to roll out a puppet module for tuned-adm and
  found this.  Easy to use and working great in my environment.
 
  Cheers!
 
  On Friday, January 4, 2013 8:25:16 AM UTC-5, Romain PELISSE wrote:
  
   Hi all,
  
   tuned-adm module: https://github.com/rpelisse/puppet-tuned
  
   I'm using
   tuned-adm
 https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Power_Management_Guide/tuned-adm.html
 to
   tune the kernel of the target system according to a profile. I
   first used exec{} to trigger the profile setting but lead to the
   exec{} being ran at every Puppet run which I found, at beast,
   inelegant. I end up doing this module to more and less properly
   implement the exists? method. The module implementation is rather
   rudimentory but still nice to have - if you need it.
  
   (Note: i've googled a bit before doing that and ran into a couple
   of existing Puppet module or code for tuned-adm but they were
   either using exec() internally or just installing the packages and
   nothing more).
   (Final note: Before XMas, I've already submitted a completely
   useless module extension to handle DNS Name, as it turned out
   Puppet supports this out of the box, so I hope this module proposal
   will be a tidbit more useful ! :) )
  
   --
   Romain PELISSE,
   *The trouble with having an open mind, of course, is that people
   will insist on coming along and trying to put things in it --
   Terry Pratchett* Belaran ins Prussia (blog)
   http://blog.wordpress.belaran.eu/ (... finally up and
   running !)
  
 

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
Belaran ins Prussia (blog) http://blog.wordpress.belaran.eu/ (...
finally up and running !)

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Module for tuned-adm

2013-01-04 Thread Romain Pelisse
Hi all,

tuned-adm module: https://github.com/rpelisse/puppet-tuned

I'm using 
tuned-admhttps://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Power_Management_Guide/tuned-adm.htmlto
tune the kernel of the target system according to a profile. I first
used exec{} to trigger the profile setting but lead to the exec{} being ran
at every Puppet run which I found, at beast, inelegant. I end up doing this
module to more and less properly implement the exists? method. The module
implementation is rather rudimentory but still nice to have - if you need
it.

(Note: i've googled a bit before doing that and ran into a couple of
existing Puppet module or code for tuned-adm but they were either using
exec() internally or just installing the packages and nothing more).

(Final note: Before XMas, I've already submitted a completely useless
module extension to handle DNS Name, as it turned out Puppet supports this
out of the box, so I hope this module proposal will be a tidbit more useful
! :) )

-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
Belaran ins Prussia (blog) http://blog.wordpress.belaran.eu/ (...
finally up and running !)

-- 
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.



[Puppet Users] A simple module to manipulate entry in /etc/hosts

2012-12-21 Thread Romain Pelisse
Hi all,

As I used Puppet to set up on my laptop some local website with NGinx, I
often need to add entry to /etc/hosts. I tried to hack that for a long time
using exec and shell script, and - as almost always with exec, it turned
out to be quite cumbersome. I googled a bit a find a module doing that, but
also using exec - so I end up writing my own extension:

Maybe some of you will find that useful:
https://github.com/rpelisse/puppet-local-dns-ext

PS: I'm far from being a Ruby developer, so any comment on the quality of
it, or the lack of respect of some practises in the Ruby world are
appreciated !

-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
Belaran ins Prussia (blog) http://blog.wordpress.belaran.eu/ (...
finally up and running !)

-- 
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] A simple module to manipulate entry in /etc/hosts

2012-12-21 Thread Romain Pelisse
Grrr I had googled around for a proper solution for a while before
doing this. Well, googling does not replace community knowledge, not a
surprise here. I should have ask around - like on this ML.

(To be faire, I also did this extension to learn how to make an extension)

Le 21 déc. 2012 21:28, Dan White y...@comcast.net a écrit :

Why re-invent the wheel ?

http://docs.puppetlabs.com/references/latest/type.html#host
http://www.puppetcookbook.com/posts/adding-a-host-entry.html

“Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin  Hobbes)


- Original Message -
From: Romain Pelisse bela...@gmail.com
To: puppet-users@googlegrou...
--
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.

--
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.

-- 
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] Do you want a Puppet Conference in Berlin, Germany

2012-11-25 Thread Romain Pelisse
Great idea ! And I love to support by giving a talk !

Le 25 nov. 2012 03:38, Oliver Schad 
puppet.oliver.sc...@automatic-server.com a écrit :

On Mon, 19 Nov 2012 09:02:27 +0100
Martin Alfke tux...@gmail.com wrote:

 I am thinking about run...
Great idea.


 Are there any people on this list from nearby?
Airplanes exists. :-)


 Do you want to support (talk, workshop)?
Yes, of course.

Regards
Oli


-- 
You received this message because you are subscribed to the Google Groups
Puppet Users group

-- 
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] Puppet is very slow when running in AWS

2011-09-19 Thread Romain Pelisse
I had some issues on my first trial with Puppet on AWS because of DNS
resolution. I used Amazon R53 and the all damn thing was very slow (however
you could clearly see this issue with wireshark). Maybe this hint will help
you...

On 20 September 2011 00:14, Troy Stribling troy.stribl...@gmail.com wrote:

 I am using Puppet 2.7.2 with ruby 1.8.7 (2010-01-10 patchlevel 249)
 and 64 bit Ubuntu 10.4.

 I have a Vagrant environment which I have been using for development.
 In the vagrant environment about 5 minutes is required to run all of
 the modules used for the configuration I have been developing. When I
 run exactly the same modules in AWS several hours are required. The
 Vagrant VM has 1 CPU and 1 GB of memory. The AWS VM is an M1.Large
 with 2 CPUs and 8GB of memory, When running in AWS the puppet process
 is consuming most a CPU the entire time. Memory usage is low and their
 is no excessive disk or network IO. The modules are eventually
 executed without error.

 Has anyone seen similar behavior?

 Thanks,

 --
 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.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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] Berlin Puppet meet-up?

2011-03-14 Thread Romain Pelisse
Hi,

I'll definitelly be interested. Maybe you could set up a doodle for this ?

(just to be sure, you mean Berlin, Germany,Europe ? Not Berlin, somewhere
else in the US...)

On 14 March 2011 16:22, Dan Bode d...@puppetlabs.com wrote:

 Hi Puppeteers,

 I will be in Berlin for the next couple of weeks and was wondering if any
 Puppet users would be interested in getting together for beer, trading
 Puppet stories, etc...

 -Dan

 --
 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.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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.



[Puppet Users] failed to retrieve certificate on Amazon EC2

2011-03-11 Thread Romain Pelisse
Hi,

I'm using puppet on EC2 to setup my VMs with the following configuration:

# puppetd --version
0.25.5
# uname -a
Linux hostname.domain 2.6.16-xenU #1 SMP Mon May 28 03:41:49 SAST 2007 i686
i686 i386 GNU/Linux

But I keep facing some timeout from puppetd:

warning: peer certificate won't be verified in this SSL session
Exiting; failed to retrieve certificate and waitforcert is disabled

Puppetmaster is running on autosign, and I can see in the puppetmaster logs
that the puppets are actually able to connect and request a certificate:

info: Could not find certificate for 'hostname.domain'

But, nothing else seems to happens on puppetmaster side and the puppetd
finally timeout.

Did anybody runned into this situation ? Any idea on what could be
triggering this ?

-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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] failed to retrieve certificate on Amazon EC2

2011-03-11 Thread Romain Pelisse
Hi,

Thanks for you quick reply.

Try puppetd --test --waitforcert 15


I actually tried --waitforcert 48 ! But it still hang and end up into a
certificate timeout : puppetd[2078]: Could not request certificate:
Connection refused - connect(2)


 I think it's complaining about waitforcert because you need that flag to
 retrieve the cert from the server.


 But it would have been nice to see the actual command you used to produce
 that error. :)


puppet is running as regular red hat service, so there is no command
(well there is but I just let the service runs). I have nothing fancy in my
[puppetd] configuration:

[puppetd]
# The file in which puppetd stores a list of the classes
# associated with the retrieved configuratiion.  Can be loaded in
# the separate ``puppet`` executable using the ``--loadclasses``
# option.
# The default value is '$confdir/classes.txt'.
classfile = $vardir/classes.txt

# Where puppetd caches the local configuration.  An
# extension indicating the cache format is added automatically.
# The default value is '$confdir/localconfig'.
localconfig = $vardir/localconfig

server = puppetmaster.domain

The number is the interval that the puppet client will pause between
 requests to the server for it's cert and is a required parameter.


Ah, ok , so maybe having a big number here ( --waitforcert 48) is a bad
idea


 At that point, back on the server you should see what facter considers to
 be the fqdn of the requesting machine when you issue

 puppetca --list

 Then sign

 puppetca --sign http://host.domain.comhost.domain.com

 I'd recommend turning off autosign on the puppet master as it's a security
 risk.


For now I need autosign, because I'm creating instance on the fly - so I
don't want to manually accept each one. (but I'm aware of the security
risk of this setup).






 Hope that is helpful.

 Sent from my iPhone

 On Mar 11, 2011, at 8:04 AM, Romain Pelisse bela...@gmail.com wrote:

 Hi,

 I'm using puppet on EC2 to setup my VMs with the following configuration:

 # puppetd --version
 0.25.5
 # uname -a
 Linux hostname.domain 2.6.16-xenU #1 SMP Mon May 28 03:41:49 SAST 2007 i686
 i686 i386 GNU/Linux

 But I keep facing some timeout from puppetd:

 warning: peer certificate won't be verified in this SSL session
 Exiting; failed to retrieve certificate and waitforcert is disabled

 Puppetmaster is running on autosign, and I can see in the puppetmaster logs
 that the puppets are actually able to connect and request a certificate:

 info: Could not find certificate for 'hostname.domain'

 But, nothing else seems to happens on puppetmaster side and the puppetd
 finally timeout.

 Did anybody runned into this situation ? Any idea on what could be
 triggering this ?

 --
 Romain PELISSE,
 *The trouble with having an open mind, of course, is that people will
 insist on coming along and trying to put things in it -- Terry Pratchett*
 http://belaran.eu/wordpress/belaranhttp://belaran.eu/wordpress/belaran

 --
 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.

  --
 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.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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: failed to retrieve certificate on Amazon EC2

2011-03-11 Thread Romain Pelisse
On 11 March 2011 14:41, Luke Bigum luke.bi...@lmax.com wrote:

  I actually tried --waitforcert 48 ! But it still hang and end up into
 a
  certificate timeout : puppetd[2078]: Could not request certificate:
  Connection refused - connect(2)

 Connection refused sounds like networking or a firewall is in your
 way. On your new Puppet client, can you telnet puppetmaster.domain
 8140? Assuming your Puppet Master is running on the default port of
 8140.



Yep it does sounds like that, but as I can see the notice with the new
instance name appears on the puppetmaster side I assume it wasn't the
firewall.

However, if I telnet on port 8140 I can't connect...

I'm starting to wonder if my puppetmaster can't just handle the 4 instances
starting up at the same time. It's far from being a big scale but I'm still
using only on instance of puppetmasterd running with webbrick... Can this
default setup supports more than one client at the time ?


 What's the output of puppetd --test ?



puppetd --test
warning: peer certificate won't be verified in this SSL session

and then the certificate error.

-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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.



[Puppet Users] Puppetmaster/Amazon EC2/DNS

2011-02-23 Thread Romain Pelisse
Hi,

I'm using Amazon EC2 and I'm planning to use puppet to deploy automatically
my instances, however, I have an issue I can't rely think through.

As most people advised, I used a DNS server (bind to be precise) so that my
instances can register to it but also ask this DNS Server the IP of the
puppetmaster. However, as this DNS server is also running on Amazon EC2
instance it does not have a static IP. So I tried to associate it with an
elastic IP - ie a static IP but (for unexplained reasons yet) it's
failing. I've been fighting with this for a little while and I'm starting to
wonder if my all approach is not wrong.

If you do deploy on Amazon EC2, how do you address this situation ?

--
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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: Puppetmaster/Amazon EC2/DNS

2011-02-23 Thread Romain Pelisse
Hi,

Thanks for you reply - actually I simply didn't know about DNS 53, which
perfectly matches my need. So I just subscribe.

@Ken: Yes, static ip + bind should work, it's probably due to an ACL badly
setted on my side - but you are right, this is ml is not about bind, so

On 23 February 2011 12:03, Ken Barber k...@bob.sh wrote:

 This is the approach I've taken in the past - and I've used a 'static
 address' aka elastic IP as you have been trying to do and it has
 worked. I guess this isn't the best forum for problems with the
 Elastic IP service ... but it _should_ work and has worked for me.

 At the risk of being off topic - what is the problem? If its obvious
 there are lots of people on the list who probably use Amazon and are
 general admins who might provide guidance if its a simple problem. The
 best help however will come from the Amazon EC2 forums most probably:

 https://forums.aws.amazon.com/forum.jspa?forumID=30

 Or call support if you are paying for it :-).

 There is also the Route 53 service - which doesn't require a host
 running bind:

 http://aws.amazon.com/route53/

 The API however is new and the tooling wouldn't be as freely available
 as a normal DNS server for dynamic updates.

 ken.

 On Feb 23, 9:08 am, Romain Pelisse bela...@gmail.com wrote:
  Hi,
 
  I'm using Amazon EC2 and I'm planning to use puppet to deploy
 automatically
  my instances, however, I have an issue I can't rely think through.
 
  As most people advised, I used a DNS server (bind to be precise) so that
 my
  instances can register to it but also ask this DNS Server the IP of the
  puppetmaster. However, as this DNS server is also running on Amazon EC2
  instance it does not have a static IP. So I tried to associate it with
 an
  elastic IP - ie a static IP but (for unexplained reasons yet) it's
  failing. I've been fighting with this for a little while and I'm starting
 to
  wonder if my all approach is not wrong.
 
  If you do deploy on Amazon EC2, how do you address this situation ?
 
  --
  Romain PELISSE,
  *The trouble with having an open mind, of course, is that people will
  insist on coming along and trying to put things in it -- Terry
 Pratchett*http://belaran.eu/wordpress/belaran

 --
 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.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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: Master-less : What do I lose?

2011-02-09 Thread Romain Pelisse
Having your puppetmaster configuration in a git repository and simply ask
the puppet (crontab) to periodically fetches configuration changes and run
it could also be an approach to a masterless deployment but keeping a
centralized configuration...

Are am I missing some active thing (puppetrun for instance) that can do a
puppetmaster ?..

On 9 February 2011 12:07, prayther prayt...@gmail.com wrote:



 On Feb 9, 4:15 am, Jordan Sissel j...@semicomplete.com wrote:
  On Mon, Feb 7, 2011 at 9:59 AM, jblaine cjbla...@gmail.com wrote:
   I've not found an explanation of what is lost by using Puppet without a
   puppetmaster.
 
   Does anyone have a link to something like that, or is anyone willing to
   expound on the topic?
 
  I presented a few weeks ago about how I use puppet, and that included
  masterless.
 
  Searchable slides on one page here:
 http://semicomplete.com/presentations/puppet-at-loggly/puppet-at-logg...
 
  I include caveats and other stuff to consider for masterless.
 
  All told, while I love masterless, I don't recommend it for the average
  case. Do you have a reason or requirement that makes you want to use
  masterless?
 
  -Jordan
 
 
 
 
 
 
 
--
   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.

 I am specifically trying to eliminate the need for puppet master for 2
 reasons (i am just scratching the surface on what puppet can do and
 how it works.  nooby).  1 simplicity to others to use an open systems
 management process that has red hat satellite server at the center
 (all i want them to NEED to understand is satellite and  channels) of
 it and 2 so i can use the satellite's disconnected feature to be able
 to deliver a complete solution to disconnected networks.

 i am packaging puppet content in an RPM's and delivering it that way.
 i also believe i have it figured out how to deliver content for
 security, application and host in separate RPM's

 so i too have been looking for a concise, this is what you loose and a
 brief description of what that means in a mature enterprise
 installation.

 I am currently having a healthy debate with 2 folks that are fresh out
 of puppet training (jealous) and really want to present good info on
 exactly what you gain (simplicity?, no extra infrastructure?  with
 puppet being integrated with satellite this may be a null point?) and
 what you loose.

 Regards,

 Aaron

 --
 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.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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] puppetmasterd verbose log

2011-01-28 Thread Romain Pelisse
Well, this was my assumption. I did so, but no messages end up in
/var/log/puppet/ (as configured in the puppet.conf), which I find weird
because my puppet is currently unable to connect to the puppetmaster ! So it
should fill the log with a failure every half an hour...

On 28 January 2011 06:18, Patrick kc7...@gmail.com wrote:

 I think you can just add verbose=true in the master section of
 /etc/puppet/puppet.conf

 On Jan 27, 2011, at 5:14 PM, Romain Pelisse wrote:

 On this topic, I was searching earlier how to add the --verbose to the
 puppet.conf, so that when puppet is running as a service the log in
 /var/log/puppet are more verbosy...

 On 28 January 2011 01:43, John Warburton jwarbur...@gmail.com wrote:

 On 28 January 2011 11:17, Sergey V. Arlashin 
 arlashin.mailli...@gmail.com wrote:

 Hi!
 When I issue
 $ puppetmasterd --no-daemonize --verbose

 I get very neat and clear log to STDIN. But I can't figure out how to get
 this log when I start puppetmasterd without --no-daemonize option. Is it
 possible?


 You can log to a file with logdest - but doesn't buffer correctly. Watch
 https://projects.puppetlabs.com/issues/4139

  --
 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.compuppet-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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] puppetmasterd verbose log

2011-01-28 Thread Romain Pelisse
Oh, sorry, actually there is no error. The puppetmaster is not running yet.
I just wanted to check out a little bit what the log would like like.
However, I found that strange that if puppet can't connect to the
puppetmaster, there is no complaint (in a log) about it...

On 28 January 2011 12:50, Felix Frank felix.fr...@alumni.tu-berlin.dewrote:

 On 01/28/2011 11:54 AM, Romain Pelisse wrote:
  Well, this was my assumption. I did so, but no messages end up in
  /var/log/puppet/ (as configured in the puppet.conf), which I find weird
  because my puppet is currently unable to connect to the puppetmaster !
  So it should fill the log with a failure every half an hour...

 If the error hits you before a connection is made, the puppet master
 wouldn't notice there is anything to log.

 In such circumstances, I prefer launching an undaemonized master on a
 different port and connecting to that from the client's commandline.

 What's the error reported by the client?

 Regards,
 Felix




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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] puppetmasterd verbose log

2011-01-28 Thread Romain Pelisse
I'm not making myself very clear also :)(as you are also in Berlin, you
can realize my first question was rather late in the night ;) )

I do apologize. Here is an hopefully enlightening snippet:

$ grep -e 'server' /etc/puppet/puppet.conf
server = puppetmaster
$ ping puppetmaster
(host down)
# service puppet start
...

So at this point the puppet client will not be able to connect, throwing
something like that if run with --no-daemonize and --verbose :

err: Could not retrieve catalog from remote server: getaddrinfo: Name or
service not known
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

Now, I was expecting to find those messages inside the /var/log/puppet/
folder, as I expected the clients to check on the master every 30
minutes... But, I'm starting to think I'm getting this wrong ? Maybe the
puppetmaster is pushing to puppets every 30 minutes ?

On 28 January 2011 14:18, Felix Frank f...@mpexnet.de wrote:

 On 01/28/2011 02:07 PM, Romain Pelisse wrote:
  Oh, sorry, actually there is no error. The puppetmaster is not running
  yet. I just wanted to check out a little bit what the log would like
  like. However, I found that strange that if puppet can't connect to the
  puppetmaster, there is no complaint (in a log) about it...

 I don't comprehend at all. Which process do you expect to log an error
 each half hour?

 If the master is not running, it is only logical that the client cannot
 connect and that the master (not running) cannot log an error.

 I guess I'm misunderstanding this.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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.



[Puppet Users] puppetmasterd verbose log

2011-01-28 Thread Romain Pelisse
No, the clients are supposed to pull.

What client version is this? I've seen 0.24.5 clients crash when the
master went down, and seen 0.25.5 clients end up in a (apparent) sort of
deadlock. No further logging in either scenario.

I haven't tried 2.6 yet.

0.25.5, lastest available for Fedora (well, actually I'm running with
CentOS with RPM from Fedora)
# puppetd --version
0.25.5 You're right, though. The expected result would be a client log entry
every half hour.


Ok, this is confirmation is actually really helpful (I now know
something is wrong and I know my premise not).

-- 
Romain PELISSE,
The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry
Pratchett
http://belaran.eu/wordpress/belaran


-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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] puppetmasterd verbose log

2011-01-28 Thread Romain Pelisse
Ok, I found why : messages are going to /var/log/messages, not the
/var/log/puppet folders...

On 28 January 2011 14:52, Romain Pelisse bela...@gmail.com wrote:

 No, the clients are supposed to pull.

 What client version is this? I've seen 0.24.5 clients crash when the
 master went down, and seen 0.25.5 clients end up in a (apparent) sort of
 deadlock. No further logging in either scenario.

 I haven't tried 2.6 yet.

 0.25.5, lastest available for Fedora (well, actually I'm running with
 CentOS with RPM from Fedora)
 # puppetd --version
 0.25.5 You're right, though. The expected result would be a client log
 entry
 every half hour.


 Ok, this is confirmation is actually really helpful (I now know
 something is wrong and I know my premise not).

 --
 Romain PELISSE,
 The trouble with having an open mind, of course, is that people will
 insist on coming along and trying to put things in it -- Terry
 Pratchett
 http://belaran.eu/wordpress/belaran


 --
 Romain PELISSE,
 *The trouble with having an open mind, of course, is that people will
 insist on coming along and trying to put things in it -- Terry Pratchett*
 http://belaran.eu/wordpress/belaran




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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] puppetmasterd verbose log

2011-01-27 Thread Romain Pelisse
On this topic, I was searching earlier how to add the --verbose to the
puppet.conf, so that when puppet is running as a service the log in
/var/log/puppet are more verbosy...

On 28 January 2011 01:43, John Warburton jwarbur...@gmail.com wrote:

 On 28 January 2011 11:17, Sergey V. Arlashin arlashin.mailli...@gmail.com
  wrote:

 Hi!
 When I issue
 $ puppetmasterd --no-daemonize --verbose

 I get very neat and clear log to STDIN. But I can't figure out how to get
 this log when I start puppetmasterd without --no-daemonize option. Is it
 possible?


 You can log to a file with logdest - but doesn't buffer correctly. Watch
 https://projects.puppetlabs.com/issues/4139

 John

  --
 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.compuppet-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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.



[Puppet Users] What's new about the Webrick/Mongrel situation ?

2011-01-25 Thread Romain Pelisse
Hi,

I've just finished James Turnbull book Pulling Strings With Puppet - which
definitely an excellent introduction to Puppet, and I was wondering - as the
book is a couple years old, what was the status of the all mongrel/webrick
situation ? I guess it's still recommended to use Mongrel rather than
Webrick for puppetmaster, at least for 0.25.5 (which I'm using), but it is
still a sounded approach when using more recent version of puppet ? Does the
new version brings something more in term of high availability ?

-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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: Using puppet to redeploy staging app

2011-01-17 Thread Romain Pelisse
@Daniel Pittman : don't worry about I will call the assumption - in a ml,
one has always to compromise between describe his all situation (hence, 20
pages mail) or do something rather shorter but clearly spotty. Your answers
were quite helpful anyway

@lab42: Your Puppi module sounds quite interesting indeed. I guess I could
probably reduce the amount of junk in my current puppet configuration
using it. I'll look into it in the next days.

FYI: As I need to have some kind of staging auto deploy for tomorrow, I
will just do a crontab job that erase the deployed services every hour.
Puppet will notice that (hopefully :) ) and this will trigger a
full redeployment. This is far from behind perfect, but this will allow me
to have something working for the time being. I'll explore Puppi just
after that.

On 15 January 2011 15:35, Al @ Lab42 lab42...@gmail.com wrote:

 To manage application deployments I've written this Puppi module:
 https://github.com/example42/puppet-modules/tree/master/puppi
 it's been designed originally to configure deployments procedures via
 puppet  but it has
 to be run directly from the target node (until I'll write a mcollective
 agent) .
 So via Puppet you can manage the whole configuration, but not the execution
 itself.

 In the project dir there are some examples of deploy procedures that can
 adapt to different cases,
 (incidentally puppi::project::maven is intended to pull from a Nexus
 repository (but it's currenly under redesign and it works just for wars
 deploys)
 but these can be  totally customized or created from scratch using using
 custom scripts.

 The advantages I see with this Puppi are:
 - A sort of bridge between Puppet and the OS for managing shot
 operations.
 - Standard syntax  to manage deploys (and rollbacks) for different cases:
 you always have to write:
 puppi deploy name
 - Once configured your deployment templates it's very quick and easy to
 setup deploy procedures on different servers with Puppet
 - Since the puppi command just executes, in a given seguence, a serie of
 commands, these can be totally customized, existing scritps can be adapted
 and different scripting languages used.
 - The puppi check command to see if on your node everything is running
 fine is incredibly handy (but for having this to work in an automated way
 you need the Example42 monitor classes)
 - The notification of the deploy result is customizable. For the moment it
 just sends and email, but you can do whatever you may want to do with a
 custom script.

 In the future I'd like to integrate Puppi with mcollective and provide a
 web frontend, at least for reporting.
 But works are in progresss and various things will change.

 Al

  --
 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.compuppet-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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] Using puppet to redeploy staging app

2011-01-14 Thread Romain Pelisse

 Personally, I would use some sort of CI solution like Hudson that
 would be triggered on commit.  As part of the configured project you
 could have a full test suite run and if (and only if) it was entirely
 successful build new OS packages and push that artefact up to your
 repository.


That's exactly what we are doing (I should have perhaps be more clear)


 Puppet can then be set to 'latest' for those packages and
 trigger the redeployment based on that change.


This is exactly what I want to do, however those application are not package
as rpm or deb but simply zipfile. Indeed, the applications are Java based
application runned by daemontools. We simply unzip them and let daemontools
start them.

In lieu of Yum or Apt, we use Ivy. But even if we were to use Yum/Apt, and
set upgradeable to the appropriate package, I don't think (or I didn't
understand something) that it would trigger the puppet to upgrade
automatically, as soon as the package is made available by the CI tool (in
our case Hudson).

... or I miss something ?


 That gives a much more robust, repeatable, and automated deployment
 solution that ensures you push only if things are work.  However, if
 you don't care so much you could just use the 'puppetrun' tool to
 trigger an agent run on the staging machines, and use whatever
 mechanism you prefer to have puppet install the latest version.

 Triggering puppetrun should be easy enough to automate based on
 whatever post-commit or post-push hooks your VCS supports.


At first glance, sounds that puppetrun is probably a better option. I have
to look into it (never really used it).



 Regards,
Daniel
 --
 ✉ Daniel Pittman dan...@rimspace.net
 ⌨ dan...@rimspace.net (XMPP)
 ☎ +1 503 893 2285
 ♻ made with 100 percent post-consumer electrons

 --
 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.compuppet-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.




-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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: Using puppet to redeploy staging app

2011-01-14 Thread Romain Pelisse

 It depends on how you deploy your applications.

 In the case of packaged applications I do the following after tests
 pass in Hudson:

 1) using extconf to specify versions and overwrite the package version
 of the file with a script
 2) use mcollective to go out and run apt-get update and install a
 specific version
 3) use mcollective to audit the package versions and send a report

 I use the extconf file because I do the same for production and want
 to pin versions.
 You could just set your stage to latest and run an mcollective client
 to just kick off your install.


Thanks for your answer, however, I do not use package application - which
would be, in this regards, far more easy to handle.

-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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: Using puppet to redeploy staging app

2011-01-14 Thread Romain Pelisse
How are you versioning/distributing your software?


The commits go in github and are polled regularly by our Hudson (CI server)
which builds our code (Scala/Java code and also some Javascript source
code), run the tests and package all of that either in jar or zip files.
Hudson deploys everything into a maven repository (Nexus).

On puppets, as we don't want to install a build tool as maven, we simply use
Ivy - as a simple executable, to fetch the version from Nexus.

Even if this all process sounds very java style, it could be applied to
any languages (even if all the tools are actually Java based).


 We also do something similar with git for interpreted languages.


Sounds interesting :)

Could tell us more ?

-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

-- 
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.



[Puppet Users] Puppet Daemontools

2010-11-24 Thread Romain Pelisse
Hi there,

I've been playing with puppet for a couple of weeks (So, I'm still quite a
newbie at it) and there is something I just can't seem to be able to fix.
I'm trying to have puppet manage daemontools service. Following the
documentation http://docs.puppetlabs.com/guides/types/service.html, I
added this in my puppet configuration:

class run_kuhmiho_service {   service { puppet/$package:
http://localhost:8000/rev/e823d59610e4#l1.13 provider =
daemontools,http://localhost:8000/rev/e823d59610e4#l1.14ensure
= running,}


But, when the puppet tries to apply this configuration, I got : err: Could
not create puppet/ws-auth-0.1.0-SNAPSHOT: Parameter provider failed: Invalid
service provider 'daemontools'

Both puppetmaster and puppet are using a 0.25.x version of puppets and
support for 'daemontools' seems to have been added for those according to
the changelog. Any clues ? Did anyone on this list, tried and successfully
used daemontools with puppet ? Is this version good enoug or should I used
a more recent one ?

-- 
Romain PELISSE,
*The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it -- Terry Pratchett*
http://belaran.eu/

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