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

    Slackbot

    01/20/2023, 7:56 PM
    This message was deleted.
    b
    s
    +3
    • 6
    • 26
  • b

    bastelfreak

    01/20/2023, 8:20 PM
    https://github.com/voxpupuli/rspec-puppet-facts also this
  • c

    Corporate Gadfly

    01/21/2023, 5:47 PM
    @Sergei G.: I'm using https://github.com/eiiches/scriptable-jmx-exporter 1.0.0-alpha3 with no issues. It was a bit of a pain to build the YAML config for the exporter, but definitely doable. I can share upon request.
  • c

    Corporate Gadfly

    01/21/2023, 5:47 PM
    @Sergei G.: I'm using https://github.com/eiiches/scriptable-jmx-exporter 1.0.0-alpha3 with no issues. It was a bit of a pain to build the YAML config for the exporter, but definitely doable. I can share upon request.
  • a

    Alex Fisher

    01/21/2023, 6:43 PM
    There's also this https://github.com/puppetlabs/puppet_operational_dashboards
  • s

    Slackbot

    01/22/2023, 6:47 AM
    This message was deleted.
    d
    r
    y
    • 4
    • 6
  • y

    Yury Bushmelev

    01/22/2023, 6:52 AM
    It’d be nice to have either 1)
    pdk rake
    alias for
    pdk bundle exec rake
    or 2) ability to create pdk aliases and/or commands per directory or repository (like in
    git
    ).. otherwise it’s hard to write
    pdk bundle exec rake <something>
    for every task.. I guess I should raise a ticket for this.
  • c

    Corporate Gadfly

    01/22/2023, 4:20 PM
    @Yury Bushmelev: https://github.com/eiiches/scriptable-jmx-exporter/pull/32
  • n

    Neeloj

    01/23/2023, 10:34 AM
    hi all, I have a
    bash script
    and I call it with
    Exec resource type
    in puppet. the
    script.sh
    have
    exit 1
    in it and puppet dont like that I get below error:
    Error: /Exec[run script.sh]/returns: change from 'notrun' to ['0'] failed: 'script.sh' returned 1 instead of one of [0] (corrective)
    I can change the exit 1 to exit 0 but its not so nice solution or in command attribute for exec set like this:
    command => 'script.sh; Exit 0',
    Is there a better way to solve this? thank you all
  • r

    ripienaar

    01/23/2023, 10:51 AM
    generally 0 means success to unix scripts
  • r

    ripienaar

    01/23/2023, 10:51 AM
    so is your script not succesful?
  • s

    Slackbot

    01/23/2023, 10:52 AM
    This message was deleted.
    n
    • 2
    • 1
  • s

    Slackbot

    01/23/2023, 11:06 AM
    This message was deleted.
    n
    r
    • 3
    • 6
  • n

    Neeloj

    01/23/2023, 11:43 AM
    wow the attribute is nice 🙂 Ill test it https://www.puppet.com/docs/puppet/7/types/exec.html#exec-attribute-returns thank you @ripienaar
  • n

    Neeloj

    01/23/2023, 11:47 AM
    message has been deleted
  • s

    Slackbot

    01/23/2023, 2:49 PM
    This message was deleted.
    n
    n
    • 3
    • 27
  • n

    Neeloj

    01/23/2023, 3:55 PM
    message has been deleted
  • k

    Karunakar reddy Ramidi

    01/23/2023, 4:54 PM
    Hi , I am trying to upgrade Jenkins , we have configured Jenkins using puppet , some how i am able to see failing is it related to puppet code configuration
  • s

    Slackbot

    01/23/2023, 4:55 PM
    This message was deleted.
    b
    k
    r
    • 4
    • 14
  • s

    Slackbot

    01/23/2023, 5:14 PM
    This message was deleted.
    h
    n
    • 3
    • 9
  • s

    Slackbot

    01/23/2023, 6:48 PM
    This message was deleted.
    n
    d
    +4
    • 7
    • 11
  • s

    Slackbot

    01/23/2023, 7:52 PM
    This message was deleted.
    c
    l
    • 3
    • 5
  • l

    Luke Tidd

    01/23/2023, 7:52 PM
    hey folks, anyone using a socket for the communication between the puppet server and puppetdb? Our security folks would like us to do so. Code like this https://github.com/puppetlabs/puppetdb/blob/7.x/docker/puppetdb/docker-entrypoint.d/10-wait-for-hosts.sh#L74 makes me wonder how far out of support this would be
  • l

    Luke Tidd

    01/23/2023, 7:55 PM
    hey folks, anyone using a socket for the communication between the postgres and puppetdb? Our security folks would like us to do so. Code like this https://github.com/puppetlabs/puppetdb/blob/7.x/docker/puppetdb/docker-entrypoint.d/10-wait-for-hosts.sh#L74 makes me wonder how far out of support this would be
  • s

    Slackbot

    01/23/2023, 8:45 PM
    This message was deleted.
    y
    b
    n
    • 4
    • 6
  • s

    Slackbot

    01/23/2023, 10:06 PM
    This message was deleted.
    b
    a
    • 3
    • 22
  • a

    Andy Fry

    01/23/2023, 10:34 PM
    So in Common something like global::my_url
  • s

    Slackbot

    01/24/2023, 3:07 AM
    This message was deleted.
    🙌 1
    y
    • 2
    • 1
  • s

    Slackbot

    01/24/2023, 3:12 AM
    This message was deleted.
    👎 1
    d
    r
    +2
    • 5
    • 9
  • y

    Yury Bushmelev

    01/24/2023, 3:25 AM
    Just build it internally I’d say..
1...282283284...428Latest