[Puppet Users] My first module

2014-09-30 Thread Nicolas lino
Hello and sorry for my English. I have my first module but I have a prblem: My manifest: # # # class nginx { $nginx_conf = '/etc/nginx/conf.d' service { 'nginx': ensure => running, enable => true, hasrestart => true, require=> File['/etc/nginx/nginx.conf'], re

[Puppet Users] Re: I can't read registry key with facter

2014-06-06 Thread nicolas boquet
Thank you , Thank you , Thank you !!! It's works. I've create 2 functions in my fact *def key_exists?(path_reg) begin Win32::Registry::HKEY_LOCAL_MACHINE.open(path_reg, ::Win32::Registry::KEY_READ | 0x100 )return true rescuereturn false endend* *def readkey(p

[Puppet Users] I can't read registry key with facter

2014-06-05 Thread nicolas boquet
Hello, I've a problem with the module "facter/util/registry"... i want to read key / value from registry. On windows x86, it's OK but in on windows x64, i've this error: ERROR: The system was unable to find the specified registry key or value. i 've create a fact to know the version of oc

[Puppet Users] HELP:Custom function didn't work

2013-03-06 Thread Nicolas
hi,guys- I have a mysql database which stores host informations,so I wrote a function to get some values. - Here is the function rb(this function should return the type I defined in the database): #hosttype.rb require "mysql" module Puppet::Parser::Functions newfunction(:hostty

Re: [Puppet Users] how to add an evironment variable to puppet agent execution?

2013-01-16 Thread nicolas vigier
On Wed, 16 Jan 2013, Luca Gioppo wrote: > > How is possible in a easy and working way to set env vars with puppet in a > way that get known to following steps? You can set environment variables for an exec using the environment parameter : http://docs.puppetlabs.com/references/latest/type.html

Re: [Puppet Users] Including some resources only some of the time

2013-01-15 Thread nicolas vigier
On Tue, 15 Jan 2013, Brian Mathis wrote: > I haven't used them yet myself, but I think you might want to use a schedule: >http://docs.puppetlabs.com/references/latest/type.html#schedule This seems to be exactly what I was looking for. Thanks ! -- You received this message because you are su

[Puppet Users] Including some resources only some of the time

2013-01-15 Thread nicolas vigier
other one should be included only once every 30mn, every day or every week ? How would you do that ? Nicolas -- 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 unsubsc

Re: [Puppet Users] ssh::auth and other ways of managing ssh keys

2013-01-15 Thread nicolas vigier
On Mon, 14 Jan 2013, Ashley Gould wrote: > > I've created a puppet-sshauth repo on github: > https://github.com/ashleygould/puppet-sshauth > > I would very much like to work with others on perfecting this > module. Management of keypairs is really useful. 2 improvements I > imagine are using h

Re: [Puppet Users] help with array in a template.

2012-04-24 Thread Nicolas Di Gregorio
sclosure or distribution of the material in this e-mail is > strictly forbidden. > > LMAX operates a multilateral trading facility. Authorised and regulated > by the Financial Services Authority (firm registration number 509778) and > is registered in England and Wales (number 0650580

Re: [SPAM] [Puppet Users] In CentOS 6, puppet Unresponsive

2012-01-05 Thread Nicolas Aizier
Ah interesting ! I'll give it a try and keep you updated. -- 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/-/448pL5sCL4MJ. To post to this group, send email to

Re: [SPAM] [Puppet Users] In CentOS 6, puppet Unresponsive

2012-01-04 Thread Nicolas Aizier
Got nearly 300 servers in RHEL 6.0, 6.1 and 6.2 all managed by puppet and 20 of them got that behavior. It's not related to the RHEL version neither the kernel version. Still digging on my side, if anyone find a solution please post. -- You received this message because you are subscribed to th

[Puppet Users] Linux hardening

2011-07-01 Thread Nicolas Arias
Hi guys!. I want to use puppet to automate initial linux hardening and to maintain a security configuration standard. Does any one knows if there are modules going around that take care of the usual hardening steps?. If not, i will work on them and share them. thanks! -- You received this mes

Re: [Puppet Users] Name or service not known issue

2011-05-27 Thread Nicolas Jungers
On 2011-05-27 10:39, Sumith Sudhakaran wrote: Hi, When I am trying update from puppet client, getting error like blow *err: Could not request certificate: getaddrinfo: Name or service not known puppetd --test output:- err: Could not request certificate: getaddrinfo: Name or service not known

Re: [Puppet Users] PC EU feedback: long online docs pages should be broken up

2011-05-20 Thread Nicolas Jungers
On 2011-05-20 22:18, Randall Hansen wrote: http://projects.puppetlabs.com/issues/7601 Our very long docs pages are difficult to use. E.g., http://docs.puppetlabs.com/references/2.6.8/type.html I'd disagree on one point. It's not the length of the page that bother me, because having all on on

Re: [Puppet Users] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B

2011-05-17 Thread Nicolas Jungers
On 2011-05-17 09:23, Martin Alfke wrote: On 05/17/2011 08:59 AM, Nicolas Jungers wrote: [snip] I recreated several time the cert without problem, but the message stayed the same. The ssl debuging of the connection indicated that the cert where indeed correct. It turned out that when

[Puppet Users] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B

2011-05-17 Thread Nicolas Jungers
I ran in this problem an digged the net for a while to find a solution. I have a fresh puppet install, and most nodes run fine but some exhibit the following error: err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certifica

Re: [Puppet Users] troubles with require parametre

2011-02-16 Thread Nicolas Szalay
Hello, This case interests me :) On Tue, Feb 15, 2011 at 5:53 PM, Nigel Kersten wrote: > It looks to me like you don't have a User 'bind' on the target system, > and you haven't defined one in the above manifest. > > Does the bind package create a bind user for you? This looks like a bug. The

[Puppet Users] Re: Puppet dashboard don't show current day

2011-01-23 Thread Nicolas Aizier
Raised bug #5983 about those points. On Jan 24, 11:43 am, Nicolas Aizier wrote: > I made some more research on this problem and found another one. I > think it's linked. > > The 30th day of puppet (the one the more on the left side in puppet- > dashboard) is slowly

[Puppet Users] Re: Puppet dashboard don't show current day

2011-01-23 Thread Nicolas Aizier
un status > graph.  The reports are coming in normally and are up to date.  I am > on dashboard 1.0.4. > > On Jan 18, 11:14 pm, Nicolas Aizier > wrote: > > > > > > > > > Now that I've been running dashboard for more than 30 days puppet > > dashboard

[Puppet Users] Re: Problem with specifying server name

2011-01-19 Thread Nicolas Aizier
I know that's not the exact answer you want but why not filling up the hosts file with additional puppet on the concerned server ? Or in the DNS if you're in a biggest organization ... On Jan 20, 12:06 am, Basil Kurian wrote: > I 'm configuring puppet in an ubuntu server and a client. When I defi

[Puppet Users] Puppet dashboard don't show current day

2011-01-18 Thread Nicolas Aizier
Now that I've been running dashboard for more than 30 days puppet dashboard daily run status show me the last 30 days fully. Which said like this is good. But it only show me the "day-30" to "day-1", and no more the current one. I'm sure everything is fine since just under that in the "Recently- r

[Puppet Users] Re: filebucket questions

2010-12-22 Thread Nicolas Aizier
d MD5 checksum. I'll propose that to developpement, seems a good idea. Because once you know the MD5 you're looking for your good with the actual system. We just miss a browsing/finding method. Thx for you help Felix ! On Dec 22, 7:34 pm, Felix Frank wrote: > On 12/22/2010 04:28 AM, Ni

[Puppet Users] filebucket questions

2010-12-21 Thread Nicolas Aizier
Hi everyone, I've got several questions that are most probably obvious to some of you but I'm actually a bit 'in the fog' about filebucket. backup are done on a md5 basis so 1 file is generated whatever the number of clients if it's the same md5. That a really good option. On the other hand let's

[Puppet Users] Re: client won't use remote file bucket

2010-12-21 Thread Nicolas Aizier
Oh my bad, I just realize that is is backuping by md5 so one backup to rule them all Stupid me, forget about that. It's working fine. On Dec 22, 12:41 pm, Nicolas Aizier wrote: > Hi all, > > this solve the issue for me also but now even if it still do backup > i

[Puppet Users] Re: client won't use remote file bucket

2010-12-21 Thread Nicolas Aizier
Hi all, this solve the issue for me also but now even if it still do backup in /var/lib/puppet/bucket it doesn't mention it in the report ? Before that "path => false" line it was mentionning it but not doing it . Strange isn't it ? On Nov 23, 7:13 pm, Mikael Fridh wrote: > On Nov 19, 10:56

[Puppet Users] Re: erb template and variable check

2010-12-19 Thread Nicolas Aizier
20, 2:14 pm, Patrick wrote: > On Dec 19, 2010, at 8:03 PM, Nicolas Aizier wrote: > > > > > > > > > > > Hi everyone, > > > I'm actually working on implementing templates as it is a very > > convenient and powerfull way to configure files prop

[Puppet Users] erb template and variable check

2010-12-19 Thread Nicolas Aizier
Hi everyone, I'm actually working on implementing templates as it is a very convenient and powerfull way to configure files properly. But I'm actually meeting a little problem, not a blocking one but a strange thing. Basically my module is configuring the ntp client, no big deal. manifest/init.pp

[Puppet Users] Re: puppet dashboard group and class

2010-12-15 Thread Nicolas Aizier
ki to help the project. The more people use puppet the more puppet will be loved, this project really deserve it Thx again ! On Dec 15, 5:42 pm, Christian wrote: > Hi Nicolas, > > i had exactly the same problem when i start using puppet dashboard > some months ago. There is no do

[Puppet Users] puppet dashboard group and class

2010-12-14 Thread Nicolas Aizier
Hi everyone, I'm actually kind of new in puppet but I'm doing good in progressing. I have read lot of docs and how to to understand the whole behaviour of puppet. Installed a puppet master server, deployed 15 clients to test it on some of our testing servers. Written modules to get exactly what we

Re: [Puppet Users] Parsing files at nodes

2010-11-24 Thread Nicolas Arias
Thanks Nigel!!, i will give it a try later! On Wed, Nov 24, 2010 at 1:41 PM, Nigel Kersten wrote: > On Wed, Nov 24, 2010 at 7:13 AM, Nicolas Arias wrote: >> Hi, i want to check if the nodes are forwarding logs to a syslog >> server. At this moment i cant just push a new syslog.c

[Puppet Users] Parsing files at nodes

2010-11-24 Thread Nicolas Arias
Hi, i want to check if the nodes are forwarding logs to a syslog server. At this moment i cant just push a new syslog.conf file to the nodes, so, i want to know if its possible to tell the nodes to parse the syslog.conf files and fail the run or something like that if a specific line is not found.

Re: [Puppet Users] Monitor puppet runs on clients with nagios

2010-11-15 Thread Nicolas Szalay
Le jeudi 11 novembre 2010 à 06:09 -0800, Tim a écrit : > Hi, Hello, > Anyway what other approaches are there? I'd like to simply see 2 > things: > 1) If there were any failures during the puppet run on the client > 2) When the last puppet run on each client was (ie. if it was more > than 50 mins

Re: [Puppet Users] Re: Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-20 Thread Nicolas Szalay
Le mardi 19 octobre 2010 à 23:49 -0700, Al @ Lab42 a écrit : > Generally yes. IMHO, monitoring needs a "refresh" to cope with the "new way" servers are operated & built. This is a larger topic that this single thread :) > > So assuming you have monitoring for all of this, is the problem that you

