Commit 095ceae2 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

change where certificate files should be sought

We have added a new "local" module cert-files where we will put all
certificates. So, we had to change how the apache::cert classes find
these files.
parent b3793899
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ define apache::cert::comodo(
    # Install the public certificate.
    file { "/etc/ssl/certs/${name}.pem":
        ensure  => $ensure,
        source  => "puppet:///apache/certs/${id}",
        source  => "puppet:///modules/cert-files/${id}",
        require => $operatingsystem ? {
            'debian' => Package['ca-certificates'],
            'ubuntu' => Package['ca-certificates'],
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ define apache::cert::other(
    # Install the public certificate.
    file { "/etc/ssl/certs/${name}.pem":
        ensure  => $ensure,
        source  => "puppet:///apache/certs/${id}",
        source  => "puppet:///modules/cert-files/${id}",
        require => $operatingsystem ? {
            'debian' => Package['ca-certificates'],
            'ubuntu' => Package['ca-certificates'],