/srv/irclogs.ubuntu.com/2013/09/09/#cloud-init.txt

=== shardy is now known as shardy_afk
harlowjasmoser hopefully the commit should be ok now :-p19:19
harlowjacan do schema stuff later19:19
harlowjau think schema stuff way to go?19:19
smoserharlowja, i like the 'validate'19:33
smoserand i'm fine with 'json-schema'19:33
harlowjacool19:33
smosera module wouldn't have to use json-schema19:33
smoserbut probaly would19:33
smoser(and could run the schema and then further test some stuff in its validate)19:33
smoseryou tihnk it seems sane ? i hope?19:34
smoserand did you look at the opennebula stuff ?19:34
smoseri'm really leaning towards just pulling their stuff in.19:34
harlowjahaven't check opennebula stuff recently19:34
harlowja:-/19:34
harlowjaya, no need for module to use json-schema, just provide its own validate() method19:34
harlowjathat the cloud-init stages can call before running19:34
smoserwhy's it called 'json schema' ?19:35
smoserreally its just 'dict, list, string, int' schema19:35
smoserright?19:35
harlowjaya19:36
harlowja:-p19:36
harlowjagot me, i guess the RFC is for json , but not really limited to19:36
harlowjahttp://json-schema.org/19:36
harlowjasorry, not RFC, ' IETF published draft '19:37
harlowja*whatever that is, ha19:37
smoserharlowja, 21:04
smoserhttp://paste.ubuntu.com/6085177/21:04
smoseradding that21:04
smoserharlowja, is there a better way to read /sys ? 21:07
smosershould i use read_file_or_url there ?21:07
smoserfor mocking / wrapping / test purposes21:07
smoserharlowja, please think, respond, and i'll update and merge your code and then we'll have "random seed" support on azure too 21:09
smoserwee!21:09
harlowjahaha21:15
harlowjaweee21:16
harlowjasmoser why not just load_file ?21:18
harlowjau can still mock load_file ot21:18
harlowja*out21:18
smoserduh. load_file. yeah.23:29

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!