Migrate to puppet-httpd module
puppet-httpd is the openstack-infra version of puppetlabs-apache (0.0.4) release. This patchset will remove the puppetlabs-apache namespace from -infra allowing for possible future patchsets to use newer puppetlabs-apache modules. Change-Id: Iedd42f9fb628f1fbf6c4916a5811fd02860f389f Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
		@@ -254,9 +254,9 @@ class nodepool (
 | 
			
		||||
 | 
			
		||||
  if $enable_image_log_via_http == true {
 | 
			
		||||
    # Setup apache for image log access
 | 
			
		||||
    include apache
 | 
			
		||||
    include ::httpd
 | 
			
		||||
 | 
			
		||||
    apache::vhost { $vhost_name:
 | 
			
		||||
    ::httpd::vhost { $vhost_name:
 | 
			
		||||
      port     => 80,
 | 
			
		||||
      priority => '50',
 | 
			
		||||
      docroot  => 'MEANINGLESS_ARGUMENT',
 | 
			
		||||
 
 | 
			
		||||
@@ -3,14 +3,14 @@
 | 
			
		||||
 | 
			
		||||
  DocumentRoot <%= scope.lookupvar("nodepool::image_log_document_root") %>
 | 
			
		||||
  <Directory <%= scope.lookupvar("nodepool::image_log_document_root") %>>
 | 
			
		||||
    Options <%= scope.lookupvar("apache::params::options") %>
 | 
			
		||||
    Options <%= scope.lookupvar("httpd::params::options") %>
 | 
			
		||||
    AllowOverride None
 | 
			
		||||
    Require all granted
 | 
			
		||||
</Directory>
 | 
			
		||||
 | 
			
		||||
  ErrorLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/nodepool_error.log
 | 
			
		||||
  ErrorLog /var/log/<%= scope.lookupvar("httpd::params::apache_name") %>/nodepool_error.log
 | 
			
		||||
  LogLevel warn
 | 
			
		||||
  CustomLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/nodepool_access.log combined
 | 
			
		||||
  CustomLog /var/log/<%= scope.lookupvar("httpd::params::apache_name") %>/nodepool_access.log combined
 | 
			
		||||
  ServerSignature Off
 | 
			
		||||
 | 
			
		||||
  AddType text/plain .log
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user