Re: [Puppet Users] Sending an email if an action happens

2011-05-12 Thread Silviu Paragina
On 11.05.2011 18:06, Calum wrote: On 11 May 2011 15:49, Ohad Levyohadl...@gmail.com wrote: You can use tagmail report, or use something like foreman to do it for you. Ohad Thanks - I'll look into those. I was more meaning something like: file { /etc/ntp.conf: owner =

Re: [Puppet Users] Puppet 2.7.0rc1 (Statler) available!

2011-04-14 Thread Silviu Paragina
A lot of new options, congrats for the work. :) Silviu On 14.04.2011 06:53, Nigel Kersten wrote: We're very excited to announce the first release candidate of a new feature release, Puppet 2.7.0rc1, known up until know by the code name Statler. There’s a lot here to read, and we’re covering

Re: [Puppet Users] exec and subsribe

2010-09-24 Thread Silviu Paragina
notify and subscribe are somewhat the same thing, but specified in different parts of the dependency. The file resource should notify both execs and/or services, if it doesn't it should be considered a bug and reported. ;) You should try it just to be sure, it's usually faster than waiting

Re: [Puppet Users] Specifying version for shared packages

2010-09-15 Thread Silviu Paragina
On 15.09.2010 16:44, Marc Zampetti wrote: So does this mean that I need a new intermediate class for every possible version of the package? Just relying on using the latest is REALLY BAD in production. It means that I can NEVER know for sure that when I re-build a host that it is in the

Re: [Puppet Users] Specifying version for shared packages

2010-09-15 Thread Silviu Paragina
On 15.09.2010 18:52, Silviu Paragina wrote: Hmm. Understood, have you thought of using extlookup, that might be best for your case. Silviu To clarify, this might just be a brainfart, I'm still thinking about an elegant solution. : Silviu -- You received this message because you

Re: [Puppet Users] Specifying version for shared packages

2010-09-14 Thread Silviu Paragina
On 14.09.2010 23:12, Marc Zampetti wrote: I've been banging my head on this all day, and I cannot seem to figure out how to do it. I have a package for Apache HTTPd. I want to be able to specify the exact version of the package to use for a particular installation. And it is also possible

Re: [Puppet Users] Strange exec issue with tar

2010-09-14 Thread Silviu Paragina
Check you environment path variable. Tar might not find something, most probably, the gzip executable (not 100% sure on this part). Usually if something doesn't work in specific cases, but it works in you bash console, you can make a safe bet on environment variables and/or running user.

Re: [Puppet Users] Specifying version for shared packages

2010-09-14 Thread Silviu Paragina
conflict with files or ports, etc. Also, I think I forgot to mention that I am using puppet 0.25.5. Marc On 9/14/10 4:39 PM, Silviu Paragina wrote: On 14.09.2010 23:12, Marc Zampetti wrote: I've been banging my head on this all day, and I cannot seem to figure out how to do it. I have a package

Re: [Puppet Users] Puppet trying to start service before package is installed

2010-09-13 Thread Silviu Paragina
On 13.09.2010 16:20, FreddieB wrote: Hi, This one is driving me crazy. Problem is Puppet try to start some services (in this case zabbix-agent) before it is installed. My puppet-master is Debian 5.05 with Puppet 2.6.0 (from squeeze). Target system is FreeBSD 8.1 with Puppet 2.6.1 (from

Re: [Puppet Users] puppetmaster HA

2010-09-10 Thread Silviu Paragina
Also you might be interested in putting a vote on this ticket ;) (DNS SRV support for puppet) http://projects.reductivelabs.com/issues/3669 Silviu On 10.09.2010 19:09, Sukh Khehra wrote: I recently lost the only puppetmaster for a datacenter. I ended up having to build a new one and then

