From c14a79b181595d265f1c726f646cfab491d02170 Mon Sep 17 00:00:00 2001 From: Jorie Tappa Date: Thu, 23 Aug 2018 13:34:54 -0700 Subject: Update readme and description --- lib/puppet/type/cron.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/puppet') diff --git a/lib/puppet/type/cron.rb b/lib/puppet/type/cron.rb index fa203c9..e07ce70 100644 --- a/lib/puppet/type/cron.rb +++ b/lib/puppet/type/cron.rb @@ -4,16 +4,16 @@ require 'puppet/util/filetype' Puppet::Type.newtype(:cron) do @doc = <<-'EOT' - Installs and manages cron jobs. Every cron resource created by Puppet + Installs and manages cron jobs. Every cron resource created by Puppet requires a command and at least one periodic attribute (hour, minute, - month, monthday, weekday, or special). While the name of the cron job is + month, monthday, weekday, or special). While the name of the cron job is not part of the actual job, the name is stored in a comment beginning with `# Puppet Name: `. These comments are used to match crontab entries created by Puppet with cron resources. If an existing crontab entry happens to match the scheduling and command of a - cron resource that has never been synced, Puppet will defer to the existing - crontab entry and will not create a new entry tagged with the `# Puppet Name: ` + cron resource that has never been synced, Puppet defers to the existing + crontab entry and does not create a new entry tagged with the `# Puppet Name: ` comment. Example: @@ -43,7 +43,7 @@ Puppet::Type.newtype(:cron) do minute => '*/10', } - An important note: _the Cron type will not reset parameters that are + **Important:** _The Cron type will not reset parameters that are removed from a manifest_. For example, removing a `minute => 10` parameter will not reset the minute component of the associated cronjob to `*`. These changes must be expressed by setting the parameter to -- cgit v1.2.3