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

    Stephen

    11/04/2024, 2:10 PM
    If I set it to true inline the catalog does not compile
  • b

    bastelfreak

    11/04/2024, 2:24 PM
    can you share the code?
  • s

    Stephen

    11/04/2024, 2:24 PM
    Im trying to make a minimal case
  • s

    Stephen

    11/04/2024, 2:30 PM
    Think I got it
    d
    b
    • 3
    • 33
  • b

    Brian Schonecker

    11/04/2024, 2:32 PM
    I have an s390 module that I wrote long ago that is no longer useful to me. If there's anyone out there that uses s390 and 'cpuplugd' I'd be willing to donate my module to the community -- if there's interest.
  • b

    Brian Schonecker

    11/04/2024, 2:33 PM
    It works but it's nowhere near the quality that it should be.
  • m

    matt

    11/04/2024, 3:16 PM
    what are you all doing for postgres/mariadb instance creation / management, especially replication
  • m

    matt

    11/04/2024, 3:16 PM
    what modules/hacks are you using with puppet
  • b

    bastelfreak

    11/04/2024, 3:17 PM
    best tip for mariadb ist to replace it with postgres
    💯 4
  • b

    bastelfreak

    11/04/2024, 3:17 PM
    for postgres, you could use patroni
    âž• 1
  • m

    matt

    11/04/2024, 3:17 PM
    ha ha ha ha ha ha ha ha ha ha ha
  • m

    matt

    11/04/2024, 3:17 PM
    always enjoys your tips
  • b

    bastelfreak

    11/04/2024, 3:17 PM
    smart
  • m

    matt

    11/04/2024, 3:18 PM
    not used patroni before, I was more talking about modules
  • b

    bastelfreak

    11/04/2024, 3:18 PM
    there's a patroni module as well, from @ghoneycutt
  • m

    matt

    11/04/2024, 3:18 PM
    want to try to bring my postgres deployments (and maria - sorry) into alignment
  • b

    bastelfreak

    11/04/2024, 3:18 PM
    if streaming replication is enough, that's built into postgres itself
  • m

    matt

    11/04/2024, 3:19 PM
    streaming would meet the needs
  • m

    matt

    11/04/2024, 3:19 PM
    these are not big boy resources
  • b

    bastelfreak

    11/04/2024, 3:19 PM
    https://github.com/hapostgres/pg_auto_failover that also works well
  • m

    matt

    11/04/2024, 3:19 PM
    ooh interesting
  • m

    matt

    11/04/2024, 3:21 PM
    how do you find managing PG instances with puppet, I've not really done much with it before beyond the package installation and config parameters
  • b

    bastelfreak

    11/04/2024, 3:26 PM
    For clusters, it depends. They usually have their own cluster manager that enforces state. So you need to check what it does and use puppet for the rest
  • b

    bastelfreak

    11/04/2024, 3:26 PM
    The pupetlabs/postgresql is quite nice
  • m

    matt

    11/04/2024, 3:27 PM
    yeah, that's a fair point
  • b

    bastelfreak

    11/04/2024, 3:27 PM
    And supports managing users and DBs
  • m

    matt

    11/04/2024, 3:27 PM
    I'm playing with the puppetlabs module at the moment
  • y

    Yorokobi

    11/04/2024, 4:01 PM
    Is this valid syntax?
    Copy code
    if /^hostname-(1|2|3)/ in $trusted['certname'] { ... }
  • v

    vchepkov

    11/04/2024, 4:02 PM
    I don't think so
  • v

    vchepkov

    11/04/2024, 4:03 PM
    Copy code
    if $trusted['certname'] =~ /^hostname-(1|2|3)/ {
1...422423424...428Latest