Re: [Puppet Users] Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-19 Thread Nicolas Szalay
- "Al @ Lab42" a écrit : | Hi List, Hi, | I would like to discuss with whoever is interested one topic that I | suppose has general interest. | | I want to implement some kind of automatic testing on the status of a | node after a Puppet Run. | These tests involve trivial and less trivial

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-05 Thread Nicolas Brisac
I've just had a similar issue, although no crash this time. The recent patches provided by Brice have fixed my issues with file serving in 2.6.0 as long as there's only one source/content. However, If multiple "contents" are defined it will: - Evaluate all templates: The logs on the master sh

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-04 Thread Nicolas Brisac
That fixes it for me! Merci :) Current setup: Puppet 2.6.0 (.deb from Sid) Passenger 2.2.15 and Rack 1.2.1 (gems) Cheers, Nico On Wed, 2010-08-04 at 23:34 +1000, Nicolas Brisac wrote: > I'm getting the same error with a new custom fact in /lib. > The puppetmaster

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-04 Thread Nicolas Brisac
I'm getting the same error with a new custom fact in /lib. The puppetmaster is running on Apache2 + Passenger (setup works fine in production with 0.24.8). With Puppet 2.6.0 (Debian package) the file is created empty. With Puppet 2.6.0 + patch from Brice, I get a 'Could not set file on ensure:

