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

    VoxBot

    05/09/2025, 9:18 AM
    even then, other modules may define it as well
  • v

    VoxBot

    05/09/2025, 9:18 AM
    yes
  • v

    VoxBot

    05/09/2025, 9:19 AM
    only if postgresql:server:db knows how to map the locale parameter to a locale package
  • v

    VoxBot

    05/09/2025, 9:19 AM
    Throw a warning if not installed
  • v

    VoxBot

    05/09/2025, 9:19 AM
    I mean… what if I put tlh.utf-8 there?
  • v

    VoxBot

    05/09/2025, 9:20 AM
    👋
  • v

    VoxBot

    05/09/2025, 9:20 AM
    yes, it would need some lookup map
  • v

    VoxBot

    05/09/2025, 9:20 AM
    then someone will set your bike on fire
  • v

    VoxBot

    05/09/2025, 9:20 AM
    and someone may need the washing machine again
  • v

    VoxBot

    05/09/2025, 9:20 AM
    Or go silly and make a fact that checks for what you need
  • v

    VoxBot

    05/09/2025, 9:20 AM
    the warning already "exists": psql refuses to create the DB if the locale is not available
  • v

    VoxBot

    05/09/2025, 9:21 AM
    scratches chin
  • v

    VoxBot

    05/09/2025, 9:28 AM
    some more people here with opinions on https://github.com/voxpupuli/puppet-syntax/pull/181 ?
  • v

    VoxBot

    05/09/2025, 10:27 AM
    i'm building a module diff for ra10ke. does someone know how to get the parameter into the rake task without quoting the braces?
    Copy code
    bundle exec rake r10k:diff\[branch_a,branch_b\]  NAME    | VERSION_A       | VERSION_B | STATUS  --------|-----------------|-----------|-------- inifile | 5.0.1           | 6.2.0     | changed nginx   | docs_experiment |           | removed rwaffen | v1.0.0          |           | removed
  • v

    VoxBot

    05/09/2025, 10:28 AM
    AFAIK that's your shell so you can also use "r10k:diff[branch_a,branch_b]"
  • v

    VoxBot

    05/09/2025, 10:28 AM
    Use env vars :)
  • v

    VoxBot

    05/09/2025, 10:29 AM
    you are right, my shell dont like me doing plain braces
  • v

    VoxBot

    05/09/2025, 10:29 AM
    IIRC it’s possible to pass them after the rake invocation (rake foo BAR=BAZ)
  • v

    VoxBot

    05/09/2025, 10:30 AM
    yes, the i have to fetch tm from ENV or do ARGS
  • v

    VoxBot

    05/09/2025, 10:30 AM
    then
  • v

    VoxBot

    05/09/2025, 10:31 AM
    I always feel that passing arguments to rake tasks is awkward and at some point you should write a proper CLI instead
  • v

    VoxBot

    05/09/2025, 10:32 AM
    its very awkward indeed, i also have the feeling this is not supposed to happen 😄
  • v

    VoxBot

    05/09/2025, 10:33 AM
    maybe i can integrate optparse somehow
  • v

    VoxBot

    05/09/2025, 10:33 AM
    doesn't r10k itself already have it built in?
  • v

    VoxBot

    05/09/2025, 10:33 AM
    diffing? no
  • v

    VoxBot

    05/09/2025, 10:35 AM
    i didnt find it. please dont say i wasted my time again XD
  • v

    VoxBot

    05/09/2025, 10:36 AM
    it does feel like that's something that's close to the tool itself
  • v

    VoxBot

    05/09/2025, 10:37 AM
    yep, its the sole thing r10k should do, look if modules in a puppetfile changed 😄
  • v

    VoxBot

    05/09/2025, 10:38 AM
    r10k is in a poor state, like so many repos from Perforce :(
  • v

    VoxBot

    05/09/2025, 10:38 AM
    I think you should start with Perforce repos in a good state because then you'll be done faster
1...636637638639640Latest