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

    rnelson0

    03/14/2023, 12:17 PM
    @towo probably confine it to an osfamily as well, since that's likely not everywhere.
  • s

    Slackbot

    03/14/2023, 12:54 PM
    This message was deleted.
    t
    n
    • 3
    • 2
  • y

    Yury Bushmelev

    03/14/2023, 1:27 PM
    I’d expose single endpoint with something like a https://github.com/adnanh/webhook
  • d

    Dr Bunsen Honeydew

    03/14/2023, 1:45 PM
    meeting šŸ§‘ā€šŸ« Bolt is about to start up in #CFD8Z9A4T
    šŸ‘ 1
  • d

    Dr Bunsen Honeydew

    03/14/2023, 2:45 PM
    the more you know _🦊Vox Pupuli monthly sync; see calendar event for info_ is about to start up in #CFD8Z9A4T
    dead yes 2
  • e

    edwin

    03/14/2023, 4:24 PM
    @tuxmea The CAT team just released the new version (9.0.2) of the `puppetlabs-apt` module Thanks for the follow up @Jordan Breen++ šŸ™Œ goteam
    šŸ™Œ 1
    šŸ‘ 1
    charmander dancing 2
  • d

    Dr Bunsen Honeydew

    03/14/2023, 4:24 PM
    jordan.breen is on the rise! (Karma: 2)
  • d

    Dr Bunsen Honeydew

    03/14/2023, 4:45 PM
    the more you know šŸ§‘ā€šŸ«Puppet Core Team is about to start up in #CFD8Z9A4T
  • v

    vchepkov

    03/14/2023, 6:02 PM
    https://github.com/puppetlabs/puppet-lint/issues/108
  • v

    vchepkov

    03/14/2023, 7:44 PM
    Copy code
    $ gem cleanup
    Cleaning up installed gems...
    Clean up complete
    
    
    $ gem list|grep lint
    puppet-lint (3.3.0, 2.5.2)
  • k

    Ken

    03/14/2023, 7:50 PM
    PuppetDB Question I installed puppetserver 7 and added two test puppet agent nodes, all is well. I just finished a fresh install of puppetdb following the 'install from packages' method. However, it seems I have no data in my puppetdb. FWIW, the instructions I followed did not put in the postgresql dB, so I installed it manually following a 3rd party guide, created the postgresql user, created a puppetdb DB, etc. Once that was done, I can now get the puppetDB service started successfully. However, localhost curl commands return empty. My browser sees real time activity but e.g. not my two puppet agent nodes. What am I missing? It seems there's a file somewhere I need to modify to point it to my postgresql?
  • k

    Ken

    03/14/2023, 7:51 PM
    my database.ini file I manually created:L [root@puppet puppetdb_confd]# cat database.ini [database] # The database address, i.e. //HOST:PORT/DATABASE_NAME subname = //localhost:5432/puppetdb # Connect as a specific user username = puppetdb password = yeariteasif
  • k

    Ken

    03/14/2023, 7:53 PM
    I remember seeing a file that I could use to modify puppet to point to puppetdb, but I'll be danged if I can find it again.
  • k

    Ken

    03/14/2023, 7:53 PM
    šŸ¤”
  • m

    Massimiliano (Max)

    03/14/2023, 7:54 PM
    yep, that file is called: puppet.conf šŸ˜‰ and there is puppetdb.conf too on the puppet master
  • m

    Massimiliano (Max)

    03/14/2023, 7:55 PM
    there is also a cli tool that you need to run from your puppetDB:
  • m

    Massimiliano (Max)

    03/14/2023, 7:55 PM
    yep, that file is called: puppet.conf šŸ˜‰ and there is puppetdb.conf too on the puppet master
  • m

    Massimiliano (Max)

    03/14/2023, 7:57 PM
    Copy code
    puppetdb ssl-setup
  • m

    Massimiliano (Max)

    03/14/2023, 7:58 PM
    in puppet.conf, in the
    main
    section, you need to add puppetdb in reports. For instance:
    Copy code
    reports = log,puppetdb
  • m

    Massimiliano (Max)

    03/14/2023, 7:59 PM
    and ...
    Copy code
    # cat puppetdb.conf
    [main]
    server_urls = <https://puppetdb.example.org:8081/>
    soft_write_failure = true
  • m

    Massimiliano (Max)

    03/14/2023, 7:59 PM
    there is also a cli tool that you need to run from your puppetDB:
  • k

    Ken

    03/14/2023, 8:03 PM
    Thanks! I've done this twice no to no avail: /opt/puppetlabs/bin/puppetdb ssl-setup PEM files in /etc/puppetlabs/puppetdb/ssl already exists, checking integrity. Setting ssl-host in /etc/puppetlabs/puppetdb/conf.d/jetty.ini already correct. Setting ssl-port in /etc/puppetlabs/puppetdb/conf.d/jetty.ini already correct. Setting ssl-key in /etc/puppetlabs/puppetdb/conf.d/jetty.ini already correct. Setting ssl-cert in /etc/puppetlabs/puppetdb/conf.d/jetty.ini already correct. Setting ssl-ca-cert in /etc/puppetlabs/puppetdb/conf.d/jetty.ini already correct. Setting client-auth in /etc/puppetlabs/puppetdb/conf.d/jetty.ini already correct.
  • k

    Ken

    03/14/2023, 8:05 PM
    Where to insert the line in puppet.conf, [server] or [main] section?
  • k

    Ken

    03/14/2023, 8:05 PM
    Regarding puppetdb.conf, the only one on my filesystem is in a 'tmp' dir /usr/lib/tmpfiles.d/puppetdb.conf That one?
  • k

    Ken

    03/14/2023, 8:07 PM
    the contents of that puppetdb.conf don't look right at all, here's what in it: d /run/puppetlabs/puppetdb 0755 puppetdb puppetdb -
  • s

    Slackbot

    03/14/2023, 8:07 PM
    This message was deleted.
    šŸ‘€ 1
    k
    • 2
    • 2
  • v

    vchepkov

    03/14/2023, 8:17 PM
    or, just a suggestion, use puppet šŸ™‚ theforeman/puppet is your friend
  • d

    Dr Bunsen Honeydew

    03/14/2023, 8:17 PM
    See the
    theforeman-puppet
    module at https://forge.puppet.com/theforeman/puppet?src=slack&amp;channel=puppet
  • k

    Ken

    03/14/2023, 8:17 PM
    isn't that for if I'm running foreman?
  • v

    vchepkov

    03/14/2023, 8:18 PM
    nope, it's optional
1...325326327...428Latest