=== Kuraokami is now known as IchabodCrane [03:11] Hi, I'm trying to use `sensitive_keys` in my cloud-init metadata to redact an access token, but I haven't figured it out yet. My access token is still visible/unredacted in the /run/cloud-init/instance-data.json file. [03:11] Terraform exerpt: https://hastebin.com/raw/mizepubata [03:11] Just curious if I'm using it wrong? Still working my way through the code. [03:40] I figured something out that works in the end [03:40] https://hastebin.com/raw/pacivapoti [03:40] The security-credentials (sub)key is redacted by default === janitha71 is now known as janitha7 === janitha71 is now known as janitha7 [07:14] i can only find two references to credentials, https://cloudinit.readthedocs.io/en/latest/search.html?q=credentials&check_keywords=yes&area=default and they don't look anything like that === janitha73 is now known as janitha7 === janitha79 is now known as janitha7 [18:14] has anyone survived the yesterday's holiday? [18:35] meena: what holiday? I guess I missed it ;-) [18:41] minimal: there was a holiday in the US yesterday, which was the reason there was so little activity here [18:41] ah ok [18:41] I assume there's likely to be a holiday on any day of the year in some country :-) [19:59] heh...most of us are back now [20:34] converted https://github.com/canonical/cloud-init/pull/1779 to draft [20:34] -ubottu:#cloud-init- Pull 1779 in canonical/cloud-init "Net: add BSD ifconfig(8) parser" [Open] [20:34] but https://github.com/canonical/cloud-init/pull/1759 is very much ready, if someone needs something to do [20:34] -ubottu:#cloud-init- Pull 1759 in canonical/cloud-init "cc_ntp: add support for BSDs" [Open] [20:35] I can finish reviewing that one [20:36] meena: re ifconfig, is there anything you can borrow from the netinfo stuff? [20:36] I just remember seeing ifconfig parsing in netinfo.py [20:39] falcojr: oh, i did, loads [20:39] that's how I got started [20:39] but, the netinfo one is, needlessly split into two [20:39] didn't wanna do that [20:40] falcojr: if/when you review and merge 1759 then I can submit a related PR for Alpine [20:41] minimal: you could already do that, following this pattern: https://github.com/canonical/cloud-init/pull/1778 [20:41] -ubottu:#cloud-init- Pull 1778 in canonical/cloud-init "Ansible Control Module" [Open] [21:18] meena: I commented on 1759. I'm not sure why the indirect module changes [21:24] falcojr: if you scroll back, that's all rharper's finding [21:25] falcojr: we had mysterious test failures, which rharper traced down [21:25] falcojr: https://github.com/canonical/cloud-init/pull/1759/commits/f9c8f722ae3b6cbfd6ac31cfa738fe9668d31a5f [21:25] -ubottu:#cloud-init- Pull 1759 in canonical/cloud-init "cc_ntp: add support for BSDs" [Open] [21:31] I'd rather we fix our mocks... [21:32] falcojr: we capitulated before the mocks [21:33] falcojr: if you can do better, that would be cool, but right now, other distros can't test their manage_service() functions [21:33] (that includes alpine, so it's not just BSDs ;) [21:38] * meena needs to build a cloud-init for openbsd [21:46] meena: which test(s) were failing? [21:48] falcojr: essentially, the whole_package test was failing, but i don't know what else was failing [21:49] falcojr: you can back out the change and test it again [21:49] i dunno if rharper has record of what was failing [22:03] falcojr: what I was seeing failing was the ntp [22:04] oops, test_ntp_the_whole_package once I implemented a manage_services function in distros/alpine.py [22:05] * meena might have to give up earlier tonight… [22:06] basically that test was then failing for alpine as it was running "systemctl" rather than "rc-service" as the mock for determining that Alpine was non-systemd wasn't working [22:06] i wouldn't say that [22:07] when you looked at the state, uses_systemd was correctly returning false [22:07] that mock worked fine, as it was freshly overwritten [22:07] but the distro mock object wasn't entirely … clean, shall we say [22:08] which is why rharper added m_dsubp.reset_mock() [22:08] but that wasn't enough, either [22:09] lol...just now realized the_whole_package means a test named that...not literally testing the entire package XD [22:09] test_everything_and_the_kitchen_sink() [22:23] * meena → bed [22:23] (no more code)