=== shardy is now known as shardy_afk | ||
harlowja | smoser hopefully the commit should be ok now :-p | 19:19 |
---|---|---|
harlowja | can do schema stuff later | 19:19 |
harlowja | u think schema stuff way to go? | 19:19 |
smoser | harlowja, i like the 'validate' | 19:33 |
smoser | and i'm fine with 'json-schema' | 19:33 |
harlowja | cool | 19:33 |
smoser | a module wouldn't have to use json-schema | 19:33 |
smoser | but probaly would | 19:33 |
smoser | (and could run the schema and then further test some stuff in its validate) | 19:33 |
smoser | you tihnk it seems sane ? i hope? | 19:34 |
smoser | and did you look at the opennebula stuff ? | 19:34 |
smoser | i'm really leaning towards just pulling their stuff in. | 19:34 |
harlowja | haven't check opennebula stuff recently | 19:34 |
harlowja | :-/ | 19:34 |
harlowja | ya, no need for module to use json-schema, just provide its own validate() method | 19:34 |
harlowja | that the cloud-init stages can call before running | 19:34 |
smoser | why's it called 'json schema' ? | 19:35 |
smoser | really its just 'dict, list, string, int' schema | 19:35 |
smoser | right? | 19:35 |
harlowja | ya | 19:36 |
harlowja | :-p | 19:36 |
harlowja | got me, i guess the RFC is for json , but not really limited to | 19:36 |
harlowja | http://json-schema.org/ | 19:36 |
harlowja | sorry, not RFC, ' IETF published draft ' | 19:37 |
harlowja | *whatever that is, ha | 19:37 |
smoser | harlowja, | 21:04 |
smoser | http://paste.ubuntu.com/6085177/ | 21:04 |
smoser | adding that | 21:04 |
smoser | harlowja, is there a better way to read /sys ? | 21:07 |
smoser | should i use read_file_or_url there ? | 21:07 |
smoser | for mocking / wrapping / test purposes | 21:07 |
smoser | harlowja, please think, respond, and i'll update and merge your code and then we'll have "random seed" support on azure too | 21:09 |
smoser | wee! | 21:09 |
harlowja | haha | 21:15 |
harlowja | weee | 21:16 |
harlowja | smoser why not just load_file ? | 21:18 |
harlowja | u can still mock load_file ot | 21:18 |
harlowja | *out | 21:18 |
smoser | duh. load_file. yeah. | 23:29 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!