[00:15:04] I'm confused about how puppetdb postgresql initialisation is supposed to happen - i.e. how /srv/postgres/11/main/PG_VERSION etc. get created [00:16:11] seem to have gotten it working though. odd [09:50:17] not a lot of mediawiki :( https://lists.gt.net/nanog/users/209717 [09:50:53] Maybe I should reply to say we use mediawiki at wikimedia [10:57:17] akosiaris shdubsh after going through T247820 a couple of times I believe we should sync up in a quick meeting, e.g. tomorrow if that suits? next week is fine too [10:57:17] T247820: Decide on `service-runner` aggregated prometheus metrics and use of `service` label - https://phabricator.wikimedia.org/T247820 [10:57:50] godog: sure, what's your concern though? [11:00:01] akosiaris: essentially point 3) in your list, what "service" (or other similar labels) mean now and should/will mean in the future [11:01:04] godog: in that case you probably also want otto [11:02:26] very true, cc ottomata ^ [11:02:59] but send me an invite and I 'll tell you if I can do it. Overall I can probably make it, EU mornings might end up more difficult in the next couple of weeks so you might want to do EU afternoon. That should suit otto as well [11:04:22] aye totally, afternoon will be [13:24:08] :) godog also some more relevant stuff: https://phabricator.wikimedia.org/T242861#5811155 [13:24:43] not so much about the helm details there, just the discussionis about 'service name' vs instance vs app name, etc. [13:31:47] ottomata: btw, budgeting exercise!!! if you have capacity needs in the next FY, send them our way. Even in the form of CPU/memory [13:31:51] that should suffice [13:33:08] akosiaris: ya! We're adding them to the analytlics budget asks [13:33:25] do you want them now separately? [13:36:14] no, not now. no urgency. But at some point yeah [13:39:17] ottomata: sweet, thanks! I'll read up [19:24:29] hmm. how do i do a data type in Puppet that is "8 or 11". Enum['8', '11'] is wrong because those are strings. Enum[8, 11] is wrong because Enum matches only strings, Integer[11, 8] is wrong because the first value is higher than the second and Integer[8, 11] is close but still means "range from 8 to 11" and not actually 8 or 11. [19:24:53] i'll use the range, no big deal but wondering now [19:25:22] mutante: Variant [19:25:38] volans: ah, right. thank you [19:26:04] yw :) [20:03:17] Error: Error creating type specialization of a Variant-Type, Cannot use Integer where Any-Type is expected [20:03:28] it can combine other data types only [20:41:56] what do you mean? [20:42:39] doesn't accept a specific integer? [20:55:33] yea. that. it doesn't. Cannot use Integer where Any-Type is expected. i am fine with using the range 8 to 11 though [21:36:43] are you sure to use it right? [21:37:05] Variant[Integer, Float] — matches any integer or floating point number (equivalent to Numeric). [21:37:13] Variant[Enum['true', 'false'], Boolean] — matches 'true', 'false', true, or false. [21:37:16] from the doc [21:40:51] volans: Variant is for accepting more than one type, like Integer and Float in your case [21:41:01] mutante wants to accept either the integer 8 or the integer 11, and nothing else [21:41:27] A data type to add to the resulting compound data type. You must provide at least one data type parameter, and can provide any number of additional ones. [21:41:32] doesn't specify they have to be different :D [21:41:37] but is puppet [21:41:43] okay, but, Variant[Integer, Integer] would accept any integer [21:43:14] yea, that. i wanted only the specific 2 integers. but really, "8 to 11" is also acceptable [21:43:21] I thought it could accept Integer[8] or Integer[8, 8] (not sure how to define the single integer range) [21:43:22] i am about to log off for a bit though [21:43:59] yea, "8, 11" means 8 through 11 [21:44:07] at first i thought it means 8 or 11 [21:44:11] ohhh, [8, 8] is an interesting idea [21:44:24] does Variant[Integer[8, 8], Integer[11, 11]] do the right thing? [21:44:37] Integer[0] — matches any integer greater than or equal to 0. [21:44:43] Integer[2, 8] — matches any integer from 2 to 8, inclusive. [21:44:44] i only noticed it really because i did "11, 8" and then it tells you "meh, range cant start with the higher number" in other words [21:44:52] so yeah [8, 8] + [11, 11] should be the way [21:45:02] 2 ranges of 1 number? heh, ok [21:45:10] if it works [21:45:11] volans: nice, that looks extremely silly but I bet it works [21:45:12] and doens't complain [21:45:16] ahahah [21:45:27] lol. ok, i'll try it later. thanks both ! [21:45:34] rlazarus: you have to be silly to make things work in puppet [21:45:34] for now going a bit afk [21:45:45] we could wrap it up into an IntEnum type or something if we wanted to sweep it under the rug [21:46:44] rlazarus: ... does that work without either a macro system or algebraic data types? [21:47:56] I have no idea if you could do it variadically [21:48:12] but I bet volans will figure out a way and then I'll need a drink when I see it [21:48:20] 🥃 [21:49:20] cdanis: petition to update your $PS1 to override the time of day and show 🥃 whenever the wd is under operations/puppet [21:49:22] ahahah [21:49:31] you'll not trick me into this [21:49:35] it's not python :D [21:49:55] rlazarus: ahahaha