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

Puppet and Apache: ${name} gives 'main' instead of class name

I'm trying to configure a few Apache virtual hosts with the puppetlabs/apache module. My issue is with the ${name} variable. I expected DocumentRoot to be set to /var/www/atoms.one, but instead it is set to /var/www/main. What am I doing wrong? My…
stephenwade
  • 1,057
  • 2
  • 20
  • 37
0
votes
1 answer

Apache won't start after installing with Puppet

I have installed Apache via puppetlabs/apache and it will not start. I throws the error Address already in use: AH00072: make_sock: could not bind to address regardless of what port is used. netstat -lntp doesn't show anything using the port. My…
GeneBean
  • 361
  • 4
  • 17
0
votes
1 answer

Using multiple vhost templates in puppet

I'd like to use multiple vhost templates from my apache module in my nodes manifest, and so far not having any luck. I have one vhost template in my apache module that looks like this. This is my apache::vhost template: cat…
bluethundr
  • 1,005
  • 17
  • 68
  • 141
0
votes
0 answers

Error: Could not request certificate - Puppet version Issue

It was running fine till earlier, now I all of a sudden get this error when I try to do puppet agent --server *MasterName* --waitforcert 60 --test . When I try to yum upgrade puppet, I get nothing to do. Any help with this error? Error: Could not…
James
  • 193
  • 2
  • 4
  • 15
0
votes
1 answer

How does Puppet pass MFA?

If you need a password to copy files from one server to another, how does Puppet do it? Copying from master to client. What't the technical detail? I am assuming it has to do with those permission codes?
James
  • 193
  • 2
  • 4
  • 15
0
votes
0 answers

Executing a Puppet Virtualhost with Apache2

I have a server nearly running but when I execute the puppet file for the virtual host. I get: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. I've tried modifying the apache2.conf…
Alec Walczak
  • 427
  • 1
  • 5
  • 17
0
votes
1 answer

graphite puppet error while installation

Getting the below error while installing graphite server using puppet The pupet module installed for graphite puppet module install dwerder-graphite This is the content of graphite.pp cat graphite.pp The output class {'graphite': } This the…
anish
  • 6,884
  • 13
  • 74
  • 140
0
votes
3 answers

Put an Include directive inside Directory in a vhost with puppet

Is there any way to create a "Directory" in a vhost and put inside an "Include" with Puppet? Like this: Options Indexes FollowSymLinks MultiViews AllowOverride None Require all granted Include…
jotacor
  • 2,878
  • 1
  • 18
  • 19
0
votes
1 answer

Can I take create_resources as requirement to exec command

Can I use create_resources as requirement in a exec command in puppet class $configFileDetails = getConfigFileDetails($allConfigurations['configurations']) create_resources(change_config::fill_template, $configFileDetails) …
Malintha
  • 4,512
  • 9
  • 48
  • 82
0
votes
1 answer

Cannot create files inside defined type

I want to create files inside a defined type. I have tried it several ways but couldn't solve the issue. Let me explain you my case. I am creating some files using temapltes and I could do that operation perfectly. I am using below ruby function to…
Malintha
  • 4,512
  • 9
  • 48
  • 82
0
votes
1 answer

Puppet : How to get logs in to the same terminal in agent side

I am executing a shell script in the puppet agent side. If I execute the same shell script in my local machine it will print several log messages to terminal. But when I execute it in the puppet agent it does not print any log into the agent…
Malintha
  • 4,512
  • 9
  • 48
  • 82
0
votes
0 answers

Puppet : Use external facts inside templates

I have defined some key value pairs in /etc/facter/facts.d/value.txt file. I could use those keys inside my init.pp script and successfully for the values using: ${key1} I want to get those values inside my template file. I have used: <%= @key1…
Malintha
  • 4,512
  • 9
  • 48
  • 82
0
votes
2 answers

What is the puppet way to send configurations along with request from the puppet agent

I want to make some dynamic configurations details in the puppet master side before it makes a deployment on puppet agent. So I want to send significant amount of configuration details along with the request of the agent to master. Is there a proper…
Malintha
  • 4,512
  • 9
  • 48
  • 82
0
votes
1 answer

How to assign initial_token value using puppet in cassandra

I want to assign the initial_token value in cassandra.yaml file using puppet automation. Can any one please tell me how to do it. I cannot use virtual nodes because vnodes are not supported for hadoop and solr nodes. Example: If I had an array…
0
votes
2 answers

how to ? automatic installation hdp with ambari for nightly build (CI)

I am searching for instruction how I can manage to install hortonworks (hdp) cluster, using ambari as a silent installation. I saw in the manual of ambari-server that there are option to do it but it used the default values. amabri-server setup…