Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 99a27877c6
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (21 sloc) 0.77 kb
class puppetmaster::update_crl {
include config
if $config::crl_sync_url != "" {
case $operatingsystem {
CentOS: {
file {
"/etc/puppet/update_crl.sh":
mode => 0755,
require => Class["packages::diffutils"],
content => template("puppetmaster/update_crl.sh.erb");
"/etc/cron.d/update_crl.cron":
require => File["/etc/puppet/update_crl.sh"],
content => template("puppetmaster/update_crl.cron.erb");
}
}
default: {
fail("puppetmaster::service support missing for $operatingsystem")
}
}
}
}
Jump to Line
Something went wrong with that request. Please try again.