Re: [Puppet Users] Nginx/Mongrel Could not retrieve catalog from remote server: Error 403 on SERVER

2010-06-08 Thread Nicolas Szalay
- "Dan Carley" a écrit : | On 8 June 2010 10:06, Jomo < zhan...@gmail.com > wrote: | | | It works well when I use webrick. The config of nginx is from puppet | wiki, some logs is below, what's wrong? | | | | I suspect that it relates to the use of HTTP headers and Puppet not | knowing wh

Re: [Puppet Users] Re: using puppetforge modules

2010-06-07 Thread Nicolas Szalay
- "Al @ Lab42" a écrit : | > I think the modules should be written so that they assume they are | > named after what they are in forge. | | I don't think this is a good idea, if I've understood it fully. | | IHMO, modules in the forge should be, in the long term, interoperable | and possibl

Re: [Puppet Users] using puppetforge modules

2010-06-07 Thread Nicolas Szalay
Le lundi 07 juin 2010 à 09:18 +0200, Marc Fournier a écrit : > Hello, > > > My question is this. Are the modules intended to be used with the > > author-modulename naming convention? If so, did I do something wrong > > or is there something wrong with the camptocamp-apt module that is not > > allo

Re: [Puppet Users] Re: FYI: Mac Configuration Management at the Los Alamos National Laboratory white paper

