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
1 answer

Why would a Puppet module's main class be included by a sub-class?

Many areas in the puppetlabs/apache module such as vhost.pp you can see error handling that requires the base class to be included first because the class in question uses the base class in its' parameter defaults. Here in dev.pp there are no…
Matt Bobke
  • 13
  • 3
1
vote
1 answer

Using Puppet to install Azure client to all nodes

​First, sorry for asking basic and quite silly questions. I'm very newbie and do not have much experience in this kind of operation. I have read many documents from official site, tutorialspoint(gave me basic concepts of how puppet work) site and…
Banthita Limwilai
  • 181
  • 1
  • 2
  • 10
1
vote
1 answer

puppet update a configuration file only if it is updated

I have configured puppet master and agent for a small cluster. I know that for file transfer, I have to user file resource of puppet and it will overwrite existing file and if given it will also restart the service. Is there a way to update file on…
Hafiz Muhammad Shafiq
  • 8,168
  • 12
  • 63
  • 121
1
vote
1 answer

Puppet Apache mod_alias config

I am trying to pass parameters to a class but am running into a Duplicate declaration error. The docs state this: https://github.com/puppetlabs/puppetlabs-apache#class-apachemodalias The following yields: Evaluation Error: Error while evaluating a…
mrbnetworks
  • 2,547
  • 3
  • 17
  • 10
1
vote
2 answers

Puppetlabs-Apache: enable both 80 and 443 for virtualhost

I'm relatively new to puppet and currently working on 'puppetlabs-apache' module. I'm missing something while setting both ssl and non-ssl on a virtual-host. Manifest applied: include apache include apache::mod::rewrite #apache::vhost {…
1
vote
1 answer

puppetlabs-apache dependency cycles

same question on Server's Fault : I'm trying to include puppetlabs-apache module (v1.10.0) in my deploiement, i'm having an issue just by running with default configs puppet apply -e 'include apache' or puppet apply -e 'class { 'apache': …
M. Gara
  • 1,023
  • 2
  • 14
  • 27
1
vote
2 answers

How to append file in puppet

I have puppet code for nginx.conf . The file is created by source => puppet://path to file which contain the required file contents. I don't want to disturb this file because it is for default setting. I have to append this nginx.conf file which can…
1
vote
1 answer

Setting up a three tier environment in puppet

These are my files: Nodes.pp file site.pp file I need to setup the infrastructure in the diagram, and I would like to use Puppet Automation in order to do so. I would need to,  Create 4 VMs, one for DB, 1 web server, 1 load balancer, 1 master Set…
1
vote
1 answer

How to install and run a script in Puppet

I am new to Puppet..I am trying to install a shell script and exceute it using Puppet. The shell script after running creates another conf file and places in a specific location /usr/local/conf/app.conf. How can I write a puppet code to execute this…
Mark
  • 31
  • 1
  • 1
  • 7
1
vote
1 answer

puppetlabs/apache: Invalid relationship: File[/etc/httpd/conf/httpd.conf]

I just pulled the puppetlabs-apache git repository since a few months and when I run puppet I get the message: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[/etc/httpd/conf/httpd.conf] {…
1
vote
1 answer

puppet apply command without root access in ubuntu

I installed puppet client in ubuntu and I am trying to execute my nexus artifact puppet and deployment files after hudson release process without root access. How to execute "puppet apply" command without root access in ubuntu ?
Kenshin
  • 1,030
  • 2
  • 12
  • 41
1
vote
1 answer

Puppet invalid ressource

I'm very new to DevOps tools and I'm starting to learn Puppet. I found this example at this link nice to start with for my purpose : configuring an Appache server with Puppet :…
Alex
  • 107
  • 9
1
vote
2 answers

Does Puppet Dashboard work in Ruby Passenger 5?

Has anyone encountered problem of running Puppet Dashboard on Ruby Passenger 5? If yes does it really work with that Passenger version? I've already setup and configured the necessary files required to run Puppet Dashboard via Passenger. Currently,…
Melvin Mah
  • 105
  • 2
  • 13
1
vote
0 answers

Install apache module with puppet on Debian 7

My problem is during the provisionning of my Vagrant VM using puppet. The error is : ==> default: err: /Stage[main]//Service[apache2]: Could not evaluate: Could not find init script for 'apache2' My puppetFile is the following default.pp : Exec…
Guillaume Fache
  • 813
  • 10
  • 21
1
vote
3 answers

Run eval `ssh-agent -s` gives errors

Trying to run the command eval `ssh-agent -s with the command option puppet which gives me these error: exec { 'eval' : command => "eval `ssh-agent -s`", } Gives me this error: Error: Validation of Exec[eval] failed: 'eval `ssh-agent…
user3270211
  • 915
  • 4
  • 20
  • 42