Skip to content

Instantly share code, notes, and snippets.

@rasputnik
Created November 17, 2010 10:07
Show Gist options
  • Select an option

  • Save rasputnik/703220 to your computer and use it in GitHub Desktop.

Select an option

Save rasputnik/703220 to your computer and use it in GitHub Desktop.
cron { "logshipping.cronjob":
command => $logshippingscript,
require => File[$logshippingscript],
hour => 15,
minute => 01,
user => "apache"
}
file { $logshippingscript :
owner => apache,
mode => 500,
content => template("httpd/$logshippingscript.erb")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment