[03:29] @blackboxsw: I applied your diff to PR #1130, but didn't bother with authorship since that would be lost in the squash merge. How do you feel about adding a "Co-authored-by" line to the commit message? [03:30] holmanb: no worries was just poking at that now. no need for authoship attribution for this. Generally when there were more significant assistance, we can add the Co-authored-by: footer. [03:31] But it was minor nits. so all good. I'm hoping to merge shortly and call it a night [03:31] I took a dinner break for a while and wanted to wrap up on your branch. [03:32] Thanks! That sounds fine to me. [03:33] I'm around for a little bit if you have any questions, otherwise have a good night :) [04:13] holmanb: if still around, I think we could add this: to handle non-annotated config errors: https://paste.ubuntu.com/p/yCyM2x8MJP/ [04:13] looking [04:13] which gives us: output like this: [04:13] root@dev-b:~# cloud-init devel schema --system [04:13] Error: [04:13] Cloud-config is not a YAML dict. [04:13] root@dev-b:~# cloud-init query userdata [04:13] #cloud-config [04:14] for empty config with --annotate is not provided [04:14] http://paste.ubuntu.com/p/XK7qymWjSx/ when calling `cloud-init devel schema --system --annotate` [04:16] otherwise, without the patch output of `cloud-nit devel schema --system` will be http://paste.ubuntu.com/p/VpY4Db5nwY/ [04:25] That makes sense. [04:26] It looks like --docs all --annotate is accepted by the parser too, for what it's worth, but I can't think of a reason anyone would try that so I assume that's just an invalid combo. [04:27] yeah that's an invalid combo [04:27] should raise an error on that [04:27] can do that in a separate PR if you want [04:29] I need to hop off for the night, but I'm fine with adding that to this PR [04:30] I can add that and the the suggestion you pastebinned (verb?) first thing in the morning [04:33] collio holmanb agreed take care. we'll sort it tomorrow [04:36] Seeya o/ [16:46] Here's a simple issue I seem tp be having a hard time figuring out ... how do I create a cloud-config that installs the latest node on ubuntu? Node's debian/ubuntu instructions don't seem to be based on 'add this PPA'. Thanks! [17:41] beantaxi - does the latest version packaged by ubuntu meet your needs? [17:45] their "pipe curl to sh" setup script just adds a repo (source and gpg files), which are things that the apt-configure module is capable of [18:01] beantaxi: ahh, yes -> take a look at the manual install section: https://github.com/nodesource/distributions/blob/master/README.md#manual-installation [18:02] beantaxi: apt-configure module in cloud-init can add a repo, for an example see the "sources" key under https://cloudinit.readthedocs.io/en/latest/topics/examples.html#additional-apt-configuration-and-repositories [18:12] beantaxi: their key ID (9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280) is posted in the manual-installation section on the readme. That key is also hosted by keyserver.ubuntu.com, so you should be able to add something like this (untested) to the apt section of your cloud-config to install from their repo: [18:12] ``` [18:12] sources: [18:12] nodesource.list: [18:12] source: deb [signed-by=$KEY_FILE] https://deb.nodesource.com/node_8.x $RELEASE main [18:12] keyid: 9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280 [18:12] ``` [20:04] holmanb: Thanks! I'll give that a shot [21:17] hey folks, what would be the difference between using #cloud-config and #cloud-init in the customer data file. ? [21:24] never mind, thanks for not insulting :) [22:19] esv: it's an easy mistake to make, all questions valid! I'm culpable of that mistake a couple times. We're hoping that `cloud-init devel schema --system --annotate` adds value here. As it should show something like the following: [22:19] Error: [22:19] Cloud config schema errors: format-l1.c1: File 1.yaml needs to begin with "#cloud-config" [22:19] or rather [22:20] schema -c 1.yaml --annotate [22:20] #cloud-init # E1 [22:20] # Errors: ------------- [22:20] # E1: File 1.yaml needs to begin with "#cloud-config" [22:33] holmanb: merged schema annotate and cloud-init boot process warning about empty schema thx https://github.com/canonical/cloud-init/pull/1130 [22:33] Pull 1130 in canonical/cloud-init "cloud-config annotation throws exception, fix it" [Merged] [22:34] blackboxsw: Thanks!