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

    bastelfreak

    05/13/2022, 6:27 PM
    thats why our puppet/r10k module defaults to install the r10k gem into the agent ruby version
  • d

    Dr Bunsen Honeydew

    05/13/2022, 6:27 PM
    See the
    puppet-r10k
    module at https://forge.puppet.com/puppet/r10k?src=slack&channel=voxpupuli
  • d

    dhollinger

    05/13/2022, 6:29 PM
    That's what I thought. Makes creating any docker container a bit annoying for webhook. I wanted a scratch container, but that won't work with r10k since it needs a shell.
  • b

    bastelfreak

    05/13/2022, 6:36 PM
    there is the puppet dev container, I think that has r10k
  • b

    bastelfreak

    05/13/2022, 6:37 PM
    https://github.com/puppetlabs/puppet-dev-tools
  • b

    bastelfreak

    05/13/2022, 6:37 PM
    https://github.com/puppetlabs/puppet-dev-tools
  • b

    bastelfreak

    05/13/2022, 6:38 PM
    oh it lacks r10k I think
  • b

    bastelfreak

    05/13/2022, 6:39 PM
    ah there is https://hub.docker.com/r/puppet/r10k
  • t

    tvaughan

    05/13/2022, 6:52 PM
    We made our own RPM: https://github.com/simp/pkg-r10k
  • t

    tvaughan

    05/13/2022, 6:52 PM
    We made our own RPM: https://github.com/simp/pkg-r10k
  • s

    Slackbot

    05/13/2022, 6:53 PM
    This message was deleted.
    o
    • 2
    • 1
  • t

    tvaughan

    05/13/2022, 6:53 PM
    Wrapper script included
  • b

    bastelfreak

    05/13/2022, 6:55 PM
    which ruby does it us
  • b

    bastelfreak

    05/13/2022, 6:55 PM
    *use
  • t

    tvaughan

    05/13/2022, 6:55 PM
    The puppet one IIRC
  • t

    tvaughan

    05/13/2022, 6:55 PM
    But you could easily mod the wrapper to use whatever you want
  • b

    bastelfreak

    05/13/2022, 6:57 PM
    mhm okay
  • t

    tvaughan

    05/13/2022, 6:58 PM
    If the puppet ruby is there, it'll use that one, if not, it will use whatever is on your PATH https://github.com/simp/pkg-r10k/blob/master/build/simp-vendored-r10k.spec.erb#L116
  • t

    tvaughan

    05/13/2022, 6:58 PM
    Oh, it depends on where you build it. If the puppet ruby is there, it'll use that one, if not, it will use whatever is on your PATH https://github.com/simp/pkg-r10k/blob/master/build/simp-vendored-r10k.spec.erb#L116
  • t

    tvaughan

    05/13/2022, 7:01 PM
    If the puppet ruby is there, it'll use that one, if not, it will use whatever is on your PATH https://github.com/simp/pkg-r10k/blob/master/build/simp-vendored-r10k.spec.erb#L116
  • n

    nwops

    05/13/2022, 7:03 PM
    https://github.com/voxpupuli/puppet-snmp/blob/master/manifests/init.pp#L265
  • n

    nwops

    05/13/2022, 7:03 PM
    https://github.com/voxpupuli/puppet-snmp/blob/master/manifests/init.pp#L265
  • s

    Slackbot

    05/13/2022, 7:03 PM
    This message was deleted.
    a
    n
    • 3
    • 2
  • b

    bastelfreak

    05/13/2022, 7:06 PM
    @nwops looks like it, yes
  • d

    dhollinger

    05/13/2022, 9:35 PM
    @bastelfreak found an official r10k container and built webhook off that, but it fails to run r10k due to the puppet binary not existing 😕
  • b

    bastelfreak

    05/13/2022, 9:36 PM
    ah, meh
  • b

    bastelfreak

    05/13/2022, 9:36 PM
    for the generate types I guess
  • b

    bastelfreak

    05/13/2022, 9:36 PM
    for the generate types I guess
  • d

    dhollinger

    05/13/2022, 9:37 PM
    yeah
  • g

    Greg Dubicki

    05/16/2022, 7:12 AM
    hi! we have pre-released Puppetboard v3.5.0rc1 with an improved (Puppet run) Report view. please check it out and share you feedback here or under the linked GitHub PR.
1...363738...648Latest