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

    helindbe

    06/08/2022, 5:12 PM
    If so, then it needs to be a “system function” so it can pass it on
  • h

    helindbe

    06/08/2022, 5:15 PM
    eh, sorry it is named “InternalFunction”, you can see how a function like
    contain
    makes use of that: https://github.com/puppetlabs/puppet/blob/ac45fe2b783708f64cb3a28f21ee92673e1f3216/lib/puppet/functions/contain.rb#L21
  • h

    helindbe

    06/08/2022, 5:15 PM
    eh, sorry it is named “InternalFunction”, you can see how a function like
    contain
    makes use of that: https://github.com/puppetlabs/puppet/blob/ac45fe2b783708f64cb3a28f21ee92673e1f3216/lib/puppet/functions/contain.rb#L21
  • v

    VoxBot

    06/08/2022, 5:16 PM
    I'm not sure tbh, but it sounds like it could help
  • h

    helindbe

    06/08/2022, 5:21 PM
    typically the calling scope (i.e. from the body of a defined resource or class) is needed when the function needs to know about this resource - which it does for functions like
    include
    ,
    contain
    ,
    require
  • h

    helindbe

    06/08/2022, 5:27 PM
    ok, I am signing off again - do ping me if you have further questions
    ❤️ 1
  • v

    VoxBot

    06/08/2022, 6:06 PM
    hi all there are a few PR's in https://github.com/voxpupuli/puppet-unbound/pulls if anyone could take a look
  • v

    VoxBot

    06/08/2022, 9:25 PM
    jbond: done
  • v

    VoxBot

    06/08/2022, 9:29 PM
    thanks ewoud all coments sound good tm me, ill do an update tommorrow
  • v

    VoxBot

    06/09/2022, 7:01 AM
    can I get a review for https://github.com/voxpupuli/puppet-catalog-diff/pull/68
  • v

    VoxBot

    06/09/2022, 1:12 PM
    anyone has the permissions to approve https://github.com/puppetlabs/forge-ruby/pull/99 to run CI? :)
  • v

    VoxBot

    06/09/2022, 1:13 PM
    fills out the form
  • v

    VoxBot

    06/09/2022, 1:15 PM
    a38?
  • v

    VoxBot

    06/09/2022, 1:16 PM
    https://docs.google.com/forms/d/e/1FAIpQLSchppvpk0mbC5J9V28MDhdPqly-jz70tklBvgjN5A2urj1afA/viewform :)
  • v

    VoxBot

    06/09/2022, 1:16 PM
    better1
  • b

    bastelfreak

    06/09/2022, 1:17 PM
    @binford2k you got an email 😄
  • v

    VoxBot

    06/09/2022, 1:55 PM
    good morning o/
  • v

    VoxBot

    06/09/2022, 1:57 PM
    o/
  • b

    bastelfreak

    06/09/2022, 2:10 PM
    @Alex Fisher you used the catalog-diff-viewer in the past? I copied some reports into the
    data/
    dir, but the web UI fails to load them (it lists them)
  • a

    Alex Fisher

    06/09/2022, 2:10 PM
    yes, I use that.
  • b

    bastelfreak

    06/09/2022, 2:11 PM
    also the generate_reports.py doesn't generate the reportlist.json
  • b

    bastelfreak

    06/09/2022, 2:12 PM
    so I'm wondering if the report maybe has the wrong format or something
  • a

    Alex Fisher

    06/09/2022, 2:13 PM
    Does it work with the demo1.json?
  • b

    bastelfreak

    06/09/2022, 2:13 PM
    yes
  • a

    Alex Fisher

    06/09/2022, 2:14 PM
    something wrong with your reports then I guess. Or permissions, (or SELinux)
  • b

    bastelfreak

    06/09/2022, 2:16 PM
    if you run the catalog diff and it diffs multiple nodes, do you get a single json report or one per node?
  • a

    Alex Fisher

    06/09/2022, 2:16 PM
    single
  • a

    Alex Fisher

    06/09/2022, 2:17 PM
    Could you ping me tomorrow afternoon?
  • b

    bastelfreak

    06/09/2022, 2:17 PM
    sure
  • b

    bastelfreak

    06/09/2022, 2:24 PM
    okay the generate_reports.json works fine
1...626364...648Latest