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

2009-12-10 Thread David Schmitt
On 09.12.2009 16:11, Silviu Paragina wrote: 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

[Puppet Users] In my system source of plugin folder has destroyed...where to find this plugin folder.

2009-12-10 Thread sanjibdhar...@gmail.com
Please help. -- 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

Re: [Puppet Users] In a single system puppet not working.

2009-12-10 Thread Peter Meier
tbag...@tbagchi-desktop:~$ puppetd --test --debug --server localhost [...] info: Creating a new SSL key for tbagchi-desktop warning: peer certificate won't be verified in this SSL session info: Caching certificate for ca warning: peer certificate won't be verified in this SSL session info:

[Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread Kenneth Holter
Hi. Some types of configurations need different parameters depending on which environment/network the puppet client reside in. An example is DNS configuration found in /etc/resolv.conf, which may vary depending on which network the puppet client is on. Another example is LDAP client setup, may

[Puppet Users] Errror on file reference with multiple file sources and missing file match

2009-12-10 Thread kapi
Hi, I'm using many classes with file references using multiple file sources. Example: file { /path/to/my/file: source = [ /nfs/files/file.$host, /nfs/files/file.$operatingsystem, /nfs/files/file.$myownhosttype, /nfs/files/file ] } In some cases I don't have

Re: [Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread Ohad Levy
You might consider using extlookup (http://nephilim.ml.org/~rip/puppet/* extlookup*.rb) or if you use foreman, you could define variables in different levels (e.g. in the domain level, subnet level etc). cheers, Ohad On Thu, Dec 10, 2009 at 7:19 PM, Kenneth Holter kenneho@gmail.comwrote:

[Puppet Users] I am new bee in puppet please help me to configure a node to install something from central puppet master.

2009-12-10 Thread sanjibdhar...@gmail.com
I want to install some software by puppet into remote system how to do this. -- 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

Re: [Puppet Users] I am new bee in puppet please help me to configure a node to install something from central puppet master.

2009-12-10 Thread Julian Simpson
Suggest you start writing a *local* puppet manifest first and start running it (on your local machine) with puppet '/path/to/file'. Try reading up on the 'package' type in puppet (assuming that your software is packaged). Once you have that running you can look at running the same thing

Re: [Puppet Users] In my system source of plugin folder has destroyed...where to find this plugin folder.

2009-12-10 Thread Julian Simpson
Do you have the error message? 2009/12/10 sanjibdhar...@gmail.com sanjibdhar...@gmail.com: Please help. -- 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

Re: [Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread M.F.Haris
Yeah I have a similar issue as I have to configure SNMP on different clients and the structure of SNMP (configurations files and service management) is different and vary from client to client as some clients are running on Fedora, some on SuSe and some on IBM AIX. any suggestions and comments

Re: [Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread Julian Simpson
2009/12/10 M.F.Haris mfha...@gmail.com: Yeah I have a similar issue as I have to configure SNMP on different clients and the structure of SNMP (configurations files and service management) is different and vary from client to client as some clients are running on Fedora, some on SuSe and some

Re: [Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread Peter Meier
I've been trying to get some modules written for CentOS/RedHat working on my Ubuntu systems, and wondering the best way to do this myself. A good example is the differences between Apache on the two kinds of system: Apache runs as 'www' on the RH systems, and 'www-data' on the Debian-ish

Re: [Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread R.I.Pienaar
hello, - Peter Meier peter.me...@immerda.ch wrote: $vhosts_dir = $operatingsystem ? { centos = $apache::centos::config_dir/vhosts.d, gentoo = $apache::gentoo::config_dir/vhosts.d, debian = $apache::debian::config_dir/vhosts.d, ubuntu = $apache::ubuntu::config_dir/vhosts.d,

Re: [Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread Carl Caum
Currently, we handle this by using variables that we set when parsing site.pp. We have a directory /etc/puppet/manifests/resources. In site.pp, we have 'import resources/*' before we have any node definitions. One of the files in the resources directory may be something like sites.pp where

Re: [Puppet Users] I am new bee in puppet please help me to configure a node to install something from central puppet master.

2009-12-10 Thread Carl Caum
I'd recommend you start here to get familiar with the docs: http://reductivelabs.com/trac/puppet/wiki/TOC Also, James Turnbull's 'Pulling Strings With Puppet' book has a great quick start intro. http://www.amazon.com/Pulling-Strings-Puppet-Configuration-Management/dp/1590599780 Full

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

2009-12-10 Thread jcbollinger
On Dec 9, 10:19 am, Silviu Paragina sil...@paragina.ro wrote: I think this is the usual style of defining stuff in puppet as I've seen it in a lot of places. I have often seen the model of class some_facility::base {} class some_facility::server {} class some_facility::client {} I have not

Re: [Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread Christopher Johnston
I do this exactly the same way, we just use the domainname fact and match that to the site. All really depends on the environment of course. Works perfectly, one thing you might want to stick is a default at the bottom which either provides a failsafe set of attributes and/or fails so you can

Re: [Puppet Users] Puppet Dashboard 0.0.1 Release Announcement

2009-12-10 Thread Joe McDonagh
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 is (or will be) a web

[Puppet Users] Generic modules to mask actual application-centric modules

2009-12-10 Thread Tim Stoop
Hi all, I've spent some time with Volcane today to try to solve the problem. It might have been solved and posted here, but I thought I'd share anyway, since I seem to remember other people asking for this. The problem -- When defining resources like websites, I do not want to know which