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

simple puppet script to copy files

Hi I'm new to puppet and trying to work on a sample to copy files from one location to another location. Any sample script to do that? Ex: I've my file at d:\temp\test.txt and I want to copy this file to E:\mycopy\ folder.
jestges
  • 3,686
  • 24
  • 59
  • 95
6
votes
1 answer

Does Puppet Master-Client certificate ever expire?

During initial configuration of the Puppet agent, the agent obtains a security certificate signed by an authority recognized by the master -- most often the master itself -- with which it will subsequently identify itself to the master. Does this…
James
  • 193
  • 2
  • 4
  • 15
4
votes
1 answer

how to add two vm hosts to foreman puppet master

I recently installed foreman puppet in ubuntu 14.04 LTS which I am running in virtual box. I have configured its FQDN as 127.0.1.1 ubuntu.localhost.com ubuntu. I successfully installed the foreman puppet in it. so we run puppet master here and for…
4
votes
1 answer

Securing SSL Keys (for production web application) with Puppet and Hiera

I'd like to know what is the best way to secure SSL keys and certificates for web applications. I am using the roles/profiles pattern. Here is the scenario: I have a web application. There is a Puppet module that sets up the application. This…
3
votes
1 answer

Puppet agent not able download code from Git

I have puppet master setup on ubuntu 14.4 VM. Puppet agent as Windows 8. here is my site.pp file. package { 'git' : ensure => present, } vcsrepo { "C:\\GitCode": ensure => present, provider => git, source => "git://.git", } It will…
pm86
  • 230
  • 2
  • 15
3
votes
1 answer

Importing existing puppet projects into Geppetto?

I was working on Puppet modules and most of the edits were via 'vim' commands. I read about Geppetto that seemed very promising, so I downloaded and installed it. I was able to create new Puppet project, but it seems that I can not import already…
krinker
  • 1,072
  • 1
  • 9
  • 23
3
votes
2 answers

Customize default vhost in puppetlabs-apache

I'm trying to configure apache using puppet and puppetlabs-apache module (https://github.com/puppetlabs/puppetlabs-apache). Does anyone know is it possible to change docroot of default vhost from /var/www to something like /var/www/default? Thanks!
Eugeniy Petrov
  • 101
  • 1
  • 3
  • 6
3
votes
1 answer

Could not retrieve facts from inventory service: SSL_connect returned=1 errno=0 state=SSLv3

I can see following error in puppet Enterprise Console:: Could not retrieve facts from inventory service: SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: sslv3 alert certificate revoked Also I followed following steps:: I…
Pritam
  • 1,288
  • 5
  • 23
  • 40
3
votes
3 answers

Install Apache from Puppetlabs on Vagrant

I'm new to this and I think I'm just missing one thing to grasp what the problem really is. I understand that I can create my own puppet modules that will install certain packpages to a vagrant instance. There are also some ready-made ones, like…
Maciej Gurban
  • 5,615
  • 4
  • 40
  • 55
2
votes
1 answer

Platform Independent Manifest to install and run apache2 or httpd

I need to write a single manifest as install-apache.pp that will install apache2 package if it is Debian based system or httpd package if it is RedHat based system Below is the code; this works in CentOS but does not work in Ubuntu. case…
Smi
  • 183
  • 1
  • 4
  • 12
2
votes
1 answer

Puppet Apache Expires Code

We moving to using Puppet to manage. Using the apache module (from Puppet). Trying to figure out syntax to make puppet produce something like: ExpiresActive On ExpiresDefault "access plus 0 seconds" …
JeffJak
  • 2,008
  • 5
  • 28
  • 40
2
votes
1 answer

runintervel in puppet - Will old catalog will be applied again when there is no change in manifest?

I have runinterval=180s in my puppet.conf file (agent node) Consider there are no changes in my manifest file. When the agent polls after 180 seconds, and there are no changes in the manifest file, Will the old catalog will be applied once again? My…
Vinoth
  • 21
  • 3
2
votes
3 answers

how to upgrade puppet module in target-dir

I've installed puppet modules as follows % puppet module install puppetlabs-apache --environment production --target-dir /etc/puppet/environments/production/modules How can I upgrade the puppetlabs-apache module? puppet module upgrade tries to…
manish
  • 315
  • 1
  • 3
  • 9
2
votes
0 answers

Class not taken into account in Puppet run

I am creating a "site module" to manage multiple VM. I used this project as a template : https://github.com/nvalentine-puppetlabs/puppet-site which is based on a convention described by Craig Dunn at: http://www.craigdunn.org/2012/05/239/ I am…
null
  • 3,959
  • 1
  • 21
  • 28
2
votes
1 answer

Puppet ssl errors " SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed"

I am trying to setup puppet master and puppetdb on same node using puppetdb module. When I try to run puppet agent -t, I see following erorr notice: Unable to connect to puppetdb server (ip-10-172-161-25.us-west-1.compute.internal:8081): SSL_connect…
Chucks
  • 899
  • 3
  • 13
  • 29
1
2 3 4 5 6