[08:14:20] If anyone is interested, next refactoring workshops dates have been published: https://www.mediawiki.org/wiki/Code_Health_Group/projects/DevEd/Workshops#Recurring%2FScheduled_Workshops_2 (Nov 4 European firendly time, Nov 11 US friendly time) [09:43:06] kormat: last night before falling asleep, I realized that the autoconf/automake proposal was out of line and in poor taste. I instead propose xmkmf [09:43:30] ಠ_ಠ [09:44:20] I am glad that your memory is intact enough to remember Imakefiles :D [10:32:27] omg. that is a blast from the past we could live without [10:35:54] klausman: stat1005 is sending cron mails about rocm-smi [10:36:15] Yes [10:37:07] ok :) [10:37:31] Shoudl eb fixed now. [14:23:45] things i wish i had a tool for: given a module/profile, show me the roles which use it. optionally including an example host or two for each role. [14:24:12] kormat: cumin will at least give you the hosts [14:24:28] and given hosts, it's not too hard to get the role [14:24:30] cdanis: yeah, but that's the least useful part :) if i get the role, getting the hosts is trivial [14:25:20] going from host to role isn't all that simple, either, as sites.pp uses a lot of regexes :( [14:25:55] I am not sure but I suspect a bunch of what you want is probably available via puppetdb API queries [14:26:30] give me a few minutes, I need some more coffee [14:26:31] i expect it is [14:26:51] i guess what i'm really looking for vscode to support 'show references for this class' for puppet [14:27:09] as the current workflow is git grep for the current class name, open that file, and repeat [14:27:34] currently it's a bit worse - i'm editing template files, and then i want to check what uses them [14:27:42] eek yeah [14:27:46] https://phabricator.wikimedia.org/P8744 is a starting point [14:28:07] and for just particular class resources you can do something simpler [14:28:51] e.g. I did this the other day on puppetdb1002: curl -sG http://localhost:8080/pdb/query/v4/resources/Monitoring::Service/elasticsearch_shard_size_check_search.svc.eqiad.wmnet:9243 | jq . [14:29:03] it will show you where it gets instantiated, too [15:56:05] kormat: PCC dose something a sort of simlar when you make a hosts selction like P:idp https://github.com/wikimedia/operations-software-puppet-compiler/blob/master/puppet_compiler/nodegen.py#L32-L53 [15:57:03] basicly if you ask for the tags a resource has when its applied you will see the calling class structure which will include the role e.g. role::idp [15:57:16] in curl for the idp profile [15:57:21] curl -k http://localhost:8080/pdb/query/v4/resources/Class/Profile::Idp?query=%5B%22extract%22%2C%5B%22certname%22%2C%22tags%22%5D%5D [15:57:28] (on puppetdb1002 [15:57:29] ) [16:01:03] https://phabricator.wikimedia.org/P13117 [18:13:40] ema: can I re-enable puppet on deployment-cache-text06?