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

    Lumiere

    01/18/2023, 6:02 PM
    where I use store_fact and jinja to munge a bunch of data so I can use it
  • l

    Lumiere

    01/18/2023, 6:03 PM
    because the only way to actually make a variable in ansible is to write a module, or use jinja
  • y

    Yury Bushmelev

    01/18/2023, 6:03 PM
    Haha.. what are you doing with my Ansible repo?! I had almost the same :-D
  • d

    dhollinger

    01/18/2023, 6:03 PM
    Being a software dev that transitioned from Systems Engineering, I can say that trying to hide the code doesn't really help all that much, it just makes things complicated and then more "traditional" SysAdmins go back to no using Infra-as-code/Config Mgmt
  • l

    Lumiere

    01/18/2023, 6:04 PM
    my goal is to make interfaces for Jr folks that are intuitive and sane
  • l

    Lumiere

    01/18/2023, 6:04 PM
    and let devs/high level engineers write a little more code to make that happen
  • y

    Yury Bushmelev

    01/18/2023, 6:05 PM
    Hiera was invented to solve that imho :)
  • l

    Lumiere

    01/18/2023, 6:05 PM
    I want my entry level sysad to just know "if I set this hiera key to the right list of groups it works"
  • l

    Lumiere

    01/18/2023, 6:05 PM
    yeeeeeeeeeeeeep
    highfive 1
  • g

    gary

    01/18/2023, 8:01 PM
    I'm running into an issue when using the lldpd module. Any thoughts or ideas on what might be happening (even if its me doing something stupid)? https://puppetcommunity.slack.com/archives/C0W298S9G/p1674069512717089
  • a

    Alex Fisher

    01/20/2023, 2:15 PM
    Morning all
  • a

    Alex Fisher

    01/20/2023, 2:15 PM
    Anyone else using Gitlab (and not Github) for their Puppet modules?
  • v

    VoxBot

    01/20/2023, 2:17 PM
    I use gitlab
  • a

    Alex Fisher

    01/20/2023, 2:17 PM
    I'm going to open a puppet-lint PR to add an option to generate 'codeclimate' formatted json output.
    ❤️ 1
  • a

    Alex Fisher

    01/20/2023, 2:19 PM
    If in your gitlab pipeline you save this to a file and add it as a codequality report, you get something similar to the work ewoud did for github.
  • a

    Alex Fisher

    01/20/2023, 2:20 PM
    ie this stuff https://docs.gitlab.com/ee/ci/testing/code_quality.html#view-code-quality-results
  • p

    Pat Riehecky

    01/20/2023, 2:31 PM
    I would also benefit from this 🙂
  • d

    David Sandilands

    01/20/2023, 2:33 PM
    @Adam Shambrook this may be interesting for customers who are using/moving to gitlab
    👀 1
  • d

    David Sandilands

    01/20/2023, 2:33 PM
    @Adam Shambrook this may be interesting for customers who are using/moving to gitlab
  • a

    Alex Fisher

    01/20/2023, 2:39 PM
    Cool. Good to know there's a few people interested.
  • a

    Alex Fisher

    01/20/2023, 3:55 PM
    This is what I've come up with so far. https://github.com/puppetlabs/puppet-lint/pull/78/files
  • a

    Alex Fisher

    01/20/2023, 3:56 PM
    Working much like the
    --sarif
    option. Not sure I like it that way though. Maybe it wants to be more like the GitHub solution and use an environment variable such that it could work with the Rake task??
  • a

    Alex Fisher

    01/20/2023, 3:56 PM
    ewoud?
  • a

    Alex Fisher

    01/20/2023, 3:59 PM
    It probably be better if the existing gitlab jobs the PDK template ships with didn't need messing around with too much.
  • v

    VoxBot

    01/20/2023, 4:43 PM
    I don't know about the PDK - in GHA it does weird things and the annotations aren't enabled with PDK
  • v

    VoxBot

    01/20/2023, 4:43 PM
    that said, we also aren't using it in Vox Pupuli since we're still on version < 3 I think
  • v

    VoxBot

    01/20/2023, 4:45 PM
    but with GHA it can parse output on stdout so you can use env vars; no idea about GitLab CI
  • a

    Alex Fisher

    01/20/2023, 5:14 PM
    ewoud: I need the output to end up in a file and for it not to contain other output (eg. from other rake tasks).
  • a

    Alex Fisher

    01/20/2023, 5:17 PM
    I guess with github it was easier because the output could be freely mixed in with anything else on stdout?
  • a

    Alex Fisher

    01/20/2023, 5:26 PM
    Maybe I default to writing a file if
    GITLAB_CI
    is
    true
    but also provide a way of turning this off (maybe reusing env var ``CODE_QUALITY_DISABLED`` https://docs.gitlab.com/ee/ci/testing/code_quality.html#disable-code-quality ) That's used for pipelines that use this template. https://docs.gitlab.com/ee/ci/testing/code_quality.html#disable-code-quality
1...250251252...648Latest