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

    VoxBot

    01/09/2024, 10:48 AM
    bastelfreak: just waiting on CI
  • v

    VoxBot

    01/09/2024, 10:50 AM
    "No binary rubies available for: oracle/8/x86_64/ruby-2.6.5" …
  • v

    VoxBot

    01/09/2024, 10:51 AM
    lol
  • v

    VoxBot

    01/09/2024, 10:51 AM
    that's new
  • v

    VoxBot

    01/09/2024, 10:51 AM
    and "No binary rubies available for: oracle/8/x86_64/ruby-2.7.0" too
  • v

    VoxBot

    01/09/2024, 10:51 AM
    and then CI fails because we don't install all the compile tools to build one
  • v

    VoxBot

    01/09/2024, 10:51 AM
    lovely
  • v

    VoxBot

    01/09/2024, 10:52 AM
    just remove it from metadata.json?
  • v

    VoxBot

    01/09/2024, 10:52 AM
    was going to be my suggestion
  • v

    VoxBot

    01/09/2024, 10:52 AM
    nods
  • v

    VoxBot

    01/09/2024, 10:57 AM
    https://github.com/voxpupuli/facterdb/pull/298
  • v

    VoxBot

    01/09/2024, 10:57 AM
    a good stress test for the GH UI
  • v

    VoxBot

    01/09/2024, 10:58 AM
    :D
  • v

    VoxBot

    01/09/2024, 10:58 AM
    yes
  • v

    VoxBot

    01/09/2024, 11:14 AM
    mhm spec tests don't like me
  • v

    VoxBot

    01/09/2024, 11:59 AM
    mhm if someone has an idea about https://github.com/voxpupuli/facterdb/pull/298 please let me know
  • d

    Dennis Plöger

    01/09/2024, 12:36 PM
    Hey there, I have a question regarding the stdlib deprecations pre 9.0 and I hope I’m in the right channel. The problem is, that we don’t see the deprecations warnings. We added
    STDLIB_LOG_DEPRECATIONS=true
    to the Puppet server as well as the agent but no deprecations come up, neither in the puppetserver log nor in the agent log. Only if we comment out the conditional for the env variable in
    lib/puppet/parser/functions/deprecation.rb
    we see the deprecations. Does anybody have an idea what could be wrong here? We’re currently in the process of migrating our (component) modules to stdlib >=9. Thanks!
  • b

    bastelfreak

    01/09/2024, 12:44 PM
    https://github.com/puppetlabs/puppetlabs-stdlib/blob/v8.6.0/lib/puppet/parser/functions/deprecation.rb#L18 the parse error should always be logged to puppetserver.log
  • v

    VoxBot

    01/09/2024, 12:46 PM
    GH HTTP 500 time again, so lunch time
  • d

    Dennis Plöger

    01/09/2024, 12:47 PM
    @bastelfreak Parse Error? No, I meant the deprecation warning starting with the conditional in this line: https://github.com/puppetlabs/puppetlabs-stdlib/blob/v8.6.0/lib/puppet/parser/functions/deprecation.rb#L23
  • d

    Dennis Plöger

    01/09/2024, 12:47 PM
    This conditional is never true in our case for whatever reason…
  • b

    bastelfreak

    01/09/2024, 12:52 PM
    ah I confused myself
    ❤️ 1
  • b

    bastelfreak

    01/09/2024, 12:52 PM
    https://github.com/puppetlabs/puppetlabs-stdlib/blob/v8.6.0/lib/puppet/functions/deprecation.rb that's the file I had in mind and that logs to puppetserver.log by default
  • d

    Dennis Plöger

    01/09/2024, 12:53 PM
    Yeah, interestingly enough, that file isn’t even reached on our side (tested with raise-commands in the file), our deprecations are only logged by the parser/functions function. Which is odd to me because THOSE functions are pre Puppet4 function implementations, right?
  • b

    bastelfreak

    01/09/2024, 12:54 PM
    which specific function do you have in your puppet code that doesn't trigger a deprecation?
  • d

    Dennis Plöger

    01/09/2024, 12:55 PM
    validate_re for example.
  • d

    Dennis Plöger

    01/09/2024, 12:56 PM
    But also validate_bool, etc. In fact I’m migrating the old AEM module by bstopp: https://github.com/dodevops/puppet-aem/tree/main
  • d

    Dennis Plöger

    01/09/2024, 12:56 PM
    e.g. this call: https://github.com/dodevops/puppet-aem/blob/main/manifests/instance.pp#L33
  • b

    bastelfreak

    01/09/2024, 1:17 PM
    https://github.com/puppetlabs/puppetlabs-stdlib/blob/v8.6.0/lib/puppet/functions/validate_re.rb this call this: https://github.com/puppetlabs/puppetlabs-stdlib/blob/v8.6.0/lib/puppet/functions/deprecation.rb
  • b

    bastelfreak

    01/09/2024, 1:17 PM
    Do you have
    strict
    configured on the puppetserver?
1...586587588...648Latest