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

    vchepkov

    08/16/2022, 6:15 PM
    https://github.com/voxpupuli/puppet-yum/blob/master/manifests/init.pp#L147-L169
  • v

    vchepkov

    08/16/2022, 6:19 PM
    that's wrong
  • v

    vchepkov

    08/16/2022, 6:20 PM
    doesn't import it at all, I confirm
  • v

    vchepkov

    08/16/2022, 6:42 PM
    do'h, never mind, in my case I use local repo
  • j

    jhoblitt

    08/16/2022, 6:43 PM
    @bastelfreak hmmm. https://github.com/heini/puppet-wait-for/blob/master/lib/puppet/type/wait_for.rb
  • j

    jhoblitt

    08/16/2022, 6:43 PM
    @bastelfreak hmmm. https://github.com/heini/puppet-wait-for/blob/master/lib/puppet/type/wait_for.rb
  • b

    bastelfreak

    08/16/2022, 6:45 PM
    oh nice
  • s

    Slackbot

    08/16/2022, 6:45 PM
    This message was deleted.
    j
    b
    • 3
    • 8
  • v

    VoxBot

    08/16/2022, 10:59 PM
    https://github.com/voxpupuli/puppet-openldap/pull/356
  • v

    VoxBot

    08/16/2022, 10:59 PM
    ^^^ An easy one to review :-)
  • s

    Slackbot

    08/17/2022, 4:52 PM
    This message was deleted.
    j
    • 2
    • 1
  • v

    VoxBot

    08/17/2022, 5:04 PM
    is https://github.com/voxpupuli/voxpupuli-acceptance/#environment-variables-to-facts useful here?
  • v

    VoxBot

    08/17/2022, 5:05 PM
    I'd be happy to extend https://github.com/voxpupuli/voxpupuli-acceptance/blob/master/lib/voxpupuli/acceptance/facts.rb to also read a file or change logic to better suit your needs
  • v

    VoxBot

    08/17/2022, 5:09 PM
    Hiera integration is also doing something similar, but there we use relative paths and assume we're in the right directory
  • b

    Brian Schonecker

    08/17/2022, 5:16 PM
    I opened an issue regarding the GPG key: https://github.com/voxpupuli/puppet-yum/issues/273
  • j

    jhoblitt

    08/17/2022, 8:35 PM
    Uh. The
    PathSpec
    used by
    .pmtignore
    will match any dir unless there is a separated as the start of the pattern per https://git-scm.com/docs/gitignore. What this means is that https://github.com/voxpupuli/modulesync_config/blob/master/moduleroot/.pmtignore.erb#L17 will match
    templates/log/
    and remove it from a forge tarball. I think the fixes is probably to be prefix all paths with
    /
    so they become relative to the root of the module. E.g.
    log/
    becomes
    /log/
    . Any thoughts?
  • j

    jhoblitt

    08/17/2022, 8:35 PM
    Uh. The
    PathSpec
    used by
    .pmtignore
    will match any dir unless there is a separated as the start of the pattern per https://git-scm.com/docs/gitignore. What this means is that https://github.com/voxpupuli/modulesync_config/blob/master/moduleroot/.pmtignore.erb#L17 will match
    templates/log/
    and remove it from a forge tarball. I think the fixes is probably to be prefix all paths with
    /
    so they become relative to the root of the module. E.g.
    log/
    becomes
    /log/
    . Any thoughts?
  • s

    Slackbot

    08/17/2022, 8:36 PM
    This message was deleted.
    j
    • 2
    • 1
  • j

    jhoblitt

    08/17/2022, 8:47 PM
    How about https://github.com/voxpupuli/modulesync_config/pull/791 as a starting point for discussion?
  • j

    jhoblitt

    08/18/2022, 9:48 PM
    @bastelfreak re: https://github.com/voxpupuli/modulesync_config/pull/791 Is the forge indexer code public?
  • j

    jhoblitt

    08/18/2022, 9:48 PM
    @bastelfreak re: https://github.com/voxpupuli/modulesync_config/pull/791 Is the forge indexer code public?
  • b

    bastelfreak

    08/18/2022, 9:49 PM
    I dont know. But maybe @binford2k knows which files/dirs the forge accepts/filters for new module releases/if thats documents/if the forge doesnt modify it at all
  • b

    binford2k

    08/18/2022, 9:50 PM
    what’s context? And what do you mean by indexer?
  • b

    binford2k

    08/18/2022, 9:50 PM
    oh, the zipbomb question?
  • b

    bastelfreak

    08/18/2022, 9:50 PM
    yes
  • j

    jhoblitt

    08/18/2022, 9:51 PM
    @binford2k yes, basically, we want to know which files the forge actually cares about
  • b

    binford2k

    08/18/2022, 9:52 PM
    it truly only cares that it’s a directory with a
    metadata.json
    at the root. If there’s a readme, that’s parsed. If there’s a reference, that’s parsed, etc
  • b

    binford2k

    08/18/2022, 9:53 PM
    I don’t know if it’s vulnerable to a zipbomb though. I have to imagine that was tested at some point, but I’d have to go look at code & history, etc
  • b

    bastelfreak

    08/18/2022, 9:54 PM
    I know that code manager strips the spec/ dir beofr it commits to filesync. I thought the forge might filter stuff out as well. but maybe thats only happening during puppet module build via .pmtignore/.gitignore
  • b

    binford2k

    08/18/2022, 9:54 PM
    yep, it’s in pdk build
1...129130131...648Latest