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

Maintain sub-folder and files permission as in source: puppet

I have configured a master- client setup for puppet. I have a complete project that I have to copy to agents. There are some scripts (executable) and some jars and some configuration files. Now When I copy copy project, all permissions are changed.…
Hafiz Muhammad Shafiq
  • 8,168
  • 12
  • 63
  • 121
0
votes
2 answers

Puppet install apache ubuntu

I use puppet to install apache with the following code in the manifest. class{ 'apache': docroot => '/var/www', # ubu default, ignored default_vhost => false, default_ssl_vhost => false, service_enable => false, …
Sarath S
  • 373
  • 3
  • 6
  • 17
0
votes
1 answer

Unable to restart puppetserver service

I'm setting up puppetserver on a machine running debian. When I restart the server using the following command sudo service puppetserver restart I'm getting the following error Job for puppetserver.service failed because the control process exited…
tourist
  • 4,165
  • 6
  • 25
  • 47
0
votes
2 answers

Facing issues in puppetserver - puppet-agent configuration

I am trying to set up Puppet for DevOps. I have puppet server in Ubuntu 14.04 and puppet-agent in Windows 10. When I am generating certificate for the first time from puppet-agent (Windows 10) the SSL certficate is generating without any issues and…
0
votes
1 answer

Execute command on all puppet nodes

I would like execute below simple command in all of my nodes which returns me whether symbolic links are available using puppet facter. 'ls -l | grep lrw | grep data' How to run this command and collect the results from one client ? I do not have…
0
votes
1 answer

Automatically find right intermediate CA certificate

We are using Puppet to configure multiple clusters running Apache HTTPD using the Apache module from Puppetlabs. All certificates are stored in a git repository Puppet has already access to (e.g. puppet://files-host/path/to/certs/${fqdn}.crt). Right…
Programie
  • 141
  • 6
0
votes
1 answer

Elide Puppet parameters based on conditional

I have the following resource declared in a Puppet define. There are some parameters beginning with auth_* that control authentication. I'd like to be able to pass that block of parameters, or not pass them, based on the value of a boolean…
amoe
  • 4,473
  • 4
  • 31
  • 51
0
votes
0 answers

MCollective Trigger Puppet agent from server failing

I'm using Puppet Opensource 4.6.1 with MCollective 2.9.0. I need to trigger the Puppet agent from the Puppet Master. However, I'm unable to find the puppet runonce command. Was this command deprecated, or is there a new command to trigger the Puppet…
Dev
  • 371
  • 1
  • 4
  • 19
0
votes
2 answers

Installing nodejs via puppet fails

Basically I want to do the following using puppet: 1.sudo yum install nodejs npm --enablerepo=epel setup nodejs evironment(latest stable version) on puppet agent 2.sudo yum install git-(install git) 3.git clone…
nad87563
  • 3,672
  • 7
  • 32
  • 54
0
votes
1 answer

Puppet error : could not retrieve catalog from remote server: SSL_connect returned=1 errno=0

I am trying to setup puppet master and puppet agent in aws ec2 instances-linux ami. when i run my puppet agent to generate the certificate for the master to sign i encounter the below error. Puppet Master: [root@ip-10-**-*-*** /]# sudo yum install…
nad87563
  • 3,672
  • 7
  • 32
  • 54
0
votes
2 answers

apache not starting and does not have proper message on logs

I have tried to configure apache using puppet. When I try to start apache it is failing with out any proper error message. I am not figure out why it is failing. I tried executing the below commands it just say failed to start and does not show any…
Harry
  • 445
  • 3
  • 11
  • 28
0
votes
1 answer

puppet installation error -enable repo

I am Enabling the official Puppet Labs collection repository with this command: when i try to do : sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm error: Retrieving…
nad87563
  • 3,672
  • 7
  • 32
  • 54
0
votes
0 answers

How to install Apache with PHP 7.0 on Ubuntu 16.04 using puppetlabs-apache

I moved the question to the server fault site. I want to install Apache with PHP 7.0 on Ubuntu 16.04 using Puppet Labs Apache module. Following the documentation the module supports Ubuntu 16.04. There is a ticket related with PHP 7.0 support and…
Victor Smirnov
  • 3,450
  • 4
  • 30
  • 49
0
votes
0 answers

Heira Puppet erb syntax for collection object

Our Yaml. scopeConfigs: - {resource: '/users', scopes: ['demographicProfile','basicProfile']} Id like to know how to declare this on heira also on erb Ive tried putting it on heira scope_configs: "[{'resource':'/users', 'scopes':…
0
votes
2 answers

how to edit apache2.conf file without disturbing puppetlabs/apache module default settings?

I have installed the puppetlabs-apache module. I am able to manage the vhosts but now I want to change/add contents of the default apache2.conf file of my client server. Specifically, I have to add the lines Header edit Set-Cookie ^(.*)$…