Commit 32c83d9a authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

ensure that the ca-certificates package is instaled

parent ebba1983
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8,6 +8,9 @@ define su_apache::cert::root(
  Enum['present', 'absent'] $ensure = 'present'
) {

  # Make sure the ca-certificates package is installed.
  ensure_packages(['ca-certificates'], {ensure => present})

  file { "/etc/ssl/certs/${name}.pem":
    ensure  => $ensure,
    source  => "puppet:///modules/su_apache/etc/ssl/certs/${name}.pem",