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

    bastelfreak

    06/10/2022, 1:47 PM
    https://puppet.com/docs/puppet/7/http_api/http_facts.html okay not very helpful
  • b

    bastelfreak

    06/10/2022, 1:52 PM
    okay my fact import seems to work. the new puppetdb also contains facts with the trusted subhash
  • b

    bastelfreak

    06/10/2022, 1:52 PM
    so this might be working, what a surprise
  • b

    bastelfreak

    06/10/2022, 1:53 PM
    that brings up the question why catalog-diff says the old catalog has 2500 resources and the new... 35 😄
  • b

    bastelfreak

    06/10/2022, 2:15 PM
    ah nice, someone broke the node groups in my test env and the PE 2021 environment assigned not all classes to all my test nodes
  • b

    bastelfreak

    06/10/2022, 2:15 PM
    nice
  • b

    bastelfreak

    06/10/2022, 2:16 PM
    so maybe my catalog-diff isnt broken at all!
  • b

    bastelfreak

    06/10/2022, 2:16 PM
    question is now, how do I get the Web UI working
  • b

    bastelfreak

    06/10/2022, 2:23 PM
    @Alex Fisher so I run the catalog-diff with --output_report foo.json and --render-as json
  • b

    bastelfreak

    06/10/2022, 2:24 PM
    the catalog-diff-viewer shows me that file in the drop down menu but doesn't display anything. the demo json works
  • b

    bastelfreak

    06/10/2022, 2:24 PM
    selinux is permissive. I see a HTTP 200 in the apache log for my json report
  • a

    Alex Fisher

    06/10/2022, 2:28 PM
    What options are you using?
  • a

    Alex Fisher

    06/10/2022, 2:28 PM
    I have
    --changed_depth 5000 --show_resource_diff --content_diff
  • b

    bastelfreak

    06/10/2022, 2:28 PM
    let me try again with those options
  • b

    bastelfreak

    06/10/2022, 2:30 PM
    but I can already report that support for custom certificates for puppetdb works really well
  • a

    Alex Fisher

    06/10/2022, 2:30 PM
    excellent!
  • b

    bastelfreak

    06/10/2022, 2:37 PM
    okay, doesn't make a difference with your params
  • b

    bastelfreak

    06/10/2022, 2:37 PM
    I see the file in the dropdown, I get a short 'loading' message, then it's done
  • b

    bastelfreak

    06/10/2022, 2:38 PM
    firefox says I've one js error: diff.most_differences is undefined
  • a

    Alex Fisher

    06/10/2022, 2:40 PM
    Are you using the latest non released version?
  • b

    bastelfreak

    06/10/2022, 2:41 PM
    yes latest commit
  • b

    bastelfreak

    06/10/2022, 2:41 PM
    deployed it directly, not the docker container
  • b

    bastelfreak

    06/10/2022, 2:42 PM
    sadly in this env I do not have any other browser to test and I'm a javascript n00b
  • b

    bastelfreak

    06/10/2022, 2:43 PM
    and it's kinda airgapped to getting logs or screenshots out it.. challenging
  • a

    Alex Fisher

    06/10/2022, 2:43 PM
    or sending me the json! 😉
  • b

    bastelfreak

    06/10/2022, 2:44 PM
    that would require so much sanitizing that it would be a new json 😄
  • b

    bastelfreak

    06/10/2022, 2:44 PM
    let me try to diff just one node
  • a

    Alex Fisher

    06/10/2022, 2:46 PM
    most_differences
    should be an array (even if empty)
  • b

    bastelfreak

    06/10/2022, 2:52 PM
    jq . report.json
    works
  • b

    bastelfreak

    06/10/2022, 2:53 PM
    so it cannot be completely broken
1...686970...648Latest