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

    tvaughan

    10/13/2022, 1:07 PM
    If you need something a bit more interesting for munging existing (or creating if not existing) resources https://github.com/simp/pupmod-simp-deferred_resources/
  • t

    tvaughan

    10/13/2022, 1:07 PM
    If you need something a bit more interesting for munging existing (or creating if not existing) resources https://github.com/simp/pupmod-simp-deferred_resources/
  • t

    tvaughan

    10/13/2022, 1:07 PM
    It's to be used carefully, but if you need it, you need it
  • v

    VoxBot

    10/13/2022, 1:45 PM
    ewoud: Zhenech how good is your knowledge about AES?
  • v

    VoxBot

    10/13/2022, 1:46 PM
    so I was scrolling through https://github.com/binford2k/binford2k-node_encrypt/blob/main/lib/puppet_x/binford2k/node_encrypt.rb#L51-L54
  • v

    VoxBot

    10/13/2022, 1:47 PM
    tl;dr takes a string, encrypts it with aes-128-cfb and uses the agent client cert for that. agent decrypts it
  • s

    Slackbot

    10/13/2022, 1:47 PM
    This message was deleted.
    🙈 1
    b
    b
    • 3
    • 3
  • v

    VoxBot

    10/13/2022, 1:49 PM
    bastelfreak, is "avoid it like a plague" counted as "knowledge"
    🍌 1
  • v

    VoxBot

    10/13/2022, 1:49 PM
    that's my stand as well
  • v

    VoxBot

    10/13/2022, 1:49 PM
    and my CS degree was some time ago :D
  • v

    VoxBot

    10/13/2022, 1:54 PM
    so it would help to have an identical IV, at least per agent (knowing that it would be less secure)
  • v

    VoxBot

    10/13/2022, 2:08 PM
    my knowledge is mostly "leave it to experts and use libraries where possible"
  • v

    VoxBot

    10/13/2022, 2:10 PM
    that's a much nicer wording of mine :)
  • a

    Alex Fisher

    10/13/2022, 2:12 PM
    I have a hacked version that plays nicely with catalog-diff. https://gist.github.com/alexjfisher/b8ce5f388c8ac320cd4e80d58f83b4a9
  • b

    bastelfreak

    10/13/2022, 2:17 PM
    why do you call
    .encrypt()
    twice?
  • b

    bastelfreak

    10/13/2022, 2:20 PM
    mhm didn't the patch look different the last time you posted it
  • a

    Alex Fisher

    10/13/2022, 2:25 PM
    Sorry, my bad. Copied from a diff view in bitbucket. The first instance is a line I removed! Let me fix that.
  • a

    Alex Fisher

    10/13/2022, 2:48 PM
    Meanwhile... I think I'm happy with https://github.com/voxpupuli/puppet-grafana/pull/301 now.
  • a

    Alex Fisher

    10/13/2022, 2:48 PM
    Meanwhile... I think I'm happy with https://github.com/voxpupuli/puppet-grafana/pull/301 now.
  • b

    binford2k

    10/13/2022, 3:36 PM
    fwiw, it should be comparing the unencrypted values, not the encrypted form. https://github.com/binford2k/binford2k-node_encrypt/blob/main/lib/puppet_x/binford2k/node_encrypt.rb#L98
  • j

    jhoblitt

    10/13/2022, 5:41 PM
    Looks like the console gem was fixed and the problematic release deleted from rubygems: https://github.com/socketry/console/issues/35
  • j

    jhoblitt

    10/13/2022, 5:41 PM
    Looks like the console gem was fixed and the problematic release deleted from rubygems: https://github.com/socketry/console/issues/35
  • v

    VoxBot

    10/13/2022, 6:14 PM
    hmm, I just found out the hard way: passing a command as an array is a Puppet 6 feature
  • v

    VoxBot

    10/13/2022, 6:15 PM
    anarcat: do you know if anyone is producing backports of Puppet 6+ for Debian 11?
  • v

    VoxBot

    10/13/2022, 6:15 PM
    I do see testing is at least more up to date (7.16 now)
  • v

    VoxBot

    10/13/2022, 6:16 PM
    ewoud: no
  • v

    VoxBot

    10/13/2022, 6:16 PM
    ewoud: i doubt anyone is working on debian.org packages for Puppet 6 at all
  • v

    VoxBot

    10/13/2022, 6:16 PM
    we're a small team working on puppet 7 right now
  • v

    VoxBot

    10/13/2022, 6:17 PM
    well, I don't care about Puppet 6 specifically, I just want > 5
  • v

    VoxBot

    10/13/2022, 6:17 PM
    lavamind got the agent 7 in unstable/testing, and he just uploaded facter 4 to unstable too
1...154155156...648Latest