2010-06-06 Thread Nicolas Szalay
Hello, - "Patrick" a écrit : | On Jun 5, 2010, at 2:31 PM, Chuck wrote: | | > I am currently worried about scalability as the number of modules | and | > clients on my puppet server increases. I am planning on locating | at | > least one puppet server in each of the 4 data centers. | | I'v

Re: [Puppet Users] Re: External Nodes Examples

2010-06-06 Thread Nicolas Szalay
Hello, - "Douglas Garstang" a écrit : | I was just doing a little research on the best way to switch over to | external nodes. It seems like you can't use a combination of the two | systems. Apparently if the external node tool can't find an external | node (because it hasn't been cut over ye

Re: [Puppet Users] FYI: Mac Configuration Management at the Los Alamos National Laboratory white paper

2010-06-05 Thread Nicolas Szalay
- "Allan B Marcus" a écrit : | Here's a white paper you may be interested in. | | The Los Alamos National Laboratory (LANL) had a need for central | configuration management of non-Windows computers. LANL has three to | five thousand Macs and an equal number of Linux based systems. The | pri

Re: [Puppet Users] Build nginx conf dynamically (depending on the upstream machines)

2010-06-01 Thread Nicolas Szalay
Le mercredi 26 mai 2010 à 05:03 -0700, Gonçalo a écrit : Hello Gonçalo > Hi there, im trying to set up puppet to manage a nginx server with > load balancing. To achieve this i need to add every machine ip to the > "upstream" conf of nginx. Doing this manually is easy, and all works > fine, the p

Re: [Puppet Users] Best practices for puppet-proxys

2010-05-09 Thread Nicolas Szalay
Le jeudi 06 mai 2010 à 13:49 -0700, Thomas von Steiger a écrit : > Hi, > > I think about whats the best solution to have puppet-proxys for > systems without direct connection to the puppetmaster. > > - Route all the trafic with iptable forwarding to one puppetmaster. > - Build puppetmaster-proxy

Re: [Puppet Users] puppet for switches

2010-05-05 Thread Nicolas Szalay
- "Geoff Crompton" a écrit : | This might be a crazy idea, but it just popped into my head, and I | wanted to know if it's possible. Perhaps not possible right now, but | possible in a theoretical sense. | | Is it possible that puppet could be modified to be used to manage | switches that ha

Re: [Puppet Users] Is this an intermediate / advanced puppet users list??

2010-04-27 Thread Nicolas Szalay
Le lundi 26 avril 2010 à 15:13 +0100, Gabriel - IP Guys a écrit : > Dear Guys (and girls and autobots), Hello, > I look at the issues that some people have on this list, and I am > genuinely embarrassed to post my issues! I’m only trying to write some > simple recipies, that do things like instal

[Puppet Users] Re: Migration from 0.24.X to 0.25.x : "Global resource access is deprecated"

2010-04-22 Thread nicolas
Could anyone help me on this topic, please ? Or point me to up-to-date documentation explaining the good way to do it ? thanks ! nicolas On 19 avr, 13:56, nicolas wrote: > Hello, > >    We have a custom type that works well with puppet 0.24.8 but fails > with puppet 0.25.4 >

Re: [Puppet Users] scaling up puppetmasterd by cloning puppetmasterd

2010-04-22 Thread Nicolas Szalay
- "Brian Lam" a écrit : | I apologized ahead of time if this post shouldn't go here but I | having | been knocking my heading for the last two days trying to get over the | following error while trying to "clone" my primary puppetmasterd | because we have outgrown one puppetmasterd setup. |

[Puppet Users] Migration from 0.24.X to 0.25.x : "Global resource access is deprecated"

2010-04-19 Thread nicolas
equal to true. The creation is done twice with the same directory and Puppet does not complain. Is it a Puppet bug or normal behavior ? Should we just drop the test ? Is there any recommend/better way to do this ? Thanks for your help Nicolas -- You received this message because yo

Re: [Puppet Users] Apt Module

2010-04-13 Thread Nicolas Szalay
Le lundi 12 avril 2010 à 11:07 -0700, Paul Lathrop a écrit : > For you debian users out there: > > Digg has allowed me to release our apt module as open-source. It's > simple, but we find it useful. Contributions and criticisms welcome: > > http://github.com/plathrop/libpuppet-apt Thanks for sha

Re: [Puppet Users] Why we wont use zpool ever again

2010-04-06 Thread Nicolas Szalay
- "Peter Meier" a écrit : | | as far as I understood was that the zpool information was lost, hence | puppet thought that there was no zpool anymore. I assume that this | means | that zpool-tools didn't know about that anymore either, but it might | have been recoverable with manual interacti

Re: [Puppet Users] Replacing a puppet server

2010-03-31 Thread Nicolas Szalay
Le mercredi 31 mars 2010 à 16:22 +0530, LOhit a écrit : > Hi, Hi, > Since puppet doesn't have HA/fail over capabilities as of now. How > does one mitigate a puppet master failure( Ex. Hardware). When you > replace the server and configure the Puppet masterd, the clients may > no longer be able to

Re: [Puppet Users] installing packages "the batch mode"

2010-03-30 Thread Nicolas Szalay
Le mardi 30 mars 2010 à 09:12 -0300, Darvin Denmian a écrit : > Hello, > > currently I'm using the following lines to install a lot of packges > using Puppet: > >package {"screen": ensure => present } >package {"sysstat": ensure => present } >package {"rkhunter": ensure => present } >

Re: [Puppet Users] Re: RFC: A generic Monitor module

2010-03-09 Thread Nicolas Szalay
Le mardi 09 mars 2010 à 10:26 -0800, Al @ Lab42 a écrit : > In any case, generally speaking I'd prefer to keep the monitor define > as much independent as possible and abstract from the actual > monitoring tool, so in this case I'd prefer the first solution, I do agree this point. I'm not a puppet

Re: [Puppet Users] Making the new users experience easier

2010-02-05 Thread Nicolas Szalay
Le vendredi 05 février 2010 à 23:10 +1100, James Turnbull a écrit : > http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions > > See the Troubleshooting and areas below. Please feel free to add to > this! I did not remember this one :) I added a few lines :) Nico. signature.asc De

