File: packages.pp

package info (click to toggle)
puppet-module-camptocamp-openssl 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 352 kB
  • sloc: ruby: 1,148; sh: 15; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# == Class: openssl::packages
#
# Sets up packages for openssl
class openssl::packages {
  package { 'openssl':
    ensure => $openssl::package_ensure,
  }

  if $::osfamily == 'Debian' {
    package { 'ca-certificates':
      ensure => $openssl::ca_certificates_ensure,
      before => Package['openssl'],
    }

    exec { 'update-ca-certificates':
      path        => $::path,
      refreshonly => true,
      require     => Package['ca-certificates'],
    }
  }
}