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

    VoxBot

    07/07/2023, 1:43 PM
    really helps with quickly iterating on tests when you don't need to wait so long
  • v

    VoxBot

    07/07/2023, 1:43 PM
    ah nice
  • v

    VoxBot

    07/07/2023, 1:44 PM
    lets merge it?
  • s

    Slackbot

    07/07/2023, 1:44 PM
    This message was deleted.
    v
    y
    • 3
    • 3
  • v

    VoxBot

    07/07/2023, 1:45 PM
    bastelfreak: I still need to fix the tests on the second patch but https://github.com/voxpupuli/rspec-puppet-facts/pull/151 feels ready
  • v

    VoxBot

    07/07/2023, 1:45 PM
    I do get more warnings though
  • v

    VoxBot

    07/07/2023, 1:45 PM
    try it out? :)
  • v

    VoxBot

    07/07/2023, 1:45 PM
    probably ignores it
  • y

    Yury Bushmelev

    07/07/2023, 1:50 PM
    btw,
    <%- $mailhost_cfg_prepend.sort_by{ |k,v| k}.each do |key,value| %>
    <- no
    $
    in vars
  • v

    VoxBot

    07/07/2023, 1:50 PM
    oh yes, I don't replace any var, just @var
  • y

    Yury Bushmelev

    07/07/2023, 1:50 PM
    so it’s not that easy..
  • v

    VoxBot

    07/07/2023, 1:51 PM
    https://gist.github.com/ekohl/28443e6ba178c931bb69285e976568eb#file-erb2epp-rb-L18 needs some work then
  • v

    VoxBot

    07/07/2023, 1:51 PM
    change @ to @?
  • v

    VoxBot

    07/07/2023, 1:51 PM
    and I'd still like to extract all @var instances and create a data type declaration at the start so you don't need to gather them manually
  • y

    Yury Bushmelev

    07/07/2023, 1:52 PM
    ah, yes, that’d be useful!
  • y

    Yury Bushmelev

    07/07/2023, 1:53 PM
    well.. I guess I’ll work on the templates first.. at least I’d like to replace mailhost templates today (even manually)
  • y

    Yury Bushmelev

    07/07/2023, 1:53 PM
    then I’ll have a look on the erb2epp
  • y

    Yury Bushmelev

    07/07/2023, 1:53 PM
    sort_by() is wrong in EPP anyway
  • v

    VoxBot

    07/07/2023, 1:54 PM
    can I get a review for https://github.com/voxpupuli/puppet-syntax/pull/148 and https://github.com/voxpupuli/puppet-syntax/pull/149
  • v

    VoxBot

    07/07/2023, 1:56 PM
    I'm trying to use Hiera data in my tests and it's not working, but I'm wondering where the error is
  • v

    VoxBot

    07/07/2023, 1:56 PM
    anyone used Hiera in unit tests before?
  • v

    VoxBot

    07/07/2023, 1:58 PM
    what kind of hiera? hiera in modules?
  • v

    VoxBot

    07/07/2023, 1:58 PM
    see, complaining on IRC works because now I found that I specified the datadir wrong in hiera.yaml
  • v

    VoxBot

    07/07/2023, 1:58 PM
    or specific hiera files for tests
  • v

    VoxBot

    07/07/2023, 1:58 PM
    I'm happy to help! :D
  • v

    VoxBot

    07/07/2023, 1:58 PM
    I forgot it was relative to hiera.yaml
  • y

    Yury Bushmelev

    07/07/2023, 2:53 PM
    ewoud: how do you think is it possible to handle :code with some ruby parser? it should be valid (though incomplete) code I guess
  • v

    VoxBot

    07/07/2023, 2:54 PM
    no it's not - I tried
  • y

    Yury Bushmelev

    07/07/2023, 2:54 PM
    at least to split it into some tokens
  • y

    Yury Bushmelev

    07/07/2023, 2:54 PM
    that’s pity
1...546547548...648Latest