Re: [Puppet Users] Making the new users experience easier

2010-02-05 Thread Nicolas Szalay
Le mardi 02 février 2010 à 12:08 -0500, Michael DeHaan a écrit : > Just one more email and I'll let you go for a few hours :) Hello puppeters > One of the things I like to see in apps is that they are immediately > intuitive and easy to use for new users. I think Puppet is really good > here,

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Nicolas Szalay
Tried it out and did a bunch of debugging with ohad. Works really fine, I planned to check all manifests but I still not decided how to do it on a continous basis. I have to take a look at hudson. Nicolas. - Mail Original - De: "Nigel Kersten" À: puppet-users@googlegroups.

[Puppet Users] Re: puppet client error

2009-11-16 Thread Nicolas Szalay
Le lundi 16 novembre 2009 à 13:07 -0500, Cory mckee a écrit : > I was wondering if I could get help. > > on client > > > [r...@linux ~]# puppetd --test --verbose > info: Caching catalog at /var/lib/puppet/localconfig.yaml > notice: Starting catalog run > err: //Node[basenode]/motd/Package[motd]/

[Puppet Users] Re: How to share my Puppet modules?

2009-11-15 Thread Nicolas Szalay
Le dimanche 15 novembre 2009 à 07:51 -0800, Edwin Shao a écrit : > Hello, > > I'd like to give back to the community by sharing my Puppet modules. > They are FreeBSD but I am helping I just finished putting all of them > up at Github , and would like some > advice.

[Puppet Users] Re: new release of puppetsurvey

2009-11-05 Thread Nicolas Brisac
Hi, I'm trying to run puppetsurvey on 64-bit too, with all dependencies installed (correctly I think), and I'm getting the following error: Warning : Missing argument 1 for Zend_View_Helper_LinkTo::linkTo() in /var/www/puppetsurvey/application/views/helpers/LinkTo.php on line 6 Any idea?

[Puppet Users] Re: puppet failover

2009-10-30 Thread Nicolas Szalay
Le vendredi 30 octobre 2009 à 08:07 -0700, Rene a écrit : > Hi, thanks for the quick answers. > > Did you create a link /var/lib/puppet that points to the nas share? It's a NFS share, so it is mounted in this dir : [phosphore:~] mount [snip] smaug:/data/zone3/puppet on /var/lib/puppet type nfs .

[Puppet Users] Re: puppet failover