Re: [Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-08 Thread Silviu Paragina
For 0.25.4 on Debian the puppetmaster package has /usr/share/doc/puppetmaster/examples/apache2.conf and /usr/share/puppet/rack/puppetmasterd included. /usr/share/puppet/rack/puppetmasterd should be the root in this case. In case you don't have these the rhel instructions for creating the

Re: [Puppet Users] Puppet + APT, I am lost...

2010-09-06 Thread Silviu Paragina
On 01.09.2010 01:35, Martijn Grendelman wrote: Mathias Gug schreef: I am not sure how I said I want to do an update before /every/ package install. Once at the start of a Puppet-run, /IF/ one or more packages need to be installed, would suffice. You may run into a chicken-egg problem.

Re: [Puppet Users] Puppet + APT, I am lost...

2010-09-06 Thread Silviu Paragina
On 06.09.2010 21:03, Nigel Kersten wrote: On Mon, Sep 6, 2010 at 10:56 AM, Silviu Paraginasil...@paragina.ro wrote: As it was said earlier if you have a ensure = latest you should probably have (also) a cron job for updates. I think it's much more difficult to manage multiple schedules,

[Puppet Users] Puppetlabs Apache module - problem/solution/question

2010-06-28 Thread Silviu Paragina
I'm trying out the apache module from puppet labs. Note the a2mod type in it. Now I have uncovered the classical provider problem with it. If you require some apache modules enabled and you don't have apache installed you get the classical no provider for a2mod (in this particular case) and

Re: [Puppet Users] Chicken or the egg

2010-06-28 Thread Silviu Paragina
Imho you should separate the resources (class/defines) used by the physical machine from those of the virtual machine. Example: You should have a define for the physical machines, that creates the virtual machine(s). They would probably look like your define my_vserver, without the property

Re: [Puppet Users] Puppetlabs Apache module - problem/solution/question

2010-06-28 Thread Silviu Paragina
On 28.06.2010 21:16, Peter Meier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 1. Is this a good ideea? (if not why not?) From other discussions, I know that this is how puppet should behave in general about type providers. 2. Should I open a ticket to add this new file for the

[Puppet Users] Is http://projects.puppetlabs.com haveing problems?

2010-06-26 Thread Silviu Paragina
I'm trying to upload some files to a ticket on the projects site. But for some reasons it spits errors at me... (I tried uploading the init.pp on http://projects.puppetlabs.com/issues/4084 ) Is this happening only to me? Silviu -- You received this message because you are subscribed to the

Re: [Puppet Users] Vcsrepo module use git with certificate

2010-06-25 Thread Silviu Paragina
On 25.06.2010 01:56, Silviu Paragina wrote: Has anyone tried using this puppet forge module with a certificate? (puppetlabs/vcsrepo) Any ideas on how to specify via command line to git what certificate to use? The only way that I know to tell git to use a specific certificate is to use

[Puppet Users] Puppet modules - where can I suggest something and/or submit a patch

2010-06-25 Thread Silviu Paragina
Right now I'm trying to import the puppet labs apache module in my configuration structure. But inside it I have found something like: $vdir = $operatingsystem? { 'ubuntu' = '/etc/apache2/sites-enabled/', default = '/etc/httpd/conf.d', } The ubuntu part should also apply to debian.

Re: [Puppet Users] Puppet modules - where can I suggest something and/or submit a patch

2010-06-25 Thread Silviu Paragina
On 25.06.2010 17:44, James Turnbull wrote: Silviu You can log tickets and submit patches for our modules at: http://projects.puppetlabs.com/projects/modules/issues/new for the moment and I'll merge them in. Regards James Turnbull Super. Thanks for the info :) Silviu -- You

Re: [Puppet Users] Ability to deploy a skeleton directory

2010-06-25 Thread Silviu Paragina
On 25.06.2010 12:00, Jean-Baptiste Barth wrote: Hi, I'd like to be able to deploy a skeleton directory through puppet, i.e. puppet deploys it only if it does not exist. I tried this : file {/path/to/this/directory: source = puppet:///files/path/to/the/skeleton, ensure = directory,

Re: [Puppet Users] Puppet modules - where can I suggest something and/or submit a patch

2010-06-25 Thread Silviu Paragina
On 25.06.2010 17:44, James Turnbull wrote: You can log tickets and submit patches for our modules at: http://projects.puppetlabs.com/projects/modules/issues/new Forgot to ask the patches should be against the current module version or against a git repository somewhere (where if so?).

Re: [Puppet Users] To External Nodes, or not to External Nodes

2010-06-25 Thread Silviu Paragina
On 25.06.2010 19:42, Douglas Garstang wrote: I had started converting my node manifests to external nodes (in yaml format), to make them machine readable/writable, so that we could write scripts to parse them. However, I really can't get it right in my head that by doing that I am forced to pass

[Puppet Users] Vcsrepo module use git with certificate

2010-06-24 Thread Silviu Paragina
Has anyone tried using this puppet forge module with a certificate? (puppetlabs/vcsrepo) Any ideas on how to specify via command line to git what certificate to use? The only way that I know to tell git to use a specific certificate is to use the GIT_SSH env variable and specify a script

Re: [Puppet Users] More Provider Development?

2010-06-24 Thread Silviu Paragina
On 23.06.2010 17:19, zu...@puzzle.ch wrote: Hello I use puppet for a while now and try to configure as much as possible with puppet (some old configurations are still not 'puppetized'). The more we configure with puppet the more complex the manifests get. They are filled with functionality and

Re: [Puppet Users] Passenger barfs.

2010-06-24 Thread Silviu Paragina
Also check the rack version, and the requirements for your version of passenger. It smells like an incompatibility between the passenger version and the rack version. Aka what Gary said should be perfectly valid. Silviu On 25.06.2010 02:50, Douglas Garstang wrote: I have a freshly

Re: [Puppet Users] bringing puppet into production

2010-06-21 Thread Silviu Paragina
On 21.06.2010 09:26, christopher floess wrote: 2. I never really saw where in the documentation puppet.conf file is addressed. I’ve seen that it’s pretty well documented, but again, did I miss something, especially considering that I have gone through the online manifest-writing/language

Re: [Puppet Users] How to pass a array to define?

2010-06-20 Thread Silviu Paragina
Not sure how to do it, but what I would try: (see inline) On 18.06.2010 13:46, daniel wrote: Hey, guys! These days I'm keep on setting up my puppet automation environment, but I got a problem that made me confused. I have a define to add users ,which as follows : define usermgr::add_user

Re: [Puppet Users] bringing puppet into production

2010-06-20 Thread Silviu Paragina
On 20.06.2010 12:38, Christopher wrote: Hi everyone, I’ve been working on getting puppet set up for our systems for the past week, and all has gone well in learning about writing manifests, but now that I’m ready to set it into production, I realize that it’s still unclear to me exactly how

Re: [Puppet Users] Composed custom facts, request for opinions and ideas (somewhat related to setting up puppet)

2010-06-18 Thread Silviu Paragina
On 17.06.2010 14:30, David Schmitt wrote: On 6/17/2010 1:02 PM, Silviu Paragina wrote: On 17.06.2010 10:53, David Schmitt wrote: On 6/16/2010 8:27 PM, Silviu Paragina wrote: This is somewhat related to an older thread. The topic was how to install some perquisite packages for puppet, like

Re: [Puppet Users] Composed custom facts, request for opinions and ideas (somewhat related to setting up puppet)

2010-06-17 Thread Silviu Paragina
On 17.06.2010 10:53, David Schmitt wrote: On 6/16/2010 8:27 PM, Silviu Paragina wrote: This is somewhat related to an older thread. The topic was how to install some perquisite packages for puppet, like augeas, lsb-release, cron to name just a few. Puppet is required to reinstall this packages

Re: [Puppet Users] Could not find class, code-blind

2010-06-17 Thread Silviu Paragina
On 17.06.2010 13:31, Tore wrote: I'm troubled with a node-definition not able to resolve a class: Could not find class rhnsd::common at /etc/puppet/manifests/nodes.pp: 8 on node X Content of manifest/site.pp: import nodes.pp [...] The layout of modules/rhnsd/ is: |-- files | `--

Re: [Puppet Users] Re: Could not find class, code-blind

2010-06-17 Thread Silviu Paragina
Just to be sure we're on the same page. It doesn't work like this? init.pp:: import * class rhnsd { } Is the module path in puppet set to your module path? Other than this I can't spot any other errors. Also make sure you have restarted puppetmasterd, in many cases when developing puppet code

[Puppet Users] Composed custom facts, request for opinions and ideas (somewhat related to setting up puppet)

2010-06-16 Thread Silviu Paragina
This is somewhat related to an older thread. The topic was how to install some perquisite packages for puppet, like augeas, lsb-release, cron to name just a few. Puppet is required to reinstall this packages if they are accidentally uninstalled. Because of the nature of this packages some

Re: [Puppet Users] augeas and sendmail aliases

2010-06-16 Thread Silviu Paragina
Search in the list history for a thread named augeas type and /etc/services Silviu On 16.06.2010 20:38, Sukh Khehra wrote: I am trying to add an entry to /etc/aliases using this but am unable to keep the entry from being added on every puppet run. I couldn't figure out the proper onlyif

Re: [Puppet Users] augeas and sendmail aliases

2010-06-16 Thread Silviu Paragina
and as expected did not see a subtree numbered at 01 so thought I should be be able to do this. Any other suggestions? -Original Message- From: Silviu Paragina [mailto:sil...@paragina.ro] Sent: Wednesday, June 16, 2010 11:31 AM To: puppet-users@googlegroups.com Cc: Sukh Khehra Subject: Re: [Puppet Users

Re: [Puppet Users] augeas and sendmail aliases

2010-06-16 Thread Silviu Paragina
On 16.06.2010 23:45, Rob McBroom wrote: On Jun 16, 2010, at 3:02 PM, Sukh Khehra wrote: Yes, I read that thread and thought I was ensuring path uniqueness by inserting the string 01 in there but its not working for me. I examined the tree using augtool and as expected did not see a subtree

Re: [Puppet Users] getting started with puppet: overriding roles

2010-05-24 Thread Silviu Paragina
On 22.05.2010 02:32, andreash wrote: hi there, i'm not sure as to how to call the subject of this post, as i'm totally new to puppet -- so please forgive me if this is misleading ... for my servers, i'm planning to do something like this (pseudo-code): class (?) base-config: include

Re: [Puppet Users] Documentation link error

2010-05-18 Thread Silviu Paragina
Will do it this evening. :) Silviu On 17.05.2010 17:15, James Turnbull wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Silviu Paragina wrote: I have found some broken links on http://docs.puppetlabs.com/guides/more_language.html#functions . Where should I post and/or fix the error

Re: [Puppet Users] client specific configuration not working

2010-05-18 Thread Silviu Paragina
On 18.05.2010 08:59, Chantal Rosmuller wrote: in the clients directory there's a directory servername with subdirectories manifests and files here's my clients/servername/manifests/init.pp: have you changed the puppet.conf so that it can use the modules from the new location? Puppet does

Re: [Puppet Users] client specific configuration not working

2010-05-18 Thread Silviu Paragina
wrote: Hi, I changed puppet.conf and added: modulepath=/etc/puppet/modules:/etc/puppet/clients and restarted puppet unfortunately the same error Op dinsdag 18 mei 2010 11:36:54 schreef Silviu Paragina: On 18.05.2010 08:59, Chantal Rosmuller wrote: in the clients directory there's

Re: [Puppet Users] Re: client specific configuration not working

2010-05-18 Thread Silviu Paragina
On 18.05.2010 22:47, Ken wrote: Yes I think your correct Silviu. You want 'include' not 'import'. To explain: Import is more like the C #include directive - it effectively just pulls the contents of the external file into the current one. Because you didn't have a file 'servername.pp' you got

[Puppet Users] Documentation link error

2010-05-17 Thread Silviu Paragina
I have found some broken links on http://docs.puppetlabs.com/guides/more_language.html#functions . Where should I post and/or fix the error? Silviu -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to

Re: [Puppet Users] Re: External Nodes

2010-05-17 Thread Silviu Paragina
On 15.05.2010 00:30, Baker, Luke Jefferson wrote: Speaking of external nodes.. Any decent tutorials out there for someone that has no idea where to start? ;) To my last e-mail. Correction extlookup does not do external node lookup. :) It's a puppet function sorry about the confussion.

