Add unpack state, command not found errors

This commit is contained in:
garrettmills
2020-03-03 21:06:59 -06:00
parent 9291c52383
commit ec8047361c
6 changed files with 91 additions and 7 deletions

View File

@@ -12,15 +12,15 @@ const { Service } = require('flitter-di')
class StatesService extends Service {
static #state_map = {
// TODO apache and nginx states - virtual host, reverse proxy
// TODO file pack state - zip, tarball
// TODO package repository states - import keys, install repository
// TODO service manager states - service enabled, service installed, running, stopped
// TODO service manager states - service enabled, service installed, stopped
// TODO git states - clone repo, ref checked out
// TODO package states - installed, uninstalled
// TODO package states - uninstalled
'fs.file': require('../classes/state/fs/FileState'),
'fs.directory': require('../classes/state/fs/DirectoryState'),
'fs.unpack': require('../classes/state/fs/UnpackState'),
'fs.pack': require('../classes/state/fs/PackState'),
'fs.permission': require('../classes/state/fs/PermissionState'),
'fs.ownership': require('../classes/state/fs/OwnerState'),