2009-10-29 Thread Nicolas Szalay
This will definitely work, I have this setup : two puppetmasters, sharing a vip with heartbeat, both running nginx + mongrel. /etc/puppet is populated through subversion (automatic checkout). /var/lib/puppet is NFS mounted (SPOF, could be an iSCSI disk with ocfs2 filesystem). This works perfectly

[Puppet Users] Re: puppet 0.25.1 debs done... but availability delayed.

2009-10-29 Thread Nicolas Szalay
Le mercredi 28 octobre 2009 à 07:47 -0700, Nigel Kersten a écrit : > We've uploaded the 0.25.1 debs, but due to this work, it might take a > little while before they appear. > http://blog.ganneff.de/blog/2009/10/27/debian-ftpmaster-meeting.html > > It will appear here when done. > http://packages.

[Puppet Users] Re: node manifest best practices

2009-10-22 Thread Nicolas Szalay
Le vendredi 23 octobre 2009 à 15:32 +1100, Matt Delves a écrit : > Greetings, > As the number of servers I am using puppet on is increasing, I'm wondering > what the best practices is for the nodes. Currently they all sit in the one > file /etc/puppet/manifests/nodes.pp. > > What I'm wondering i

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-11 Thread Nicolas Szalay
Le dimanche 11 octobre 2009 à 12:58 -0700, Paul Lathrop a écrit : > Hey everyone, > > Well, I really was meaning to get this cleaned up and put on the wiki, > but the world seems to conspire against it. First couple of times I > sat down to do it, I got Nagios pages. The last time was the real > w

[Puppet Users] Re: Puppet way to manage a central file?

2009-10-02 Thread Nicolas Szalay
Le vendredi 02 octobre 2009 à 12:06 +0200, Aurelien Degremont a écrit : > Thomas Bellman a écrit : > > Aurelien Degremont wrote: > > > >> How do you deal with a file, like /etc/sysconfig/network which have > >> content composed from different aspects (could be network, nfs, nis, > >> ...). So mana

[Puppet Users] Re: external nodes issue

2009-09-28 Thread Nicolas Szalay
Le lundi 28 septembre 2009 à 10:52 +0100, Matt a écrit : > Update:- > > I added a default node to a manifest file, just - > > node default { > include env > } > > This appears to have made the puppetmasterd kick in to action and > compile the catalog from the foreman for that node. i.e. I se

[Puppet Users] Re: foreman installation questions

2009-09-17 Thread Nicolas Arias
a few days ago i got foreman from git and had the same problem. i forgot to mention it. On Thu, Sep 17, 2009 at 7:39 AM, Dan Bode wrote: > Hi Ohad, > > I wasnt able to install foreman over http from git using you installation > instructions. > > [u...@machine local]$ git clone http://github.com

[Puppet Users] Re: Rails is missing; cannot store configurations - Puppet 0.24.8 / Rails 2.3.2 / Gentoo

2009-09-10 Thread Nicolas Arias
solved: remove rails and action* gem install rails -v 2.0.2 just be sure to have only the 2.0.2 version of rails and its dependencies. On Thu, Sep 10, 2009 at 4:53 PM, Nicolas wrote: > > sorry to raise this message from the death, but im having the same > problem. > > puppet

[Puppet Users] Re: Rails is missing; cannot store configurations - Puppet 0.24.8 / Rails 2.3.2 / Gentoo

2009-09-10 Thread Nicolas
sorry to raise this message from the death, but im having the same problem. puppet 0.24.8 rails 2.2.2 any suggestion? thanks! On Jul 28, 2:15 pm, Evan Borgstrom wrote: > Hrm. Downgrading torails-2.2.2 fixed this. > > On Jul 28, 12:43 pm, Evan Borgstrom wrote: > > > > > Hi, > > > I'm having

[Puppet Users] Re: How to add header to all files/templates?

2009-08-06 Thread Nicolas Szalay
Le mercredi 05 août 2009 à 22:53 -0700, robbyt a écrit : > Hello All! > > I would like to automatically add a header to all files/templates that > puppet manages on my servers. Something like "#if you break, my puppet > will fix it!!" > > Is this possible? Probably by creating a custom type that

[Puppet Users] Re: Purging non-LDAP users, but ignore the LDAP users?

2009-08-05 Thread Nicolas Szalay
Le mercredi 05 août 2009 à 04:01 -0700, Ben Lavender a écrit : > For the reasons you just explained, this won't do. Users like daemon, > cron, and various system accounts are all still around and need to > be. I'm also not sure what pam would do with itself without passwd, > to be honest, and wou

[Puppet Users] puppet & munin : little things added

