|
[01:56] <smoser> harlowja, https://code.launchpad.net/~smoser/cloud-init/run-status/+merge/208056 |
|
[01:56] <smoser> i'd like your thoguhts on that. |
|
[01:57] <smoser> perhaps you have a way to make it do roughly equivalent mbut more configurable (currently just hard coded paths) |
|
[01:57] <harlowja> hmmm |
|
[01:57] <harlowja> scanning |
|
[01:57] <smoser> the goal is to allow something other than "post your logs" to debug with :) |
|
[01:58] <harlowja> :) |
|
[02:01] <smoser> i'm not un-happy with it, other than: |
|
[02:01] <smoser> a.) it kind of relies on /run being tmpfs |
|
[02:01] <smoser> b.) paths aren't configurable |
|
[02:02] <harlowja> hmmm, ya, is /run on freebsd (not really sure) |
|
[02:03] <harlowja> u could also hook in the callback into stages.Modules |
|
[02:05] <smoser> stages.modules ? |
|
[02:06] <harlowja> ya, just an idea |
|
[02:06] <harlowja> could update the json everytime that thing runs a module |
|
[02:07] <harlowja> why json, not yaml?? :-P |
|
[02:11] <harlowja> only other thing i can think of is it seems like status_wrapper could take some more options in, |
|
[02:11] <harlowja> in a way its like status_wrapper should have 3 functors |
|
[02:11] <harlowja> 1, pre-function stuff |
|
[02:11] <harlowja> 2, the actual function called |
|
[02:11] <harlowja> 3, the post-function stuff |
|
[02:12] <harlowja> status_pre, status_go, status_post |
|
[02:12] <harlowja> or something |
|
=== ctracey|away is now known as ctracey |
|
[03:41] <smoser> harlowja, yeah, that is a simplification. |
|
[03:41] <smoser> i think i'm gonna merge whats there though. |
|
=== harlowja is now known as harlowja_away |
|
=== harlowja_away is now known as harlowja |
|
[04:32] <harlowja> smoser okdokie |
|
=== harlowja is now known as harlowja_away |
|
=== harlowja_away is now known as harlowja |
|
[18:08] <harlowja> smoser do u remember which branch had the jsonschema code i was working on a while ago?? think i lost it ,lol |
|
[18:09] <smoser> no. i dont remember. |
|
[18:10] <harlowja> np |
|
[18:36] <harlowja> smoser i should probably restart that work, adding jsonschema validation for the different modules, still think thats useful? |
|
[18:36] <smoser> i thikn useful, yeah, but not going to get into 14.04. |
|
[18:40] <harlowja> np |
|
|