Re: [Puppet Users] ssh::auth unable to get working

2010-05-17 Thread Silviu Paragina
On 15.05.2010 10:18, Michael Dodwell wrote: Hey all, Just trying to get http://projects.reductivelabs.com/projects/puppet/wiki/Module_Ssh_Auth_Patterns to work: I've managed to get everything except ssh::auth::client happening. I just don't understand why it isn't working. It is just a very

Re: [Puppet Users] Re: External Nodes

2010-05-17 Thread Silviu Paragina
On 15.05.2010 00:30, Baker, Luke Jefferson wrote: Speaking of external nodes.. Any decent tutorials out there for someone that has no idea where to start? ;) External nodes are a way of looking up classes and vars to be applied to a node via an external application.

Re: [Puppet Users] Re: Cannot make autosign works

2010-05-15 Thread Silviu Paragina
On 15.05.2010 02:41, Eric wrote: Ok, I may got what went wrong. Since I'm using puppet in a ubuntu distro, I installed it from repositories, which setup everything to run with puppet user, including file permissions. But after installing it, I only run the puppetmaster it with sudo and

Re: [Puppet Users] Re: Exec doesn't work with Ubuntu Server 10.04 (Lucid Lynx) 64bit

2010-03-15 Thread Silviu Paragina
On 12.03.2010 22:34, Nigel Kersten wrote: For those people following along at home on this issue, Lucas Nussbaum chased it up on behalf of Debian and has just gotten a patch uploaded to Debian that resolves this problem. http://redmine.ruby-lang.org/issues/show/2739 Kudos for Lucas and

