Permalink
Browse files

openssl: added support for various distributions.

  • Loading branch information...
1 parent 518e4ae commit 9c76d531367e856016b1e0473e4c403f0542f83c @mfournier mfournier committed Nov 17, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 manifests/init.pp
View
6 manifests/init.pp
@@ -11,7 +11,7 @@
ensure => present
}
- if $operatingsystem == "Debian" {
+ if $operatingsystem =~ /Debian|Ubuntu|kFreeBSD/ {
package { "ca-certificates":
ensure => present,
@@ -29,8 +29,8 @@
mode => 0644,
owner => "root",
path => $operatingsystem ? {
- Debian => "/etc/ssl/certs/ca-certificates.crt",
- RedHat => "/etc/pki/tls/certs/ca-bundle.crt",
+ /Debian|Ubuntu|kFreeBSD/ => "/etc/ssl/certs/ca-certificates.crt",
+ /RedHat|CentOS|Fedora/ => "/etc/pki/tls/certs/ca-bundle.crt",
},
require => Package["openssl"],
}

0 comments on commit 9c76d53

Please sign in to comment.