Re: [Puppet Users] apache::vhost add prefix to logfiles

2014-10-24 Thread Christopher Webber
Maybe do something with create_resources and hiera? It has been a while since I have done it so I don’t have code handy but it is worth looking at. — cwebber > On Oct 24, 2014, at 5:41 AM, Denny wrote: > > thanks, but this would be far to much work for like 100 vhosts, which I want > to sort

Re: [Puppet Users] apache::vhost add prefix to logfiles

2014-10-24 Thread Christopher Webber
Ok, So when you call `access_log_file => “wordpress_${access_log_file}”` puppet is pulling $access_log_file from the scope in which you called apache::vhost what you probably want to do is something like: $vhost_name = ‘vhost.example.com' $vhost_type = ‘wordpress’ apache::vhost {$vhost_name:

Re: [Puppet Users] apache::vhost add prefix to logfiles

2014-10-24 Thread Christopher Webber
Denny, Which apache module are you using? — cwebber > On Oct 24, 2014, at 12:32 AM, Denny wrote: > > Hi there, > > this is - for sure - pretty easy to solve but I'm a bit stuck right now... > > I want to add a prefix to my apache-vhost access and error logs depending on > what kind of appli

Re: [Puppet Users] How can Puppet query from Sybase - Facter or Hiera?

2014-10-21 Thread Christopher Webber
Assuming the libraries to connect to sybase from ruby exist… you could just write a custom function. https://docs.puppetlabs.com/guides/custom_functions.html so basically you want to do something like: $workgroup = sybase_workgrou

Re: [Puppet Users] Applying exec only 1x - Dell OMSA setup

2014-09-28 Thread Christopher Webber
The simplest way is to add a `creates` parameter for the binary or directory the installer creates. -- cwebber > On Sep 28, 2014, at 18:26, JonY wrote: > > My instructions for setting up the repo and such for Dell OpenManage start > with this command "wget -q -O - > http://linux.dell.com/re

[Puppet Users] Announce Only List

2011-08-26 Thread Christopher Webber
Is there an announce only list for Puppet at this point? -- cwebber -- 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+

Re: [Puppet Users] Re: A working firewall module

2011-07-10 Thread Christopher Webber
I have been working on doing something similar to this. We want to abstract for multiple OS's and deal with the joy that is Solaris zones. Essentially, it will be a resource that defines the fw rules in XML and then a script takes all of those definitions and creates a complete set of firewall

Re: [Puppet Users] Git Workflow

2011-05-03 Thread Christopher Webber
We have a single master branch and then check various branches out into dev. I wrote up an article about how our env works a few months back. It may be useful to look at. https://cwebber.ucr.edu/2011/03/multiple-environments-in-puppet/ My guess is that eventually we will have multiple dev environ

Re: [Puppet Users] Testing changes before deployment

2011-03-22 Thread Christopher Webber
I actually wrote up a post about using multiple environments for this purpose. It includes the process flow chart as well. http://cwebber.ucr.edu/2011/03/multiple-environments-in-puppet/ --cwebber On 3/22/11 2:10 PM, "Thomas Bellman" wrote: >Giovanni Bordello wrote: > >> But what if I need to

[Puppet Users] Exported Resources and Environments

2011-02-25 Thread Christopher Webber
I am running 0.24.8 clients and a 2.5.5 master. When I moved to separate environments I noticed that the exported resources did not respect environment boundaries. For example, an exported nagios_host resource that was exported by a node in the dev environment showed up in the production nagios con

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

2010-06-14 Thread Christopher Webber
I went to download this and it returned a 404. Is it still available somewhere? -- cwebber On Jun 4, 2010, at 4:59 PM, Marcus, Allan B wrote: > 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-

Re: [Puppet Users] Re: Apache load balancing problem with 0.25.0

2010-05-26 Thread Christopher Webber
Was a solution to this issue ever found? I just upgraded my puppetmaster to 0.25.5 and the only client that is having issues is the only client running 0.25.5. -- cwebber On Sep 9, 2009, at 1:14 PM, martin wrote: > > On Sep 9, 5:35 pm, Martin Englund wrote: > >> Inspecting the code where it

Re: [Puppet Users] Possible options to transfer information from nodes to master?

2010-04-07 Thread Christopher Webber
This is what facter is used for. This should get you started. http://docs.puppetlabs.com/guides/custom_facts.html -- cwebber On Apr 7, 2010, at 6:57 AM, Tore wrote: > What options does puppet provide to transfer information back to > puppetmaster? > > I just wrote a quick manifest to create fil

Re: [Puppet Users] Firewall between master and client?

2009-11-19 Thread Christopher Webber
No. The client pulls down the config, initiating the session. -- cwebber On Nov 19, 2009, at 7:12 AM, JoE wrote: > I understand that puppet needs port 8140 tcp/udp open for server and > client. > > Will puppet work if a firewall is set up between these two hosts that > only allows traffic from t

[Puppet Users] Re: Multihomed puppet-server Multidomain SSL Problem

2009-11-13 Thread Christopher Webber
I would love to see an answer to this as well. I have basically ended up just adding an entry to /etc/hosts to make it possible to connect to the secondary interface. -- cwebber On Nov 13, 2009, at 6:40 AM, Hubert Krause wrote: > > Hello List, > > I have a problem with the CA on my Puppetma

[Puppet Users] Re: Opensolaris: beyond zones

2009-11-12 Thread Christopher Webber
Yes. -- cwebber On Nov 12, 2009, at 8:55 AM, windowsrefund wrote: > > > > On Nov 12, 11:32 am, Christopher Webber wrote: >> We treat zones like normal nodes for the most part. There is a >> separate base class that is zone specific but otherwise we don't

[Puppet Users] Re: Opensolaris: beyond zones

2009-11-12 Thread Christopher Webber
We treat zones like normal nodes for the most part. There is a separate base class that is zone specific but otherwise we don't do things any differently. -- cwebber On Nov 12, 2009, at 8:28 AM, windowsrefund wrote: > > Getting past zone creation, I'm curious to know how people are > managi

[Puppet Users] Re: Workstations and Certs

2009-07-03 Thread Christopher Webber
I am currently working on doing a very similar thing with kickstart. There are two ways you can deal with the hostname... have PHP do an nslookup for the ipaddress that is connecting (prefered for security reasons), or just pass it as an argument to the PHP script. Chris On Jul 3, 2009, at

[Puppet Users] Re: Using Puppet on Machines Where I Don't Have Root?

2009-05-26 Thread Christopher Webber
Run puppet --genconfig and find all the parameters that would need to be changed to make it work. Most if not all of the important stuff can be modified by either args to puppet/d or via the puppet.conf Chris On May 26, 2009, at 10:53 PM, Brian Ferris wrote: > I understand that I can only ed

[Puppet Users] Re: LDAP Nodes, Solaris Puppetmaster and SSL/TLS

2009-03-25 Thread Christopher Webber
I am using OpenLDAP on both ends. ldapsearch works with both start_tls and via ssl. It seems that the issue is directly related to the ruby- ldap libraries. Chris On Mar 25, 2009, at 1:54 PM, Rob McBroom wrote: > > On 2009-Mar-23, at 4:48 PM, Christopher Webber wrote: > >> Doe

[Puppet Users] LDAP Nodes, Solaris Puppetmaster and SSL/TLS

2009-03-23 Thread Christopher Webber
Does anyone have a puppetmaster working on Solaris that uses LDAP nodes and connects to the ldap server using SSL or TLS? I have tried everything to make it happen but cant seem to find the magical combination, if there is one, to get ruby-ldap compiled so that it works with TLS or SSL. C