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
1
vote
0 answers

How to enable caching for a particular URL with Puppet Apache module?

Using PuppetLab's Apache module, how would I enable caching for a particular URL? (I'm running a web application that puts all static content under a particular URL) I understand the resulting configuration line should be CacheEnable type /foo,…
smsearcy
  • 513
  • 5
  • 8
1
vote
1 answer

Default vhost settings in puppetlabs-apache

I'm trying to set default options for all vhosts. The documentation says "All of the SSL parameters for ::vhost will default to whatever is set in the base apache class"…
1
vote
1 answer

Is there a way to define relationships between create_resources

In my puppet class i use 3 create_resources. I want to execute these create_resources in order. Thus there are relationships between each other create_resources(change_config::cr1, $resource) create_resources(change_config::cr2,…
Malintha
  • 4,512
  • 9
  • 48
  • 82
1
vote
1 answer

Cannot parse array into defined type

I am using following puppet class class myclass{ $foo = [{"id" => "bar", "ip" => "1.1.1.1"}, {"id" => "baz", "ip" => "2.2.2.2"}] map {$foo:} define map () { notify {$name['id']: } } } But this gives me err: Could not retrieve…
Malintha
  • 4,512
  • 9
  • 48
  • 82
1
vote
0 answers

puppet learning VM

I have just installed puppet learning VM as part of my learning Puppet. My base machine is ubuntu 11.04 VMWare installed is VMWare Player 6.0.2 build-1744117 Puppet Learning VM version is 3.4.3 (Puppet Enterprise 3.2.2) I was able to execute basic…
suj
  • 507
  • 1
  • 8
  • 22
1
vote
1 answer

foreman smart-proxy error to register puppet

I have installed foreman , foreman-proxy and puppet on same ubuntu 12.x box and try to add smart-proxy entry but i am getting following error any idea? I have drop DB and restarted but still same issue. Started POST "/smart_proxies" for 10.10.50.15…
Satish
  • 16,544
  • 29
  • 93
  • 149
1
vote
1 answer

Error about deprecated Puppet MySQL keeps showing up

This is my manifest: class capstone() { include apache include mysql class {'apache::vhost': port => 80, docroot => '/var/www/wordpress', } include 'apache::mod::php' class {'mysql::server' : root_password => 'foo', …
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
1
vote
1 answer

Executing exe files using puppet script

Hi I've an exe file (Ex: test.exe) and it is expecting some parameters like param1 and param2. How can I run this exe file using puppet script. Ex: test.exe param1 param2
jestges
  • 3,686
  • 24
  • 59
  • 95
0
votes
1 answer

Puppet set Apache Header X-Frame-Options

I want to set the Apache's header X-Frame-Options to "Deny" by adding the following line into the httpd.conf file on a single server using puppetlaps apache module. Header set X-Frame-Options "DENY" I have the YAML file for the server in the…
mmarkov
  • 3
  • 4
0
votes
0 answers

Puppet tomcat install doesn't run chained instance resource

I am using the following puppet code to install tomcat and set up an instance on an aws linux 2 ami: # install Tomcat package ::tomcat::install { '/usr/share/tomcat': catalina_home => '/usr/share/tomcat', install_from_source => false, …
Roger
  • 91
  • 5
0
votes
1 answer

How to copy files from master to agent nodes using tasks

I need to copy files from puppet master to agent using tasks ,whenever I need to copy on random linux servers. Please help me on this.
0
votes
2 answers

How to run puppet forge modules in linux ubuntu machine

I'm new to Puppet. I want to install any package or software on my new linux machine where Ubuntu installed. I have gone through puppet forge modules in their portal. There are plenty of modules available but I'm not getting how to run them. Looks…
0
votes
2 answers

Pupperserver with Adopt-OpenJDK

We are in transition from Puppetmaster 3.8 to Puppet server(OpenSource) 5.3. As a prerequisite for Puppetserver 5.3 installation requires Java 8 runtime packages. Can we install Adopt-OpenJDK with Pupperserver 5.3?
0
votes
0 answers

Open Source Puppet Upgrade from 3.8.7 on Ubuntu OS

I am in the process of upgrading Open Source Puppet from Server version 3.8.7 (which is hosted on Ubuntu 14.04 ) to a New version of Puppet on Ubuntu 16.04. i have listed all the existing modules in current version however deciding which Open Source…
rgh
  • 40
  • 2
  • 11
0
votes
1 answer

Copy log file from Agent to Master Puppet

is there a way in Puppet to copy log file from Puppet Agent to Puppet Master? Thanks in advance, Regards, Andy
Andy
  • 51
  • 9