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

    Slackbot

    11/08/2022, 12:06 AM
    This message was deleted.
    j
    • 2
    • 1
  • d

    Dr Bunsen Honeydew

    11/08/2022, 12:06 AM
    See the
    puppet-yum
    module at https://forge.puppet.com/puppet/yum?src=slack&channel=voxpupuli
  • v

    VoxBot

    11/08/2022, 7:17 AM
    Hello. I'm new to Vox Pupuli. I've read your documentation, but I still have a question. Do I need to get some approval if I wanna commit somewhere I haven't been a maintainer before? Now, I'm in the 'collaborators' group, and it looks like I have permission, but I still prefer to ask.
  • v

    VoxBot

    11/08/2022, 10:06 AM
    weastur: we generally prefer that any code that's written is reviewed by someone else, but I don't think we have strict rules
  • v

    VoxBot

    11/08/2022, 10:06 AM
    weastur: and if in doubt, always feel free to share the PR here and someone will take a look
  • v

    VoxBot

    11/08/2022, 10:21 AM
    weastur: Sorry for the late reply, I jsut saw your buffer. We always work with pull requests. It doesn't matter if that person has direct write access or not
  • v

    VoxBot

    11/08/2022, 10:21 AM
    has anyone an example for a puppet v3 functions that's documented with puppet-strings?
  • v

    VoxBot

    11/08/2022, 10:26 AM
    mhm, is that even supported
  • b

    bastelfreak

    11/08/2022, 10:36 AM
    @Alex Fisher ^ do you know if puppet-strings works on v3 functions?
  • b

    bastelfreak

    11/08/2022, 10:37 AM
    I couldn't find any v3 function that actually has docs 😄
  • b

    bastelfreak

    11/08/2022, 10:38 AM
    ah maybe https://github.com/puppetlabs/puppetlabs-stdlib/blob/276e7b7cd97580c9c08b264b3727e5902df1f487/lib/puppet/parser/functions/dos2unix.rb
  • b

    bastelfreak

    11/08/2022, 10:38 AM
    ah maybe https://github.com/puppetlabs/puppetlabs-stdlib/blob/276e7b7cd97580c9c08b264b3727e5902df1f487/lib/puppet/parser/functions/dos2unix.rb
  • a

    Alex Fisher

    11/08/2022, 11:06 AM
    I guess so. https://github.com/puppetlabs/puppet-strings/blob/f4522efeb1cc199b55b62d5662129e941e26363b/lib/puppet-strings/markdown/function.rb#L31
  • a

    Alex Fisher

    11/08/2022, 11:06 AM
    I guess so. https://github.com/puppetlabs/puppet-strings/blob/f4522efeb1cc199b55b62d5662129e941e26363b/lib/puppet-strings/markdown/function.rb#L31
  • a

    Alex Fisher

    11/08/2022, 11:06 AM
    I always found it a bit fussy with even modern API functions though, so YMMV.
  • a

    Alex Fisher

    11/08/2022, 2:16 PM
    ewoud: Did you get chance to look at that puppet_metadata PR? I'll swap you another random theforeman doc PR or something! :)
  • v

    VoxBot

    11/08/2022, 2:17 PM
    nope, between Foreman branching and Foreman RC1 release
  • a

    Alex Fisher

    11/08/2022, 2:18 PM
    yeah, I've noticed you've been busy there. You can have a manual PR anyway. Two tics...
  • a

    Alex Fisher

    11/08/2022, 2:26 PM
    Of course before I create my one liner patch, I have to figure out which repo the manual moved to first.
  • a

    Alex Fisher

    11/08/2022, 2:30 PM
    ignore me. It didn't go anyway, I was just looking at an old commit...
  • v

    VoxBot

    11/08/2022, 2:39 PM
    o/
  • v

    VoxBot

    11/08/2022, 2:39 PM
    I do stuff like ruby -I/some/paths /my/script param1 paramN
  • v

    VoxBot

    11/08/2022, 2:40 PM
    in /my/script I require a file. In that required file I need to figure out what param1 is, but without changing code in /my/script. Anyone has an idea?
  • v

    VoxBot

    11/08/2022, 2:40 PM
    in theory there is $* which provides all arguments, but I think that only works directly in /my/script and isn't inherited to my required file
  • a

    Alex Fisher

    11/08/2022, 2:59 PM
    @bastelfreak ARGV is accessible globally??
  • b

    bastelfreak

    11/08/2022, 3:02 PM
    yes, but it's an empty array in libs
  • b

    bastelfreak

    11/08/2022, 3:02 PM
    only the initial script has data in ARGV
  • a

    Alex Fisher

    11/08/2022, 3:02 PM
    not for me.
  • a

    Alex Fisher

    11/08/2022, 3:03 PM
    Or am I missing something?
  • b

    bastelfreak

    11/08/2022, 3:05 PM
    ah ARGS
1...183184185...648Latest