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

    Craig Gumbley

    10/20/2022, 10:42 AM
    Yeah its not ideal. It was chosen to keep it inline with the rest of the stuff we have.
  • c

    Craig Gumbley

    10/20/2022, 10:43 AM
    It’s something we want to bump across the board though
  • b

    bastelfreak

    10/20/2022, 10:43 AM
    but does that make sense? the majority of the rest supports older ruby versions?
  • b

    bastelfreak

    10/20/2022, 10:44 AM
    for example we rely on rubocop 1.22.x for stuff that runs on ruby 2.5, other projects pull in newer rubocop
  • v

    VoxBot

    10/20/2022, 10:45 AM
    IIRC 1.22.x also provides the --progress github option which gives you GH annotations for failed lints
  • c

    Craig Gumbley

    10/20/2022, 10:46 AM
    The annotations were in your PR which is interesting
  • c

    Craig Gumbley

    10/20/2022, 10:47 AM
    but i’m certainly not against updating and think we should align with vox as much as possible
  • c

    Craig Gumbley

    10/20/2022, 10:48 AM
    Like i say, we will be bumping the rubocop version for the modules soon… maybe we could use some of our tooling ecosystem as a stepping stone.
  • v

    VoxBot

    10/20/2022, 10:49 AM
    could also be that it was an older version already
  • c

    Craig Gumbley

    10/20/2022, 10:49 AM
    true true
  • c

    Craig Gumbley

    10/20/2022, 10:50 AM
    Can you create an issue with your case for supporting a newer version of rubocop in the puppet-lint repo? I’ll talk to the team about it today and also do some testing.
  • c

    Craig Gumbley

    10/20/2022, 10:50 AM
    Your PR has been merged now too!
  • v

    VoxBot

    10/20/2022, 10:53 AM
    technically I'm off until next week so I'll try to remember then
  • c

    Craig Gumbley

    10/20/2022, 10:54 AM
    sounds good - enjoy your break and thank you 🙂
  • b

    bastelfreak

    10/20/2022, 1:06 PM
    @Alex Fisher do you think it's helpfull for grafana_dashboard showing the diff of a dashboard?
    👀 1
  • b

    bastelfreak

    10/20/2022, 1:07 PM
    and I didn't find a param to disable the diff 😞
  • a

    Alex Fisher

    10/20/2022, 2:56 PM
    oh sorry, I started looking and then something came up.
  • a

    Alex Fisher

    10/20/2022, 2:57 PM
    This type? https://github.com/voxpupuli/puppet-grafana/blob/master/lib/puppet/type/grafana_dashboard.rb
  • a

    Alex Fisher

    10/20/2022, 2:57 PM
    This type? https://github.com/voxpupuli/puppet-grafana/blob/master/lib/puppet/type/grafana_dashboard.rb
  • b

    bastelfreak

    10/20/2022, 2:57 PM
    yes
  • a

    Alex Fisher

    10/20/2022, 2:58 PM
    I think I'm using the provisioning_dashboards parameter of the main class instead.
  • a

    Alex Fisher

    10/20/2022, 2:59 PM
    However, have you tried wrapping your data for the
    content
    property in
    Sensitive()
  • a

    Alex Fisher

    10/20/2022, 2:59 PM
    ?
  • a

    Alex Fisher

    10/20/2022, 2:59 PM
    That might 'just work'.
  • b

    bastelfreak

    10/20/2022, 3:01 PM
    nice hack. will give that a try
  • a

    Alex Fisher

    10/20/2022, 3:24 PM
    Hack? Isn’t that what it’s for?
  • a

    Alex Fisher

    10/20/2022, 3:25 PM
    Hack? Isn’t that what it’s for?
  • b

    bastelfreak

    10/20/2022, 3:38 PM
    I dont want to redact sensitive data, I dont want a json diff with 500lines
  • b

    bastelfreak

    10/20/2022, 3:38 PM
    but sensitive should work, yes
  • s

    Slackbot

    10/20/2022, 9:46 PM
    This message was deleted.
    b
    b
    • 3
    • 2
1...162163164...648Latest