Add cleanup task
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
## TBC - Next
|
||||
|
||||
- Adds `cleanup` task
|
||||
|
||||
|
||||
## 2018-10-14 Release 0.5.0
|
||||
|
||||
- Update package install error handling for compatbility with
|
||||
|
||||
10
README.md
10
README.md
@@ -314,6 +314,16 @@ using the correct locale.
|
||||
|
||||
Overrides the detection of the operating system on Sabayon systems to `Sabayon`.
|
||||
|
||||
### Tasks
|
||||
|
||||
This module includes tasks for ad-hoc use with Puppet Bolt or Choria.
|
||||
|
||||
### `cleanup`
|
||||
|
||||
This task executes `equo cleanup` command on the target nodes, which frees up
|
||||
disk space used by cached package downloads. It does not accept any parameters,
|
||||
and does not support running noop mode.
|
||||
|
||||
## Limitations
|
||||
|
||||
This module is actively used by the developer against current Sabayon versions.
|
||||
|
||||
7
tasks/cleanup.json
Normal file
7
tasks/cleanup.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"puppet_task_version": 1,
|
||||
"supports_noop": false,
|
||||
"description": "Run `equo cleanup` on target nodes to free up disk space used by downloaded packages",
|
||||
"parameters": {
|
||||
}
|
||||
}
|
||||
3
tasks/cleanup.sh
Normal file
3
tasks/cleanup.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
/usr/bin/equo cleanup
|
||||
|
||||
Reference in New Issue
Block a user