Re: [Puppet Users] Puppetlabs apache module: setting the value for @expires_default in apache::mod::expires

2017-01-18 Thread Flannon Jackson
That was it. Thanks very much for the reply. -f On Wednesday, January 18, 2017 at 5:15:03 PM UTC-5, Rob Nelson wrote: > > In the `apache` class there is a `default_mods` parameter as well (param > https://github.com/puppetlabs/puppetlabs-apache#default_mods and code > path > https://github.co

Re: [Puppet Users] Puppetlabs apache module: setting the value for @expires_default in apache::mod::expires

2017-01-18 Thread Rob Nelson
In the `apache` class there is a `default_mods` parameter as well (param https://github.com/puppetlabs/puppetlabs-apache#default_mods and code path https://github.com/puppetlabs/puppetlabs-apache/blob/28e9d41b2028f13c81b43e47c79bd28899170ccb/manifests/init.pp#L334-L345), it looks like you would wan

[Puppet Users] Puppetlabs apache module: setting the value for @expires_default in apache::mod::expires

2017-01-18 Thread Flannon Jackson
I'm running puppet 4.8 and I'm trying to configure the Puppetlabs-Apache module, which is v1.10.0. According to the README apache::mod::expires has three parameters, one of which is expires_default. (https://forge.puppet.com/puppetlabs/apache#class-apachemodexpires). It also says that is use

[Puppet Users] puppetlabs/apache: override variable

2016-06-13 Thread Helmut Schneider
Hi, apache/manifests/init.pp defines: if $::apache::conf_dir and $::apache::params::conf_file { case $::osfamily { 'debian': { $error_log= 'error.log' $scriptalias = '/usr/lib/cgi-bin' $access_log_file = 'access.log' } I would l

Re: [Puppet Users] puppetlabs apache and extra conf.d files

2015-11-08 Thread Arnau
Thanks a lot for your answer, Cheers 2015-11-06 16:34 GMT+01:00 Matthew Hyclak : > No, because puppet is now "managing" the file, it won't be included in the > purge. > > On Fri, Nov 6, 2015 at 9:11 AM, Arnau wrote: > >> Hi, >> >> thanks for your answer. >> But with this file + apache doing a d

Re: [Puppet Users] puppetlabs apache and extra conf.d files

2015-11-06 Thread Matthew Hyclak
No, because puppet is now "managing" the file, it won't be included in the purge. On Fri, Nov 6, 2015 at 9:11 AM, Arnau wrote: > Hi, > > thanks for your answer. > But with this file + apache doing a directory purge on each run, isn't it > going to be add/remove the file in every run? > > (custom

Re: [Puppet Users] puppetlabs apache and extra conf.d files

2015-11-06 Thread Arnau
Hi, thanks for your answer. But with this file + apache doing a directory purge on each run, isn't it going to be add/remove the file in every run? (custom_config is working like a charm) TIA, Arnau 2015-11-06 14:48 GMT+01:00 Matthew Hyclak : > Could/should be as simple as > > class thruk { >

Re: [Puppet Users] puppetlabs apache and extra conf.d files

2015-11-06 Thread Matthew Hyclak
Could/should be as simple as class thruk { package { 'thruck': ensure => 'installed', } file { '/etc/httpd/conf.d/thruk.conf': ensure => 'file', require => Package['thruk'], } } Salt to taste. On Fri, Nov 6, 2015 at 5:00 AM, Arnau wrote: > Hi Hunter, > > thanks for your ans

Re: [Puppet Users] puppetlabs apache and extra conf.d files

2015-11-06 Thread Arnau
Hi Hunter, thanks for your answer. I don't see how to do what you suggest, could you please give me a short example? (I was using apache::custom_config as a workaround) TIA, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe

Re: [Puppet Users] puppetlabs apache and extra conf.d files

2015-11-05 Thread Hunter Haugen
The apache module contains many mod manifests [1] that use file resources with templates [2] that you can pattern your code after. No need to use apache::vhost at all. [1] https://github.com/puppetlabs/puppetlabs-apache/tree/master/manifests/mod [2] https://github.com/puppetlabs/puppetlabs-apache/

[Puppet Users] puppetlabs apache and extra conf.d files

2015-11-05 Thread Arnau
Hi all, Puppetlab apache module [1] by default purges everything under /etc/httpd/conf.d . If you want to add an extra file, you must use apache::vhost. I'm writing a module for managin thruk. The trhuk rpm packge provides a apache conf file (/etc/httpd/conf.d/thruk.conf). At this point I'm wonder

[Puppet Users] puppetlabs/apache module and changin the default port

2015-10-26 Thread tobias . koeck
As far as I have read it's not possible to change the default port for Apache class { 'apache': default => 8080, } apache::listen { '8080': } will just add the port 8080 but the port 80 is still available. Is this a bug? If not does somebody know how to do that? -- You received this

[Puppet Users] puppetlabs-apache and mod_jk

2015-06-29 Thread Peter Berghold
Does the apache::vhost facility in puppetlabs-apache support mod_jk redirects in some fashion I'm missing? I'm about to use this module (along with a couple of others) to set up Jenkins on a server of mine for purely research purposes... -- You received this message because you are subscribed to

Re: [Puppet Users] puppetlabs-apache module: anyway to define default parameters for every vhost

2015-06-28 Thread Angel L. Mateo
El 25/06/15 a las 12:47, UK_beginner escribió: I'm using the puppetlabs-apache module (currently v1.5.0) and I'm looking for a way to be able to define some default values for every virtual host. For example, it would be good to set ServerAdmin to 'x...@yy.com' as a default, allowing overrides on

Re: [Puppet Users] puppetlabs-apache module: anyway to define default parameters for every vhost

2015-06-25 Thread Neil
Hello Wrap your own site::apache module. As another benefit you give yourself a single point to adapt to changes to puppet labs hapax he Neil I'm using the puppetlabs-apache module (currently v1.5.0) and I'm looking for a way to be able to define some default values for every virtual host. For e

[Puppet Users] puppetlabs-apache module: anyway to define default parameters for every vhost

2015-06-25 Thread UK_beginner
I'm using the puppetlabs-apache module (currently v1.5.0) and I'm looking for a way to be able to define some default values for every virtual host. For example, it would be good to set ServerAdmin to 'x...@yy.com' as a default, allowing overrides only when necessary. Can anyone suggest a way t

Re: [Puppet Users] puppetlabs-apache n00b question - docroot value for fully proxied virtual host?

2014-09-25 Thread Paul BH
Thanks for this guys; sorry I hadn't seen these responses till now... I'd gladly do a PR, but what would be the situation when its not required? Is it if @proxy_dest or @proxy_pass are set? Secondly; my setup (running a jenkins box behind apache) also needs these directives set: AllowEncodedSl

Re: [Puppet Users] puppetlabs-apache n00b question - docroot value for fully proxied virtual host?

2014-09-17 Thread Neil - Puppet List
Set it to /dev/null ? On 17 Sep 2014 17:53, "Hunter Haugen" wrote: > Yeah, basically `$docroot` is still a required parameter because > historically it was required (apache::vhost didn't do proxy stuff) and was > never updated. If you want to make a PR that makes it default to `undef` > and then

Re: [Puppet Users] puppetlabs-apache n00b question - docroot value for fully proxied virtual host?

2014-09-17 Thread Hunter Haugen
Yeah, basically `$docroot` is still a required parameter because historically it was required (apache::vhost didn't do proxy stuff) and was never updated. If you want to make a PR that makes it default to `undef` and then raises helpful errors in cases when it is needed, then that would be great :)

[Puppet Users] puppetlabs-apache n00b question - docroot value for fully proxied virtual host?

2014-09-16 Thread Antoine Cotten
Unfortunately you can't. This is a restriction of Apache, which requires a docroot value for every vhost, and not of Puppet. -- 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

[Puppet Users] puppetlabs-apache n00b question - docroot value for fully proxied virtual host?

2014-09-15 Thread Paul BH
Hi there, pretty new to puppet so I'm guessing this is something simple. I'm trying to set up an apache virtual host that simply acts as a proxy to push all traffic on port 80 to a servlet running on 8080. I have this working on a non puppet managed server with this virtual host: ServerAdmin

Re: [Puppet Users] puppetlabs-apache prefork vs. worker

2014-07-10 Thread Hunter Haugen
I think the parameter you're looking for is https://github.com/puppetlabs/puppetlabs-apache/#mpm_module So: class { 'apache': mpm_module => 'prefork', } class { 'apache::mod::php': } or if you need to provide the prefork module custom parameters: class { 'apache': mpm_module => false, } c

[Puppet Users] puppetlabs-apache prefork vs. worker

2014-07-10 Thread Peter Berghold
Have a bit of frustration here: I have a class I've written to install a vhost based Wordpress site on a server. There will be serveral there. Since mod_php is needed I also need to install mod_prefork. I invoke the apache class thusly: class {'apache': default_

[Puppet Users] puppetlabs-apache

2014-04-16 Thread willi . fehler
Hi, we are using puppetlabs-apache module version 1.01. When we run puppet parser validate to check our Puppet code we see the following error: Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored on line 65 in file /etc/puppet/modules/

[Puppet Users] puppetlabs-apache and WSGI socket location

2014-04-01 Thread Adam Clark
Hi all, I am trying to work out the best way to solve something that does not get configured correctly with puppetlabs-apache. using puppetlabs-apache and WSGI defaults, it places the wsgi socket into the default location according to: http://code.google.com/p/modwsgi/wiki/ConfigurationDirecti

Re: [Puppet Users] Puppetlabs/Apache 0.10.0 Release

2013-12-11 Thread Darin Perusich
On Tue, Dec 10, 2013 at 10:42 PM, William Van Hevelingen wrote: > I opened an issue for SUSE/SLES support to track it's progress. > > https://github.com/puppetlabs/puppetlabs-apache/issues/525 Got some email from github on this early, thanks. Where does discussion on this module take place, this

Re: [Puppet Users] Puppetlabs/Apache 0.10.0 Release

2013-12-10 Thread William Van Hevelingen
I opened an issue for SUSE/SLES support to track it's progress. https://github.com/puppetlabs/puppetlabs-apache/issues/525 On Tue, Dec 10, 2013 at 5:18 AM, Darin Perusich wrote: > On Tue, Dec 10, 2013 at 3:58 AM, William Van Hevelingen > wrote: > > A couple of days ago we released puppetlabs/

Re: [Puppet Users] Puppetlabs/Apache 0.10.0 Release

2013-12-10 Thread Darin Perusich
On Tue, Dec 10, 2013 at 3:58 AM, William Van Hevelingen wrote: > A couple of days ago we released puppetlabs/apache 0.10.0, and as busy as > all involved people were we were to accomplish the release they are now > equally > busy to do other amazing things. > > http://forge.puppetlabs.com/puppetl

[Puppet Users] Puppetlabs/Apache 0.10.0 Release

2013-12-10 Thread William Van Hevelingen
A couple of days ago we released puppetlabs/apache 0.10.0, and as busy as all involved people were we were to accomplish the release they are now equally busy to do other amazing things. http://forge.puppetlabs.com/puppetlabs/apache/0.10.0 Among the endless (22) features that we've added in this

Re: [Puppet Users] puppetlabs-apache please help me to understand ssl_key & allow-ovverride

2013-07-01 Thread Hunter Haugen
Hello! Sorry for the confusion. It appears that the parameters you're referencing are from the master branch of the github repo, but are installing the older version from the forge (which has far less attention). The documentation on https://github.com/puppetlabs/puppetlabs-apache is only in refer

[Puppet Users] puppetlabs-apache please help me to understand ssl_key & allow-ovverride

2013-06-30 Thread WesseldR
Thank you for giving my question a look, I'm starting up working with puppet and so far its great, however the apache module is driving me crazy :-/ The manual on the website https://github.com/puppetlabs/puppetlabs-apache gives tons of options, only a view work for me. I have installed the 0.6.0

Re: [Puppet Users] puppetlabs-apache module a2mod

2013-04-02 Thread James A. Peltier
- Original Message - | Hi All, | | I'm trying to use the Puppet Labs Apache module from the forge or the | git repo and when I install it, and then add | | class {'apache': } | | inside the node definition I end up with the error | | | Could not retrieve catalog from remote server: Er

[Puppet Users] puppetlabs-apache module a2mod

2013-04-02 Thread James A. Peltier
Hi All, I'm trying to use the Puppet Labs Apache module from the forge or the git repo and when I install it, and then add class {'apache': } inside the node definition I end up with the error Could not retrieve catalog from remote server: Error 400 on SERVER: Resource type a2mod doesn't

Re: [Puppet Users] puppetlabs apache module syntax errors

2012-08-24 Thread Ryan Coleman
Hi Shantanu, On Fri, Aug 24, 2012 at 1:52 PM, Shantanu wrote: > > I am getting following errors with the latest puppetlabs-apache > module. I am using Puppet 2.6.16 on CentOS 6.2 OSs and with required > dependency modules firewall (v0.0.4-80-g63fd433) and stdlib (3.0.0-27- > g4e25230) installed i

[Puppet Users] puppetlabs apache module syntax errors

2012-08-24 Thread Shantanu
I am getting following errors with the latest puppetlabs-apache module. I am using Puppet 2.6.16 on CentOS 6.2 OSs and with required dependency modules firewall (v0.0.4-80-g63fd433) and stdlib (3.0.0-27- g4e25230) installed in the modulepath. I have included only following class to in a node temp

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

2010-06-28 Thread James Turnbull
Silviu Paragina wrote: >> according to Luke @ puppetcamp Europe this is a problem that should be >> fixed within puppet. So it should be possible to define that package >> cron or apache should be installed and all the cron/a2mod depend on that >> package and puppet shouldn't fail before. >> >

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 apach

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

2010-06-28 Thread Peter Meier
-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 apache module? > 3. This seems trivial. Why wa

[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 pup