diff options
author | Jorie Tappa <jorie@jorietappa.com> | 2018-08-23 13:34:54 -0700 |
---|---|---|
committer | Jorie Tappa <jorie@jorietappa.com> | 2018-08-23 13:34:54 -0700 |
commit | c14a79b181595d265f1c726f646cfab491d02170 (patch) | |
tree | 8e57b6df9731036a4e78a87695aa6569234fe229 /lib/puppet/type | |
parent | 1481511f70af1b30b67943311a4979bb97d68f52 (diff) | |
download | puppet-cron_core-c14a79b181595d265f1c726f646cfab491d02170.tar.gz puppet-cron_core-c14a79b181595d265f1c726f646cfab491d02170.tar.bz2 |
Update readme and description
Diffstat (limited to 'lib/puppet/type')
-rw-r--r-- | lib/puppet/type/cron.rb | 10 |
1 files changed, 5 insertions, 5 deletions
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 |