Remove documentation for apt::cron::download, and document the new parameter to apt::cron::dist_upgrade.
This commit is contained in:
parent
f035fd1621
commit
c439b8a524
1 changed files with 7 additions and 18 deletions
25
README.md
25
README.md
|
@ -8,7 +8,6 @@
|
||||||
* [Classes](#classes)
|
* [Classes](#classes)
|
||||||
* [apt](#apt)
|
* [apt](#apt)
|
||||||
* [apt::apticron](#apt-apticron)
|
* [apt::apticron](#apt-apticron)
|
||||||
* [apt::cron::download](#apt-cron-download)
|
|
||||||
* [apt::cron::dist_upgrade](#apt-cron-dist_upgrade)
|
* [apt::cron::dist_upgrade](#apt-cron-dist_upgrade)
|
||||||
* [apt::dist_upgrade](#apt-dist_upgrade)
|
* [apt::dist_upgrade](#apt-dist_upgrade)
|
||||||
* [apt::dist_upgrade::initiator](#apt-dist_upgrade-initiator)
|
* [apt::dist_upgrade::initiator](#apt-dist_upgrade-initiator)
|
||||||
|
@ -324,29 +323,19 @@ Example usage:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
## apt::cron::download<a name="apt-cron-download"></a>
|
|
||||||
|
|
||||||
This class sets up `cron-apt` so that it downloads upgradable packages, does not
|
|
||||||
actually do any upgrade and emails when the output changes.
|
|
||||||
|
|
||||||
`cron-apt` defaults to run at 4 AM. You may want to set the
|
|
||||||
`$apt_cron_hours` variable before you include the class: its value will
|
|
||||||
be passed as the "hours" parameter of a cronjob. Example:
|
|
||||||
|
|
||||||
# Run cron-apt every three hours
|
|
||||||
$apt_cron_hours = '*/3'
|
|
||||||
|
|
||||||
Note that the default 4 AM cronjob won't be disabled.
|
|
||||||
|
|
||||||
|
|
||||||
## apt::cron::dist_upgrade<a name="apt-cron-dist_upgrade"></a>
|
## apt::cron::dist_upgrade<a name="apt-cron-dist_upgrade"></a>
|
||||||
|
|
||||||
This class sets up cron-apt so that it dist-upgrades the system and
|
This class sets up cron-apt so that it dist-upgrades the system and
|
||||||
emails when upgrades are performed.
|
emails when upgrades are performed.
|
||||||
|
|
||||||
See [apt::cron::download](#apt-cron-download) above if you need to run `cron-apt` more often
|
`cron-apt` defaults to run at 4 AM. You may want to set the
|
||||||
than once a day.
|
`$cron_hours` class parameter before you include the class: its value will
|
||||||
|
be passed as the "hours" parameter of a cronjob. Example:
|
||||||
|
|
||||||
|
# Run cron-apt every three hours
|
||||||
|
class { 'apt::cron::dist_upgrade': cron_hours => '*/3' }
|
||||||
|
|
||||||
|
Note that the default 4 AM cronjob won't be disabled.
|
||||||
|
|
||||||
## apt::dist_upgrade<a name="apt-dist_upgrade"></a>
|
## apt::dist_upgrade<a name="apt-dist_upgrade"></a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue