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

    Alex Fisher

    06/13/2022, 8:48 AM
    I've done it for gitlab and jenkins with bitbucket server. I always ran it for all nodes.
  • a

    Alex Fisher

    06/13/2022, 8:48 AM
    Which is kinda the point. Make sure your change isn't breaking some random node you hadn't even considered.
  • a

    Alex Fisher

    06/13/2022, 8:48 AM
    How many nodes have you got?
  • b

    bastelfreak

    06/13/2022, 8:51 AM
    ~1000 across ~50 environments with an.... interesting merge strategy
  • a

    Alex Fisher

    06/13/2022, 8:51 AM
    That should be fine then. I do about twice that.
  • b

    bastelfreak

    06/13/2022, 8:51 AM
    I think the biggest env just has 130 nodes. so diffing all doesn't take too long
  • a

    Alex Fisher

    06/13/2022, 8:52 AM
    I use the option to filter to nodes that are currently in the PRs target branch.
  • a

    Alex Fisher

    06/13/2022, 8:54 AM
    In your CI job, also make sure your PR/source branch is up to date with the target branch. (ie check that a fastforward only merge would work)
  • b

    bastelfreak

    06/13/2022, 8:54 AM
    ah yeah
  • b

    bastelfreak

    06/13/2022, 8:55 AM
    another question: README.md from catalog-diff says that puppet6 removed a lot of alias parameters, now I'm diffing puppet 6->puppet7 catalogs and see a lot of missing alias parameters. I'm wondering if there's a typo in README.md and they got actually removed in puppet 7, not 6. but I cannot find that in the puppet 7 changelog
  • a

    Alex Fisher

    06/13/2022, 8:55 AM
    Also use a dedicated Puppetserver and have the job control when r10k is run. You don't want the environments to change part way through your job.
  • b

    bastelfreak

    06/13/2022, 8:56 AM
    yeah I've a complete PE environment just for catalog-diff
  • b

    bastelfreak

    06/13/2022, 8:56 AM
    without automatic code deploy
  • a

    Alex Fisher

    06/13/2022, 8:56 AM
    I've not migrated to Puppet 7 yet. Still need to get some Solaris agents upgraded...
  • b

    bastelfreak

    06/13/2022, 8:56 AM
    sounds painful
  • a

    Alex Fisher

    06/13/2022, 9:00 AM
    With PE, isn't there some native impact analysis functionality?
  • b

    bastelfreak

    06/13/2022, 9:00 AM
    I think only in CD4PE
  • a

    Alex Fisher

    06/13/2022, 9:01 AM
    and that's something separate to buy/license?
  • b

    bastelfreak

    06/13/2022, 9:01 AM
    yes
  • a

    Alex Fisher

    06/13/2022, 9:03 AM
    Might be interesting to compare the functionality. I always assumed they worked in a similar way.
  • a

    Alex Fisher

    06/13/2022, 9:04 AM
    But... there are some limitations listed here https://puppet.com/docs/continuous-delivery/4.x/impact_analysis_limitations.html that don't make much sense
  • a

    Alex Fisher

    06/13/2022, 9:05 AM
    "The impact of changes to a function cannot be analyzed." Why not??
  • b

    bastelfreak

    06/13/2022, 9:05 AM
    Alias metaparameter. Any resources using the alias metaparameter cannot be analyzed.
    Interesting
  • a

    Alex Fisher

    06/13/2022, 9:05 AM
    and "The impact of changes made to Embedded Puppet (
    .epp
    ) or Embedded Ruby (
    .erb
    ) template files alone cannot be analyzed."
  • b

    bastelfreak

    06/13/2022, 9:06 AM
    as an engineer, I would have turned catalog-diff into a PE integration and offer support for it, and contribute patches back upstream. And not reinvent the wheel.
  • b

    bastelfreak

    06/13/2022, 9:06 AM
    But ¯\_(ツ)_/¯
  • b

    bastelfreak

    06/13/2022, 9:09 AM
    did you see the IRC query I send you some days ago?
  • b

    bastelfreak

    06/13/2022, 9:42 AM
    @Alex Fisher what do you think about sorting tags before we diff them? https://gist.github.com/bastelfreak/8ae96ce3564ad0b75621b8df7f3aec29
  • r

    root-expert

    06/13/2022, 9:49 AM
    o/ https://github.com/voxpupuli/puppet-kibana/pull/60
  • r

    root-expert

    06/13/2022, 9:49 AM
    o/ https://github.com/voxpupuli/puppet-kibana/pull/60
1...727374...648Latest