diff options
author | tv <tv@shackspace.de> | 2014-08-11 21:41:42 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2014-08-11 21:41:42 +0200 |
commit | b62400bcfa8f5551ea8c3ef7c5f2aecf008bd7f0 (patch) | |
tree | 54b8011408b4a299aa743983c2ebbe308cb3316b /Reaktor/config.py | |
parent | bace29e195f728d9fcc31932913833ea31d8e531 (diff) |
Reaktor nag: add support for service inspection
Diffstat (limited to 'Reaktor/config.py')
-rw-r--r-- | Reaktor/config.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Reaktor/config.py b/Reaktor/config.py index 9feecbaf..8a83b28e 100644 --- a/Reaktor/config.py +++ b/Reaktor/config.py @@ -21,6 +21,12 @@ irc_channels = [ admin_file=workdir+'/admin.lst' auth_file=workdir+'/auth.lst' +nag_env={ + 'hosts_repo': 'https://github.com/krebscode/hosts', + 'services_repo': 'gitolite@localhost:services', + 'inspect_services': 'false' +} + config_filename = abspath(__file__) # me is used, so name cannot kill our patterns below @@ -58,10 +64,7 @@ public_commands = [ default_command('tell', cmd='tell-on_privmsg', env={ 'state_file': workdir + '/tell.txt' }), - default_command('nag',env={ - 'hosts_repo': 'https://github.com/krebscode/hosts', - 'services_repo': 'gitolite@localhost:services' - }), + default_command('nag', env=nag_env), simple_command('identify', env={ 'config_filename': config_filename }), @@ -89,10 +92,7 @@ on_ping = [ { 'capname': 'nag', 'argv': [ 'commands/nag' ], - 'env': { - 'hosts_repo': 'https://github.com/krebscode/hosts', - 'services_repo': 'gitolite@localhost:services' - }, + 'env': nag_env, 'targets': irc_channels } ] |