Skip to content

Commit

Permalink
Move /etc/httpd/conf.d/{,10-}pulp.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
wbclark committed Dec 13, 2019
1 parent e713357 commit 70de647
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions manifests/apache.pp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}

# This file is installed by pulp-server but we have everything in the above vhost
file {'/etc/httpd/conf.d/pulp.conf':
file {'/etc/httpd/conf.d/10-pulp.conf':
ensure => file,
content => "# This file is managed by puppet, do not alter.\n",
owner => 'root',
Expand All @@ -125,7 +125,7 @@
notify => Service['httpd'],
}
} else {
file {'/etc/httpd/conf.d/pulp.conf':
file {'/etc/httpd/conf.d/10-pulp.conf':
ensure => file,
content => template('pulp/pulp.conf.erb'),
owner => 'root',
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/pulp_apache_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
end

it { is_expected.to contain_file('/etc/httpd/conf.d/pulp-vhosts80/')}
it { is_expected.to contain_file('/etc/httpd/conf.d/pulp.conf') }
it { is_expected.to contain_file('/etc/httpd/conf.d/10-pulp.conf') }

it 'should configure apache server with ssl' do
is_expected.to contain_apache__vhost('pulp-https').with({
Expand Down
2 changes: 1 addition & 1 deletion templates/server.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ rsa_pub = <%= scope['pulp::rsa_pub'] %>
#
# cacert: full path to the CA certificate that will be used to sign consumer
# and admin identification certificates; this must match the value of
# SSLCACertificateFile in /etc/httpd/conf.d/pulp.conf
# SSLCACertificateFile in /etc/httpd/conf.d/10-pulp.conf
# Deprecated! - Please note that both cacert and cakey settings will be
# removed in the next major release since Pulp will not sign certificates.
# However, Pulp will continue to support client certificates generated
Expand Down

0 comments on commit 70de647

Please sign in to comment.