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

    sameer

    08/18/2022, 9:22 AM
    Great ...Thanks
  • f

    fe80

    08/18/2022, 11:14 AM
    hello, They exist a solution for drop some native fact like
    scope6_xxx
    ? That create lot of fact for a duplicate content
    Copy code
    pdb/query/v4/facts | jq '[.[] | select(.name | test("^scope6_")) | .name] | length'        
    16942
  • f

    fe80

    08/18/2022, 11:16 AM
    hello, They exist a solution for drop some native fact like
    scope6_xxx
    ? That create lot of fact for a duplicate content
    Copy code
    pdb/query/v4/facts | jq '[.[] | select(.name | test("^scope6_")) | .name] | length'        
    16942
  • b

    bastelfreak

    08/18/2022, 11:19 AM
    https://puppet.com/docs/puppetdb/7/configure.html#facts-blocklist you can block what puppetdb inserts into the database. also facter.conf has a blocklist
  • f

    fe80

    08/18/2022, 11:21 AM
    so with
    facts-blocklist
    I can still use the fact on my puppetcode ?
  • b

    bastelfreak

    08/18/2022, 11:22 AM
    I don't think so. how do you want to use it when it's blocked?
  • f

    fe80

    08/18/2022, 11:23 AM
    No I'm ok with that, just a simple question 🙂
  • b

    bastelfreak

    08/18/2022, 11:23 AM
    do you have any performance issues? Otherwise I would keep it as is
  • f

    fe80

    08/18/2022, 11:23 AM
    ty @bastelfreak
  • s

    Slackbot

    08/18/2022, 11:24 AM
    This message was deleted.
    v
    f
    • 3
    • 3
  • s

    Slackbot

    08/18/2022, 1:39 PM
    This message was deleted.
    y
    • 2
    • 3
  • y

    Yorokobi

    08/18/2022, 2:07 PM
    Should I create a new issue similar to https://github.com/puppetlabs/pdk/issues/538 ?
  • s

    Skylar Thompson

    08/18/2022, 2:15 PM
    Interesting... I think we might have to stick with exported resources for now because right now things are classified via node-scope variables, which I don't think I'd be able to select on, but this makes a good case for future improvements. Thanks!
  • t

    todd.seidenberg

    08/18/2022, 4:01 PM
    So I'm using the
    puppet debugger
    as suggested yesterday, to test a custom function. The problem is the custom function doesn't exist in the current environment. or any environment. How do i tell the
    puppet debugger
    about the custom function so I can run it interactively? (I can see the list of functions available. None of them are the custom ones.)
  • t

    todd.seidenberg

    08/18/2022, 4:10 PM
    what do I need to include to see the function?
  • s

    Slackbot

    08/18/2022, 5:02 PM
    This message was deleted.
    b
    h
    • 3
    • 32
  • b

    B S

    08/18/2022, 5:02 PM
    I've been a long time puppet user (2013-ish) and since I've never really followed best practices, I was gonna try and rejuvenate my puppet environment. Right now I'm on puppet 5.5 and I was gonna start fresh on puppet 7 To make things easier to install and upgrade, I was gonna leverage my existing kubernetes cluster and use the helm chart provided by puppetlabs: https://github.com/puppetlabs/puppetserver-helm-chart/ Installing version 6.5.1 of the chart failed in the init container, due to a bug I already sent a PR for: https://github.com/puppetlabs/puppetserver-helm-chart/pull/128
  • b

    B S

    08/18/2022, 5:03 PM
    I've been a long time puppet user (2013-ish) and since I've never really followed best practices, I was gonna try and rejuvenate my puppet environment. Right now I'm on puppet 5.5 and I was gonna start fresh on puppet 7 To make things easier to install and upgrade, I was gonna leverage my existing kubernetes cluster and use the helm chart provided by puppetlabs: https://github.com/puppetlabs/puppetserver-helm-chart/ Installing version 6.5.1 of the chart failed in the init container, due to a bug I already sent a PR for: https://github.com/puppetlabs/puppetserver-helm-chart/pull/128 I can install 6.4.0 and it passes readiness. If I install 6.5.x, the pod of the puppetserver-puppetserver-master deployment does not pass readiness, even though I can curl the port that's configured there. Here's the curl command I'm running: curl -v --insecure https://127.0.0.1:8140/status/v1/simple The presented certificate is not publicly signed, but according to the kubernetes manual that is not an issue since certs aren't verified.
  • b

    B S

    08/18/2022, 5:03 PM
    I've been a long time puppet user (2013-ish) and since I've never really followed best practices, I was gonna try and rejuvenate my puppet environment. Right now I'm on puppet 5.5 and I was gonna start fresh on puppet 7 To make things easier to install and upgrade, I was gonna leverage my existing kubernetes cluster and use the helm chart provided by puppetlabs: https://github.com/puppetlabs/puppetserver-helm-chart/ Installing version 6.5.1 of the chart failed in the init container, due to a bug I already sent a PR for: https://github.com/puppetlabs/puppetserver-helm-chart/pull/128 I can install 6.4.0 and it passes readiness. If I install 6.5.x, the pod of the puppetserver-puppetserver-master deployment does not pass readiness, even though I can curl the port that's configured there. Here's the curl command I'm running: curl -v --insecure https://127.0.0.1:8140/status/v1/simple The presented certificate is not publicly signed, but according to the kubernetes manual that is not an issue since certs aren't verified.
  • b

    B S

    08/18/2022, 5:04 PM
    I've been a long time puppet user (2013-ish) and since I've never really followed best practices, I was gonna try and rejuvenate my puppet environment. Right now I'm on puppet 5.5 and I was gonna start fresh on puppet 7 To make things easier to install and upgrade, I was gonna leverage my existing kubernetes cluster and use the helm chart provided by puppetlabs: https://github.com/puppetlabs/puppetserver-helm-chart/ Installing version 6.5.1 of the chart failed in the init container, due to a bug I already sent a PR for: https://github.com/puppetlabs/puppetserver-helm-chart/pull/128 I can install 6.4.0 and it passes readiness. If I install 6.5.x, the pod of the puppetserver-puppetserver-master deployment does not pass readiness, even though I can curl port 8140. Here's the curl command I'm running: curl -v --insecure https://127.0.0.1:8140/status/v1/simple The presented certificate is not publicly signed, but according to the kubernetes manual that is not an issue since certs aren't verified.
  • s

    Slackbot

    08/18/2022, 5:57 PM
    This message was deleted.
    b
    h
    • 3
    • 4
  • b

    B S

    08/18/2022, 6:28 PM
    Here's the definition of the readiness probe: https://github.com/puppetlabs/puppetserver-helm-chart/blob/v6.5.1/templates/puppetserver-deployment-masters.yaml#L207-L211 Here's what it looks like in kubectl describe: Readiness: http-get https//8140/status/v1/simple delay=0s timeout=20s period=60s #success=1 #failure=3
  • b

    B S

    08/18/2022, 6:39 PM
    @hbui Here's the definition of the readiness probe: https://github.com/puppetlabs/puppetserver-helm-chart/blob/v6.5.1/templates/puppetserver-deployment-masters.yaml#L207-L211 Here's what it looks like in kubectl describe: Readiness: http-get https//8140/status/v1/simple delay=0s timeout=20s period=60s #success=1 #failure=3
  • b

    B S

    08/18/2022, 7:07 PM
    message has been deleted
  • l

    Les Shiner

    08/18/2022, 7:10 PM
    puppet node status test1001 fails with Error: Could not retrieve status for test1001: Failed to find '/pdb/query/v4/nodes/test1001' on any of the following 'server_urls' (insert url here)
  • l

    Les Shiner

    08/18/2022, 7:10 PM
    i'm trying to test to see if there is information in my puppetdb after installing it and getting it running
  • l

    Les Shiner

    08/18/2022, 7:11 PM
    test1001 is the hostname of one of my agents that have checked in
  • l

    Les Shiner

    08/18/2022, 7:11 PM
    the https:(insert url here) is in my puppetdb.conf
  • y

    Yorokobi

    08/18/2022, 7:12 PM
    Is your db host blocking connections?
  • l

    Les Shiner

    08/18/2022, 7:13 PM
    my db is on my master which.. is talking to my agents
1...136137138...428Latest