Re: [Puppet Users] Re: Exec doesn't work with Ubuntu Server 10.04 (Lucid Lynx) 64bit

2010-03-01 Thread Silviu Paragina
Sorry for reviving such an old thread : I've actually hit this today on a single core machine (amd sempron if it matters..). r...@testclient:~# ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] r...@testclient:~# puppetd -V 0.25.1 Any other solutions to this and/or if it has been

Re: [Puppet Users] rrd library missing

2010-01-21 Thread Silviu Paragina
Are you using by any chance any trunk version of puppet? As far as I know puppet currently (0.25.4) uses RubyRRDTool gem which is not the same as the ruby rrd library bundled in RRDtools (despite the fact that the bundled version might be a fork of the gem). On ubuntu the ruby rrd bindings are

Re: [Puppet Users] rrd library missing

2010-01-21 Thread Silviu Paragina
And I've managed to dodge one of your questions. :-) The include is done in ./lib/puppet/feature/base.rb (last line) which uses the lib/puppet/util/feature.rb. Basically you end up with a good old require RRDtool in load_library from feature.rb, if this require failsm you will get, further in the

Re: [Puppet Users] Managing authorized_keys

2010-01-16 Thread Silviu Paragina
Andre Timmermann wrote: Hi Silviu Am Freitag, den 15.01.2010, 03:31 +0200 schrieb Silviu Paragina: You should use modules, they get the stuff more organized, not a spinning vortex of files, templates, manifests and plugins. :-) hehe ;) http://reductivelabs.com/trac/puppet/wiki

