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

    bastelfreak

    11/08/2022, 3:05 PM
    I tried ARGV
  • b

    bastelfreak

    11/08/2022, 3:05 PM
    ah read it wrong
  • b

    bastelfreak

    11/08/2022, 3:05 PM
    ok, let me test that later again
  • a

    Alex Fisher

    11/08/2022, 3:05 PM
    No, ARGV.
    ARGS
    is just me trying to confuse you! 🙂
  • b

    bastelfreak

    11/08/2022, 3:06 PM
    :p
  • v

    VoxBot

    11/08/2022, 3:06 PM
    argh?
  • b

    bastelfreak

    11/08/2022, 3:07 PM
    I have an overlapping meeting, might not make it to the office hour
  • a

    Alex Fisher

    11/08/2022, 3:07 PM
    oh, sorry. I attached a png. That probably didn't make it to IRC?
  • b

    binford2k

    11/08/2022, 3:17 PM
    @bastelfreak heh. And I'll need to cut it short too since I'm heading out on holiday
  • b

    binford2k

    11/08/2022, 3:17 PM
    (I'm ok skipping if people don't have pressing topics)
  • a

    Alex Fisher

    11/08/2022, 3:33 PM
    Somewhere nice?
  • b

    binford2k

    11/08/2022, 3:34 PM
    Portugal and Morocco
  • b

    binford2k

    11/08/2022, 3:36 PM
    okie doke. Let's skip this one. Cheers!
  • j

    jhoblitt

    11/08/2022, 4:21 PM
    I have opened a place holder PR for AlmaLinux 9 support.
  • j

    jhoblitt

    11/08/2022, 4:25 PM
    Could I get a quick review on https://github.com/voxpupuli/puppet-yum/pull/282 ? I'm unsure if linter fixes should be skip-changelog or a bug?
  • j

    jhoblitt

    11/08/2022, 4:25 PM
    Could I get a quick review on https://github.com/voxpupuli/puppet-yum/pull/282 ? I'm unsure if linter fixes should be skip-changelog or a bug?
  • j

    jhoblitt

    11/08/2022, 4:41 PM
    @vchepkov ++
    👍 1
  • d

    Dr Bunsen Honeydew

    11/08/2022, 4:41 PM
    vchepkov +1! (Karma: 12)
  • y

    Yesh

    11/08/2022, 4:52 PM
    Hello all. I don't mean to be a bugger or to induce a sense of rush (there isn't one), but could I get some feedback on a
    puppet-php
    PR? The Zend team is working on puppet integrations since Puppet has become a sibling. https://github.com/voxpupuli/puppet-php/pull/671
  • d

    Dr Bunsen Honeydew

    11/08/2022, 4:52 PM
    See the
    puppet-php
    module at https://forge.puppet.com/puppet/php?src=slack&channel=voxpupuli
  • v

    VoxBot

    11/08/2022, 4:55 PM
    looks like puppet-strings is only required for the :release group, my guess is that it is needed for the :test group for puppet-php? might just try adding it manually to the :test group or the global group and rerunning (and if that succeeds making a bug report/checking for a modulesync PR)
  • y

    Yesh

    11/08/2022, 4:58 PM
    Thanks. I'll look into that.
  • j

    jhoblitt

    11/08/2022, 5:38 PM
    @smortex ++
  • d

    Dr Bunsen Honeydew

    11/08/2022, 5:38 PM
    smortex +1! (Karma: 3)
  • s

    Slackbot

    11/08/2022, 5:41 PM
    This message was deleted.
    j
    r
    s
    • 4
    • 22
  • j

    jhoblitt

    11/08/2022, 5:41 PM
    @smortex I just discovered yaml-sort! What I want to do is generated sort yaml output from ruby data types. Based on https://github.com/smortex/yaml-sort/blob/330c008c1ba68548c215d8e06e5c41f97720a6d2/lib/yaml/sort/cli.rb#L71-L75 I think the best way to achieve this is to first use YAML#dump to create a yaml string and then re-parse it to get into the mods internal doc format, and then dump it out again. E.g.:
    Copy code
    raw_yaml = YAML.dump(doc)
    sorted_yaml Yaml::Sort::Parser.new.parse(raw_yaml).sort
    puts "---\n#{document}\n"
  • j

    jhoblitt

    11/08/2022, 5:42 PM
    @smortex I just discovered yaml-sort! What I want to do is generated sort yaml output from ruby data types. Based on https://github.com/smortex/yaml-sort/blob/330c008c1ba68548c215d8e06e5c41f97720a6d2/lib/yaml/sort/cli.rb#L71-L75 I think the best way to achieve this is to first use YAML#dump to create a yaml string and then re-parse it to get into the mods internal doc format, and then dump it out again. E.g.:
    Copy code
    raw_yaml = YAML.dump(doc)
    sorted_yaml = Yaml::Sort::Parser.new.parse(raw_yaml).sort
    puts "---\n#{sorted_yaml}\n"
  • j

    jhoblitt

    11/08/2022, 6:01 PM
    It would be nice if there was a way to indent arrays but it looks like it is hardcoded to not indent? https://github.com/smortex/yaml-sort/blob/ca8178ded8739b03d13d36dccffd7bc81b87b342/lib/yaml/sort/list.rb#L25
  • s

    smortex

    11/08/2022, 9:14 PM
    👋 @jhoblitt regarding array indentation, I guess you are referring to what is described in this issue: https://github.com/smortex/yaml-sort/issues/4 ?
  • j

    jhoblitt

    11/08/2022, 9:22 PM
    https://github.com/adrienverge/yamllint/issues/62#issuecomment-949991685
1...184185186...648Latest