Add support for routines; state messages

This commit is contained in:
garrettmills
2020-04-15 09:11:10 -05:00
parent e401809ad5
commit 8319859828
36 changed files with 1146 additions and 22 deletions

View File

@@ -0,0 +1,20 @@
const login_config = {
type: 'checks',
hosts: ['core', 'localhost', 'edge'],
steps: [
{
type: 'os.alive',
host: 'core',
},
{
type: 'os.alive',
host: 'edge',
},
{
type: 'os.alive',
host: 'localhost',
},
],
}
module.exports = exports = login_config

View File

@@ -0,0 +1,18 @@
const tmpdir_config = {
type: 'checks',
hosts: ['core', 'localhost'],
steps: [
{
type: 'fs.directory',
host: 'core',
path: '/tmp/glmdev',
},
{
type: 'fs.directory',
host: 'localhost',
path: '/tmp/glmdev',
},
],
}
module.exports = exports = tmpdir_config

View File

@@ -0,0 +1,16 @@
const updates_config = {
type: 'checks',
hosts: ['core', 'localhost'],
steps: [
{
type: 'package.updates',
host: 'core',
},
{
type: 'package.updates',
host: 'localhost',
},
],
}
module.exports = exports = updates_config