Re: [Puppet Users] Managing authorized_keys

2010-01-16 Thread Silviu Paragina
Oh and read the New user manifest tips. It's a thread on the list currently (aka work in progress) but it should give you a heads-up for common rookie mistakes. Silviu Andre Timmermann wrote: Hi Silviu Am Freitag, den 15.01.2010, 03:31 +0200 schrieb Silviu Paragina: You should use

Re: [Puppet Users] Package install and upgrade?

2010-01-15 Thread Silviu Paragina
Scott Smith wrote: That's pretty complex. It might not work, but I would try defining package resources for each version and have each successive version require the previous. RPM should be smart enough to handle it, so give it a shot! -scott I'm skeptical that this would work. And I would

Re: [Puppet Users] Managing authorized_keys

2010-01-15 Thread Silviu Paragina
Andre Timmermann wrote: Hi Silviu, Am Donnerstag, den 14.01.2010, 12:59 +0200 schrieb Silviu Paragina: If that is all take a look at: http://reductivelabs.com/static_files/TypeReference.html#ssh-authorized-key it does just what you need. :) Ok, thanks, that looks great. One single

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

2010-01-14 Thread Silviu Paragina
So for your example you would want to remove all host entries that point to 192.168.1.1 except the buildserver host entry? Or you want the buildserver host entry to be removed? Or you want to replace whatever host entry buildserver has, with 192.168.1.1? Peter wrote: I have host {

Re: [Puppet Users] custom init script and status exit codes

2010-01-14 Thread Silviu Paragina
I'm guessing you did /etc/init.d/btsh start; echo $? and it works fine. (also for stop and restart) What you should do is add some debugging code. I think echo debug stuff 2 would be just enough, if not write in a separate file (for execs is enough). The most likely cause for the script to

Re: [Puppet Users] Managing authorized_keys

2010-01-14 Thread Silviu Paragina
Andre Timmermann wrote: Am Mittwoch, den 13.01.2010, 22:56 +0200 schrieb Silviu Paragina: May I suggest using this recipe http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth ? It's more recent and usesI will check the routine which is used to install and revoke keys

Re: [Puppet Users] Recipes/modules for multiple instances of web server?

2010-01-12 Thread Silviu Paragina
Jesús Couto wrote: Hi. I'm trying to do a test/proof of concept of Puppet as a tool to manage our systems. Hello, wow long mail. :) In our enviroment we have several different instances of apache running on each webserver machine, and several instances of tomcat running in our appservers

Re: [Puppet Users] 0.25.2 available via git?

2010-01-12 Thread Silviu Paragina
When you apt-get source the package you get a few files. A tar.gz (bz2 not sure), a diff, and few more (not interesting for this problem). The tar one is the original source code, the diff is the difference from the debian package (including the debian dir). So all you need to do is apply that

Re: [Puppet Users] content questions

2010-01-12 Thread Silviu Paragina
Check out this thread http://groups.google.com/group/puppet-users/browse_thread/thread/8f9f0a090c9ac235 especially the git repository mentioned in the thread. Silviu Derek Yarnell wrote: So using the content = attribute on files is obviously very helpful. We are using it and templating to

Re: [Puppet Users] 0.25.2 available via git?

2010-01-12 Thread Silviu Paragina
Steve Wray wrote: Thanks for the help, its been great. I'm trying to figure out what I should do if I have followed the instructions enclosed for 0.25.2 and then wanted to continue with 0.25.3. As it stands, when I used the command: git checkout -b upstream 0.25.3 it told me that there

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

2010-01-12 Thread Silviu Paragina
Probably a brainfart, but: This scenario is typical and would suggest the requirement of database resource. And this would be just enough. Hypothetical example: On the db machine you will have a resource like: database { mydb: ensure = 34, versionscript =

Re: [Puppet Users] Re: authentication issue with passenger (resolved)

2010-01-11 Thread Silviu Paragina
Christian Hofstaedtler wrote: You know, this usually means that you don't have these settings in your puppet.conf, as doc'ed: Required puppet.conf settings: [puppetmasterd] ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY -ch Noted. Does this work

Re: [Puppet Users] (Module custom(path to modules/custom)) using the deprecated 'plugins' directory for ruby extensions; please move to 'lib'

2010-01-08 Thread Silviu Paragina
Check out http://reductivelabs.com/trac/puppet/wiki/ReleaseNotes#deprecations The short answer is rename module/plugins to module/libs. About module naming there is a thread on the list started by a...@lab42 if you wish I can give you a link. Aside from that nothing I know.

Re: [Puppet Users] Re: continues puppet run in production

2009-12-30 Thread Silviu Paragina
Bugs happen in any service. This is the classical dilemma of plugging out your computer from the network vs connectivity (usability in this case). From my perspective high security risk bugs happen rarely enough to use both puppet and any other service I use. IMHO misconfiguration has a

Re: [Puppet Users] Re: Couldn't see RRDReport in foreman

2009-12-26 Thread Silviu Paragina
On 25.12.2009 13:11, koliama wrote: I wished to allocate with tagb change in URL. Probably it does not work in google groups. In a reality I certainly do not use this tag in URL. Use firefox + firebug, inspect element there and check the output, it will probably point you in the right

Re: [Puppet Users] how to specify source parameter for gem packages

2009-12-26 Thread Silviu Paragina
On 24.12.2009 21:00, byron appelt wrote: I am trying to use the package class to manage a gem and I need to specify the source. I tried doing the following: package { gateway_install_support: ensure = installed, provider = gem, source = http://gems.ublip.com:8808;,

Re: [Puppet Users] nested variables

2009-12-26 Thread Silviu Paragina
On 26.12.2009 20:10, Scott Smith wrote: Silviu Paragina wrote: $mac = ${$macaddress_${iface}} Shouldn't this be ${macaddress_${iface}} ? Have you tried that? Doesn't work for me in 0.25.1. Not really, tested it now, and you are right, but there was an extra

Re: [Puppet Users] puppet and sles 11 node

2009-12-23 Thread Silviu Paragina
On 23.12.2009 01:13, Matthew Delves wrote: Hey All, I seem to be getting errors when running puppet under sles 11. The first weird issue I'm seeing is that the node information isn't being sent through to puppet correctly as It doesn't pick up the $operatingsystem variable correctly and

Re: [Puppet Users] puppet, mongel, nginx and new nodes

2009-12-22 Thread Silviu Paragina
On 22.12.2009 06:34, Matthew Delves wrote: Sounds like mongrel or nginx might be generating an error message. Try pointing a web browser at https://your puppetmaster:8140 and see if you get anything helpful. The error I get is: Peer's certificate has an invalid signature. It would

Re: [Puppet Users] Multiple Environments

2009-12-21 Thread Silviu Paragina
Douglas Garstang wrote: On Sun, Dec 20, 2009 at 1:58 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Sun, Dec 20, 2009 at 4:57 AM, R.I.Pienaar r...@devco.net wrote: hello, - Douglas Garstang doug.garst...@gmail.com wrote: I'd like to be able to split out my

Re: [Puppet Users] Managing the same file from multiple modules/classes/manifests

2009-12-18 Thread Silviu Paragina
David Pheasant wrote: Hey everyone, I accidentally sent an earlier (unfinished) version of this message to the list, but hopefully it was moderated out. In any case, I'm wondering about the best way to manage the contents of a single file from multiple modules or maninfests/classes within

Re: [Puppet Users] Downgrade package via yum

2009-12-18 Thread Silviu Paragina
You may try to use the debug method I described here http://groups.google.com/group/puppet-users/browse_thread/thread/40a0cbdc8ade0d71/099af2828b89871e?lnk=gstq=yum#099af2828b89871e Silviu Tony G. wrote: Hi, On our organization we have custom npre packages distributed via yum, few days

Re: [Puppet Users] Installing Specific RPM Version

2009-12-15 Thread Silviu Paragina
Douglas Garstang wrote: Silviu, My system is aware of both the -1 and -2 releases in the repo. This is before running puppet... papp1 ~:# yum list tf-elements-core-tfel0-14.3-1.tf [ stuff removed ] Available Packages tf-elements-core-tfel0.noarch 14.3-1.tf

Re: [Puppet Users] no certificate found and waitforcert is disabled on all new puppet clients

2009-12-15 Thread Silviu Paragina
This looks a lot like this problem: http://projects.reductivelabs.com/issues/2890 Have you tried rm -rf /etc/puppet/ssl on the client? Or you are avoiding exactly that? In 0.25.1 puppet seems to force the usage of the cached certificates despite the fact that some of the data may be wrong, so

Re: [Puppet Users] AIX Puppet clients is not sending request for cert

2009-12-14 Thread Silviu Paragina
On 14.12.2009 22:31, Roberto Bouza wrote: Hello, I was able to compile ruby add gems install facter and puppet on one LDAP. Now everything looks good, puppetd is up and running but when checking the certificate on the puppetmaster server (A linux box) I don't see the request from the client

Re: [Puppet Users] Installing Specific RPM Version

2009-12-14 Thread Silviu Paragina
Douglas Garstang wrote: I'm trying to install/upgrade to a specific version of an RPM with puppet. I'm getting the following: Dec 14 17:58:40 papp1 puppetd[8438]: (//Node[papp1.fr.xxx.com]/Elements::Setup[tfel0]/Package[tf-elements-core-tfel0]/ensure) change from 1.0-1.tf to 14.3-0.tf

Re: [Puppet Users] Foreman and RRD

2009-12-09 Thread Silviu Paragina
On 09.12.2009 12:35, LOhit wrote: Hello, I am facing a little problem(?) with foreman. I have enabled reports=foreman,rrdgraph,store on the puppetmaster. And, I can see the reports in foreman as well, except for the RRD Graphs. However, I can see /var/puppet/rrd being populated every time

Re: [Puppet Users] How to override / redefine outside child class (usecase and example detailled)

2009-12-09 Thread Silviu Paragina
On 09.12.2009 11:44, Alexandre wrote: The use case i try to illustrate is when to declare some item (eq mysqld service) with a default configuration that could be included on every node (class stripdown in the example, for basenode), and still be able to override this same item in some

Re: [Puppet Users] Stop(or restart and/or reload facts/providers) execution on some conditions

2009-12-09 Thread Silviu Paragina
On 09.12.2009 09:25, David Schmitt wrote: If you can detect from the facts that an erreneous situation is ocurring, you could change the environment at the node level or in an external node script. Regards, DavidS You mean something like node problem { if (condition) {

Re: [Puppet Users] Re: How to override / redefine outside child class (usecase and example detailled)

2009-12-09 Thread Silviu Paragina
On 09.12.2009 16:28, jcbollinger wrote: As far as I know, overriding only works in a subclass, so it would need to be: class stripdown inherits mysql::server { Service { mysqld: enable = false, ensure = stopped } } Obviously, that's messy and it doesn't scale for multiple

Re: [Puppet Users] Stop(or restart and/or reload facts/providers) execution on some conditions

2009-12-08 Thread Silviu Paragina
On 08.12.2009 12:17, David Schmitt wrote: On 07.12.2009 21:01, Silviu Paragina wrote: I forgot to add, I need some resources applied in this case so fail won't be enough because it fails before applying any resources. example: in the case where lsb-release isn't installed

Re: [Puppet Users] How to add Ubuntu PPA repository (with signing key)?

2009-12-08 Thread Silviu Paragina
internals. This is the elegant, but complex solution. Now I'm balabbering. Distro change requires a lot of work, so I wouldn't recommend that that easily (and I didn't). Silviu Thanks again! On Mon, 2009-12-07 at 20:00 +0200, Silviu Paragina wrote: Use the /etc/apt/sources.list.d

Re: [Puppet Users] Puppet Dashboard 0.0.1 Release Announcement

2009-12-08 Thread Silviu Paragina
On 08.12.2009 21:14, Rein Henrichs wrote: Greetings Puppeteers, Reductive Labs and the Puppet Dashboard team (that would be me) are proud to announce the immediate release of Puppet Dashboard 0.0.1, codenamed Enterra. Because the Enterra is a car. And cars have dashboards. Puppet Dashboard

Re: [Puppet Users] Debian preseed values for puppet deb package

2009-12-08 Thread Silviu Paragina
My vote then _Client:_ server environment certname maybe include the client/server certificates (not so sure since they are kind of big) The certificate would be useful to allow secure pseudo auto-signing for puppet with the help of some custom functions. Ie it allows initial connect, on this

Re: [Puppet Users] Timestamps need to be in sync on all puppetmasters?

2009-12-08 Thread Silviu Paragina
The log you posted looks like a bad date/time timezone conversion, are all the clients/puppetmasters on the same timezone? Notice that the dates are actually identical but one is in utc the other US eastern (I think). Silviu On 08.12.2009 22:43, Digant C Kasundra wrote: This is similar to

Re: [Puppet Users] Timestamps need to be in sync on all puppetmasters?

2009-12-08 Thread Silviu Paragina
/zoneinfo/GMT+0 fcccbcf95c718cf2fdee557763e460be /usr/share/zoneinfo/Greenwich Could the /etc/sysconfig/clock file cause this? Thanks! On Tue, Dec 8, 2009 at 1:50 PM, Silviu Paragina sil...@paragina.ro mailto:sil...@paragina.ro wrote: The log you posted looks like a bad date/time

Re: [Puppet Users] Timestamps need to be in sync on all puppetmasters?

2009-12-08 Thread Silviu Paragina
, 2009 at 9:51 AM, Silviu Paragina sil...@paragina.ro mailto:sil...@paragina.ro wrote: Try this ruby -e 'puts Time.at(0)' In case ruby treats timezones different from how it should (how I think it should actually) Silviu On 09.12.2009 03:21, Tony G. wrote: Hi

Re: [Puppet Users] How to add Ubuntu PPA repository (with signing key)?

2009-12-07 Thread Silviu Paragina
Use the /etc/apt/sources.list.d/ for adding repositories. Note the files in there must have .list extension to be considered. For signing the easy way out is creating a define similar to this one: I'd advise against this one because I made it when I started using puppet. In a class:

[Puppet Users] Stop(or restart and/or reload facts/providers) execution on some conditions

2009-12-07 Thread Silviu Paragina
Is this possible? There are some cases when you really require this. Some are related to providers which don't load unless some packages are installed (see augeas, the recent post about cron). The biggest problem where I need to do this is when lsb-release isn't installed on a Ubuntu system

Re: [Puppet Users] Stop(or restart and/or reload facts/providers) execution on some conditions

2009-12-07 Thread Silviu Paragina
to be sure I'm not actually on a Ubuntu system Another example would be augeas, where, even if in a run augeas would be installed, puppet would fail because of missing augeas provider. Silviu PS sorry for spamming the list : On 07.12.2009 21:31, Silviu Paragina wrote: Is this possible

Re: [Puppet Users] Foreman reports - no pretty pictures :D

2009-12-05 Thread Silviu Paragina
the os/environment) I need to run rake puppet:migrate:populate_hosts RAILS_ENV=production is that right? Or I have misconfigured something. Thanks for the answer :) Silviu cheers, Ohad On Sat, Dec 5, 2009 at 2:14 AM, Silviu Paragina sil...@paragina.ro mailto:sil...@paragina.ro wrote

Re: [Puppet Users] cert problem

2009-12-04 Thread Silviu Paragina
Actually you only need to rm puppet/ssl/certs/client_name.pem It's a bug in the 25 client that caches the signed certificate received from the server, even if it doesn't match it's own key. Silviu On 04.12.2009 18:45, Allan Marcus wrote: ug. I figured it out. Need to clean the cert on the

[Puppet Users] Foreman reports - no pretty pictures :D

2009-12-04 Thread Silviu Paragina
I'm playing around with foreman for the moment. I can't seem to figure out how to make the dashboard look like in this screenshot http://theforeman.org/wiki/foreman/Screenshots#Dashboard In order for those statistics to work what should be done? I have activated the rrdgraph reports in puppetd,

Re: [Puppet Users] Foreman reports - no pretty pictures :D

2009-12-04 Thread Silviu Paragina
On 04.12.2009 20:14, Silviu Paragina wrote: I'm playing around with foreman for the moment. I can't seem to figure out how to make the dashboard look like in this screenshot http://theforeman.org/wiki/foreman/Screenshots#Dashboard In order for those statistics to work what should be done? I

Re: [Puppet Users] removing packages with interdependencies

2009-12-04 Thread Silviu Paragina
Try purged instead of absent. :) Silviu On 04.12.2009 18:15, asparks wrote: I'm trying to write a recipe that will remove ppp from systems. I've tried this in various ways (listing only ppp, listing ppp and dependent packages (like NetworkManager and NetworkManager-glib), using an array

Re: [Puppet Users] Array [int] accessors?

2009-12-03 Thread Silviu Paragina
On 03.12.2009 19:07, Scott Smith wrote: Silviu Paragina wrote: (ip_list is a custom fact that lists the machines ip addresses sorted, except 127.0.0.1) Could you post more of the manifest? You might be able to use the interfaces fact instead of writing your own: sc...@dongle

Re: [Puppet Users] Iterating over array to create users and files

2009-12-03 Thread Silviu Paragina
On 03.12.2009 23:29, Chris F wrote: I want to do the following declare variable: $usernames = [ chris, bob, tim ] How would I iterate over it to create something like: user { $username: home = /home/$username, } Also is it possible to create a more complex

[Puppet Users] Array [int] accessors?

2009-12-02 Thread Silviu Paragina
Are there any such things? For example $ip_list_arr=split(ip_list,,) $ip_external=*$ip_list_arr[0]* Or the only way to do it, is via custom functions? I think I read something like this before, but can't remember where or if it was with a custom function or not. Silviu -- You received this

  1   2   >