https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • b

    bastelfreak

    05/12/2022, 2:29 PM
    but I can probably hack the http client to use different cert/privkey for the different puppetservers 🤔
  • v

    vchepkov

    05/12/2022, 2:31 PM
    But client doesn't request catalog, the tool requests it on client behalf ?
  • v

    vchepkov

    05/12/2022, 2:31 PM
    that's why you need adjust auth.conf to use catalog_diff
  • b

    bastelfreak

    05/12/2022, 2:32 PM
    https://github.com/camptocamp/puppet-catalog-diff/blob/master/lib/puppet/catalog-diff/compilecatalog.rb#L54 and https://github.com/camptocamp/puppet-catalog-diff/blob/master/lib/puppet/catalog-diff/compilecatalog.rb#L100-L103
  • b

    bastelfreak

    05/12/2022, 2:32 PM
    https://github.com/camptocamp/puppet-catalog-diff/blob/master/lib/puppet/catalog-diff/compilecatalog.rb#L54 and https://github.com/camptocamp/puppet-catalog-diff/blob/master/lib/puppet/catalog-diff/compilecatalog.rb#L100-L103
  • b

    bastelfreak

    05/12/2022, 2:33 PM
    If I've different CAs I also have different certs for the catalog_diff and I currently cannot configure that
  • v

    vchepkov

    05/12/2022, 2:39 PM
    hmm, why won't you copy CA to puppet7 server for catalog evaluation?
  • v

    vchepkov

    05/12/2022, 2:39 PM
    you can always start with new CA when you are ready for a new infra
  • b

    bastelfreak

    05/12/2022, 2:42 PM
    yeah I'm considering it. at the moment I've three CAs. the new compiler and two existing setups. I could setup a forth compiler and have one for each existing infra
  • b

    bastelfreak

    05/12/2022, 2:42 PM
    or just run catalog-diff from two users 🤷
  • v

    vchepkov

    05/12/2022, 2:44 PM
    beware that catalog_diff will fail to find a difference if providers will change behavior. noop is the only way to catch those, unfortunately
    👍 1
  • b

    bastelfreak

    05/12/2022, 2:45 PM
    yeah 😞
  • b

    bastelfreak

    05/12/2022, 2:45 PM
    or actual beaker tests
  • v

    VoxBot

    05/12/2022, 3:06 PM
    https://github.com/voxpupuli/puppet-jenkins/pull/1041 I got it to pass locally with CentOS 8 (technically not in the supported OS list), also ran some of the plugin tests individually
  • v

    VoxBot

    05/12/2022, 3:06 PM
    let's see if CI agrees
  • v

    VoxBot

    05/12/2022, 3:35 PM
    ah nicr
  • n

    nwops

    05/12/2022, 4:43 PM
    Copy code
    ## Deprecated modules
    NAME                  | DEPRECATED_AT            
    ----------------------|--------------------------
    camptocamp-postfix    | 2021-08-26 05:20:19      
    npwalker-pe_databases | 2020-03-24 14:47:09      
    puppet-staging        | 2018-12-18 11:11:29      
    razorsedge-snmp       | 2018-12-10 16:00:19      
    rmueller-cron         | 2018-03-02 09:55:58      
    vshn-gitlab           | 2018-02-08 09:25:47
  • d

    Dr Bunsen Honeydew

    05/12/2022, 4:43 PM
    See the
    camptocamp-postfix
    module at https://forge.puppet.com/camptocamp/postfix?src=slack&channel=voxpupuli
  • n

    nwops

    05/12/2022, 4:44 PM
    When looking at deprecated modules is there a way to automatically determine what replaced it? Some of these modules were moved to vox while others were not. I would like to be able to either query the forge or the metadata to determine this information.
  • b

    bastelfreak

    05/12/2022, 4:45 PM
    in an ideal world, the forge people would react quicker than within 6 months after we raise deprecation tickets and the problem would dissappear 🙂
  • n

    nwops

    05/12/2022, 4:46 PM
    Yes, but shouldn’t this be the module owner’s decision?
  • s

    Slackbot

    05/12/2022, 4:47 PM
    This message was deleted.
    b
    n
    +2
    • 5
    • 22
  • b

    bastelfreak

    05/12/2022, 4:47 PM
    sometimes the original owners are hard to reach. and they can only mark a module as deprecated. if the module is/was approved, they cannot move that badge to use. A ticket needs to be raised for this
  • v

    VoxBot

    05/12/2022, 4:50 PM
    the forge API does have a field
  • v

    VoxBot

    05/12/2022, 4:51 PM
    https://github.com/ekohl/metadata_json_deps/blob/baca865572789220ca2ae3e15e306ad37d8e6fa0/lib/metadata_json_deps.rb#L86-L94 is how my script does it
  • v

    VoxBot

    05/12/2022, 4:52 PM
    ewoud: yes, but only the owner of a module or the Forge team can mark it
  • v

    VoxBot

    05/12/2022, 4:52 PM
    correct, but not sure how you'd do it otherwise
  • v

    VoxBot

    05/12/2022, 4:53 PM
    indeed
  • v

    VoxBot

    05/12/2022, 4:53 PM
    that won't work, it would allow takeovers
  • v

    VoxBot

    05/12/2022, 4:54 PM
    bastelfreak: damn, threading makes these fun to follow, haha
1...313233...648Latest