2009-08-05 Thread Nicolas Szalay
Hi list, On the advice of DavidS I send mail to the list to advertise about some modifications/enhancements I've made to his munin classes. The stuff is here : http://www.rottenbytes.info/?p=200 It is also available through planetpuppet.org, but everyone already reads it right ? ;) Regards, N

[Puppet Users] Re: pluginsync syncing all custom facts in every module

2009-07-06 Thread Nicolas Szalay
Le lundi 06 juillet 2009 à 16:28 -0700, daniel g a écrit : > It appears that pluginsync is syncing every custom fact in all modules > in our puppetmasterd's modulepath, regardless of whether or not the > modules are included for the node in the node list. > > > > Is there any way to ensure that

[Puppet Users] Re: are variables defined?

2009-07-02 Thread Nicolas Szalay
Le jeudi 02 juillet 2009 à 13:35 +0200, Dan Bode a écrit : > Is there a way to see if variables are defined? I use this syntax : if $var { # blah } else { # bluh } requires a not-too-old puppet Nico. signature.asc Description: Ceci est une partie de message numériquement signé

[Puppet Users] Re: Debugging external node scripts

2009-06-29 Thread Nicolas Szalay
s > - sshd > - yum > - crontab > - iptables > - ldap::client > - monitoring::vps > - sudo > - virtuozzo > - vpsscripts Did you try running it as the "puppet" user ? permissions on NODEFILE & LOGFILE could be source of errors. Regards, Nicolas signature.asc Description: Ceci est une partie de message numériquement signée

[Puppet Users] Re: debugging external node scripts

2009-06-24 Thread Nicolas Szalay
Le mercredi 24 juin 2009 à 10:28 +0200, Dan Bode a écrit : > # /etc/puppet/conf/node_classifier HOST.com > /etc/puppet/conf/node_classifier:26:in `initialize': No such file or > directory - /etc/puppet/conf/inventory.csv (Errno::ENOENT) > from /etc/puppet/conf/node_classifier:26:in `new' >

[Puppet Users] Re: debugging external node scripts

2009-06-24 Thread Nicolas Szalay
Le mercredi 24 juin 2009 à 10:02 +0200, Dan Bode a écrit : > Hi all, > > How can I debug external node script errors? I cant seem to figure out > what is wrong with my script. It appears to work from the command > line, but not from puppet. Run your master with --debug --trace --~--~-

[Puppet Users] Running multiple puppet masters behind nginx

2009-06-23 Thread Nicolas Szalay
Hi puppet list, I'm currently modifying my puppet setup to get it redundant. I actually have a puppet master, running mongrel behind nginx. It's on a single machine, with no backup (backup for the service, not the files). The machine is called puppet.mydomain.com I want to move it to 2 machines

[Puppet Users] Re: keeping some code out of the repo

2009-06-16 Thread Nicolas Szalay
Le mardi 16 juin 2009 à 11:07 +0200, Dan Bode a écrit : > thanks David, > > setting custom values in the database and retrieving them seems like a > resonable solution for managing values outside of the code repo. I > still need to read more about this. > > Ok, it took me a second to understand

[Puppet Users] Re: custom facts not working

2009-03-10 Thread Nicolas Szalay
l\") do\n confi"..., 4096) = 1435 > > so I can tell that facter is reading this new fact file. > > But when, from the commandline, I run "facter" or "facter virtual" I don't > get the expected output. I've ran int

[Puppet Users] Re: auto deploy vm....

2009-03-08 Thread Nicolas Szalay
- Mail Original - > De: "James Turnbull" > À: puppet-users@googlegroups.com > Envoyé: Dimanche 8 Mars 2009 11:07:01 GMT +01:00 Amsterdam / Berlin / Berne / > Rome / Stockholm / Vienne > Objet: [Puppet Users] Re: auto deploy vm > > Some people use a combination of Cobbler and Puppet

[Puppet Users] Re: using portsnap

2009-03-05 Thread Nicolas Szalay
ightly large number of machine I recommend to set up a local mirror in order to speed up the process & reduce the load for the project servers. Bye, -- Nicolas Szalay Administrateur systèmes & réseaux -- _ ASCII ribbon campaign ( ) - against HTML email X

[Puppet Users] Re: apt-get update - exit status 100

2009-02-26 Thread Nicolas Szalay
any details of > what it actually means. > > Has anyone else experienced this? does your /etc/apt/preferencs has some incorrect/no more up-to-date things inside ? -- Nicolas Szalay Administrateur systèmes & réseaux -- _ ASCII ribbon campaign ( ) - agains

[Puppet Users] Re: what about kinial ?

