Questions tagged [puppetlabs-apache]

puppetlabs-apache is an official module for Puppet.

puppetlabs-apache is an official module to manage Apache webserver using Puppet.

Useful Links

Related Tags:

82 questions
0
votes
1 answer

Using puppet third party module

I installed one module from : Puppet Redis Module Now I have the directory structure as follows : Contents of g_redis.pp : class g_redis{ include redis class {'redis' : version => '2.6.14', redis_port => '7000' ----->A …
Ankur Verma
  • 5,793
  • 12
  • 57
  • 93
0
votes
1 answer

Concatenating variable and regexp expression in Puppet

Is it possible at all? My use case is setting wildcard domain's docroot. I have a variable $docroot = "/var/www" and, inside apache::vhost {} I'm trying to set virtual_docroot' => "{$docroot}/%-2+", That however throws an error saying: Error:…
Maciej Gurban
  • 5,615
  • 4
  • 40
  • 55
0
votes
1 answer

Vagrant/Puppet Connection Timeout (Obvious Fixes Attempted, Working Previously)

For some reason my Vagrant/Puppet instance stopped working out of the blue--I am no longer able to reach the VM from my host machine, despite no configuration or network changes. Interestingly, the private network must be recognized as the browser…
Julian
  • 1,406
  • 1
  • 13
  • 24
0
votes
1 answer

puppet service wont start

I have the following code for a small class for Tomcat, The class runs fine but the service at the end of the script doesn't start. any guidance would be great. i dont know why the service wont start. content of the Tomcat6 class # Class:…
Abu Hamdan
  • 93
  • 2
  • 4
0
votes
1 answer

How can I improve class function using a template or other generic method

I have a class function that downloads packages using the package method in puppet. class package { define install( $dependence=File[$dummy_dependence_file]) { package { $name: ensure => "installed", require =>…
0
votes
1 answer

Specify PHP version with PuppetLabs' Apache module

I'm using puppetlabs-apache to maintain my Apache installation. I want to specify the PHP version I'm using: package { "php": ensure => "5.4.16" } But I get an error: Duplicate declaration: Package[php] is already declared in file…
Daniel
  • 10,115
  • 3
  • 44
  • 62
-1
votes
1 answer

How to ignore overriding behaviour by puppet agent

Let's say i configured the desired state of configuration For ex Minimum = 1. Incase if my application changes this configuration value to 5, then puppet overwrites once again to 1. How this can be avoided? What i wanted is during…
1 2 3 4 5
6