Add cleanup task

This commit is contained in:
2019-05-08 22:10:09 +01:00
parent f95631312f
commit 0291282ee2
4 changed files with 25 additions and 0 deletions

7
tasks/cleanup.json Normal file
View 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
View File

@@ -0,0 +1,3 @@
#!/bin/sh
/usr/bin/equo cleanup