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

    bastelfreak

    04/23/2023, 12:15 PM
    I ranted about this on IRC: we inherited https://rubygems.org/gems/puppet-lint-manifest_whitespace-check (huray). the last release from the last owner enforced MFA for all new releases
  • b

    bastelfreak

    04/23/2023, 12:15 PM
    and I don't see an option to do this properly in our CI
  • s

    Slackbot

    04/23/2023, 12:16 PM
    This message was deleted.
    c
    • 2
    • 1
  • b

    bastelfreak

    04/23/2023, 12:16 PM
    I'm not 100% sure how the webauthn option works, but I currently see no option with that either
  • m

    Massimiliano (Max)

    04/23/2023, 12:53 PM
    This is what I am trying to do:
    Copy code
    Variant[Enum['nomad_validator', 'ruby_validator'], Pattern[/\A.*\ %\z/]] config_validator = 'nomad_validator,
    and in the manifest:
    Copy code
    $validate_cmd = $nomad::config_validator ? {
      'nomad_validator' => 'nomad config validate %',
      'ruby_validator' => '/usr/local/bin/config_validate.rb %',
      default => $nomad::config_validator,
    }
  • b

    bastelfreak

    04/23/2023, 12:56 PM
    sounds good
  • m

    Massimiliano (Max)

    04/23/2023, 12:57 PM
    and also try to use
    #!/usr/bin/env ruby
    ....
  • v

    vchepkov

    04/23/2023, 2:23 PM
    was about to submit amazon changes to puppet-yum, but yumrepo_core has issues with there URIs
  • d

    Dr Bunsen Honeydew

    04/23/2023, 2:23 PM
    See the
    puppet-yum
    module at https://forge.puppet.com/puppet/yum?src=slack&channel=voxpupuli
  • v

    vchepkov

    04/23/2023, 2:24 PM
    variables are legal in URI, but yumrepo doesn't handle it properly
  • v

    vchepkov

    04/23/2023, 2:25 PM
    Copy code
    "$awsproto://$amazonlinux.$awsregion.$awsdomain/$releasever/$product/$target/debuginfo/$basearch/mirror.list"
  • v

    vchepkov

    04/23/2023, 2:26 PM
    I can hardcode to
    https://
    for now?
  • v

    vchepkov

    04/23/2023, 2:28 PM
    Copy code
    $ cat /etc/yum/vars/awsproto 
    https
  • c

    Craig Gumbley

    04/24/2023, 8:23 AM
    Hey! Would it be possible to merge this PR and get a release of json_schema please? I’m happy to make sure the PR is conflict free / up to date
  • b

    bastelfreak

    04/24/2023, 8:25 AM
    when you rebase that I can merge and release
  • c

    Craig Gumbley

    04/24/2023, 8:28 AM
    thanks - just doing it now
  • c

    Craig Gumbley

    04/24/2023, 8:38 AM
    @bastelfreak Rebased and the tests are green 🙂
  • a

    Alex Fisher

    04/24/2023, 8:43 AM
    I wonder if Puppet agent 8 should actually ship with ruby 3.1 instead of 3.2 so that it matches the puppetserver jruby 9.4??? Maybe not. It doesn’t appear to have been a major problem with puppet 7.
  • c

    Craig Gumbley

    04/24/2023, 8:43 AM
    @bastelfreak will the release be a major bum bump?
  • c

    Craig Gumbley

    04/24/2023, 8:49 AM
    🤣
  • c

    Craig Gumbley

    04/24/2023, 8:50 AM
    typo
  • b

    bastelfreak

    04/24/2023, 8:51 AM
    I really don't want an older version of ruby in Puppet 7 because then we've the same situation as we had with Puppet 6: Puppet was still supported but Ruby 2.5 was already dead upstream and didn't get any security fixes
  • b

    bastelfreak

    04/24/2023, 8:52 AM
    Instead we should work on a process to deliver new jruby releases within one puppetserver release
  • b

    bastelfreak

    04/24/2023, 8:54 AM
    @Craig Gumbley https://github.com/voxpupuli/json-schema/pull/388 is that a breaking change or a bugfix?
  • c

    Craig Gumbley

    04/24/2023, 8:55 AM
    I think it’s a bug fix…
  • c

    Craig Gumbley

    04/24/2023, 8:55 AM
    have spent a few minutes thinking about it
  • m

    Massimiliano (Max)

    04/24/2023, 8:55 AM
    for the sake of re-sharing ruby (puppet won't be able to find its ruby interpreter) https://github.com/voxpupuli/puppet-nomad/pull/85#issuecomment-1519653818
  • c

    Craig Gumbley

    04/24/2023, 8:55 AM
    the original change was breaking.. but that meant it was actually then completely broken for draft 6
  • c

    Craig Gumbley

    04/24/2023, 8:56 AM
    so this is really a revert / fix
  • c

    Craig Gumbley

    04/24/2023, 8:56 AM
    The only way it could impact people is if they have updated their schemas so that it passes the validation
1...426427428...647Latest