2009-02-10 Thread nicolas
fr include webapp_instance_uk } Although this step makes sense, it happens that using "definition call" (how should I say ?) directly in nodes is easier because people in charge of managing nodes don't have to write intermediate classes that only act as wrapper. As there is almost

[Puppet Users] Re: what about kinial ?

2009-02-09 Thread nicolas
quot; : parameters } if calling a definition used a different syntax, would'nt it be better ? Calling a definition should be equivalent to including a class. nicolas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[Puppet Users] Re: what about kinial ?

2009-02-09 Thread nicolas
> > As above, it was a design decision. > > Like all design decisions, though, I'm willing to revisit it if it   > seems the decision was in error. > > -- > When a man tells you that he got rich through hard work, ask > him: 'Whose?' --Don Marquis > --

[Puppet Users] Re: what about kinial ?

2009-02-06 Thread nicolas
call >> defines from an external tool. well, it's an extension of the discussion. If i can't do something with the language it is a good question to know if we can change or extend it, no ? Do you want me to start a new topic ? nicolas --~--~-~--~~~---

[Puppet Users] Re: Overriding files specified in modules

2009-02-06 Thread Nicolas Szalay
> > > this seems to be your solution. > > cheets pete > > ps: I couldn't live without that nice feature! YEAH ! This is the post of the week ! I was turning my head up & down to find a way to put user & host specific authorized keys. -- Nicolas Szalay Adm

[Puppet Users] Re: what about kinial ?

2009-02-06 Thread nicolas
ve more details on the reasons why definitions are not implemented in external nodes ? - is it only a lack of time ? - the difficulty of implementing it ? (would it involve a lot of code change ?) - an incompatibility with the future eveloution of the langage/ implementation ? nicolas --~--~-~--

[Puppet Users] Re: Automating removal of an application

2009-01-30 Thread nicolas
generate classes semi-automatically for each version, and it would be very difficult to maintain an unique definition of a class that contains all differences between versions. I can't see how we could do without it. Thanks for your help and advices. ni

[Puppet Users] Re: Automating removal of an application

2009-01-28 Thread nicolas
s for sharing your ideas nicolas --~--~-~--~~~---~--~~ 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 e

[Puppet Users] Re: Automating removal of an application

2009-01-28 Thread nicolas
apply and second add A then apply Any reasons why Puppet forces to explicitely remove everything that it previously installed (and that is known, thanks to localconfig.yaml file on nodes) ? nicolas --~--~-~--~~~---~--~~ You received this message because you are sub

[Puppet Users] Automating removal of applications

2009-01-27 Thread nicolas
talled b) apply this, so local version is removed c) then apply config from master, so new version is installed Do you think it's a good approach ? If not, do you know an alternate ways to manage applications that have several versions ? thanks for your answers nicolas --~--~-

[Puppet Users] Automating removal of an application

2009-01-27 Thread nicolas
locally installed b) apply this, so local version is removed c) then apply config from master, so new version is installed Do you think it's a good approach ? If not, do you know an alternate ways to manage applications that have several versions ? thanks for your answers nicolas --~--~-

[Puppet Users] Re: host group

2009-01-22 Thread Nicolas Szalay
Mike Renfro wrote: > On 1/22/2009 10:42 AM, Arnau Bria wrote: > >> Then adding a noe is just adding a new line to a file... >> I'll manage about 100-120 hosts...1 > > I manage about 90 with the 'node "node1", "node2", "node3" {}' method, > but my groupings are pretty static. Entered them once,

[Puppet Users] Re: Puppet playing badly with Debian etch rubygems

2009-01-20 Thread Nicolas Szalay
:) Packages created are using the debian naming conventions, so it should not harm. But I'd like to see a free competitor for this system, because to me the idea is nice. -- Nicolas Szalay Administrateur systèmes & réseaux -- _ ASCII ribbon campaign ( ) -

[Puppet Users] Re: Puppet playing badly with Debian etch rubygems

2009-01-19 Thread Nicolas Szalay
Le lundi 19 janvier 2009 à 15:33 -0800, Robin Lee Powell a écrit : > OK, so how do I fix it? I think that debgem will be helpfull in a near future : http://debgem.phusion.nl/ -- Nicolas Szalay Administrateur systèmes & réseaux -- _ ASCII ribbon campaign ( ) - again

[Puppet Users] question about reports

2008-09-30 Thread Nicolas Arias
when a node tries to send a report it drops the following error: err: Reporting failed: undefined method `graph' for # on the server i have: reports = rrdgraph,store reportdir = /var/www/puppetreports rrddir = /var/www/html/rrd rrdinterval

  1   2   >