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

    VoxBot

    01/18/2023, 4:50 PM
    looks like vim-ale has shellcheck built in
  • v

    VoxBot

    01/18/2023, 5:34 PM
    ewoud: have fun with puppet-editor-services and using anything but VSCode. I keep running into issues, you have to run the lang server from root of the puppet-editor-services directory or the binaries won't find the ruby files........ BUT most of the editors I like using expect a lang server to be in $PATH, with no easy way to change it. Been fighting with NeoVim/LunarVim and Helix-Editor for a couple
  • v

    VoxBot

    01/18/2023, 5:34 PM
    days.
  • v

    VoxBot

    01/18/2023, 5:34 PM
    I can get the langserver to start now and nvim to connect, but it still doesn't do any hover docs or autocompletion at all. Just some more errors about not being able to find all the ruby libs
  • v

    VoxBot

    01/18/2023, 5:34 PM
    cc bastelfreak binford2k
  • v

    VoxBot

    01/18/2023, 5:36 PM
    yeah and I didn't get any feedback for my open issues in a year
  • d

    dhollinger

    01/18/2023, 5:39 PM
    @binford2k ^ this is really frustrating. A good UX for developers is needed for the health of the Puppet language, but unlike other tools out there, it seems like the assumption is that all should use VSCode. But even then it still lacks features that most other lang servers have. I'd contribute, but I don't have enough time. It's hard enough to find time to work on
    puppet-r10k
    and the lack of a good tool is slowing me down a lot
    💯 2
  • d

    Dr Bunsen Honeydew

    01/18/2023, 5:39 PM
    See the
    puppet-r10k
    module at https://forge.puppet.com/puppet/r10k?src=slack&channel=voxpupuli
  • v

    VoxBot

    01/18/2023, 5:44 PM
    even in vscode with the official puppet extension it seems like it's not easily possible to configure different puppet-lint plugins
  • v

    VoxBot

    01/18/2023, 5:44 PM
    Failed on puppet:
  • v

    VoxBot

    01/18/2023, 5:44 PM
    Failed to connect to puppet: pkeys are immutable on OpenSSL 3.0
  • v

    VoxBot

    01/18/2023, 5:44 PM
    meh, my bolt doesn't seem to like openssl 3
  • v

    VoxBot

    01/18/2023, 5:44 PM
    https://github.com/puppetlabs/puppet-editor-services/issues/323 looks quite dead :(
  • d

    dhollinger

    01/18/2023, 5:51 PM
    Not to mention the current standard for a lot of editors is to use
    treesitter
    for syntax, but there's no puppet treesitter grammar. Though, to be fair, there doesn't seem to be any treesitter grammars for ansible, chef, or salt either
  • v

    VoxBot

    01/18/2023, 5:54 PM
    ansible is YAML and Python, chef is pure Ruby
  • v

    VoxBot

    01/18/2023, 5:54 PM
    and I think salt is also YAML + Python
  • v

    VoxBot

    01/18/2023, 5:55 PM
    so I'd expect them to not need their own grammar
  • d

    dhollinger

    01/18/2023, 5:56 PM
    fair point. Puppet is so drastically different that it does need its own grammar
  • y

    Yury Bushmelev

    01/18/2023, 5:57 PM
    Salt is jinja -> yaml by default
  • y

    Yury Bushmelev

    01/18/2023, 5:58 PM
    I.e. you cannot lint it because jinja has no vars defined and yaml is not jinja-processed
  • v

    VoxBot

    01/18/2023, 5:59 PM
    oh yes, Ansible also has jinja processing
  • y

    Yury Bushmelev

    01/18/2023, 5:59 PM
    That means you can only apply to check it for correctness
  • y

    Yury Bushmelev

    01/18/2023, 5:59 PM
    Ansible is valid yaml with jinja included
  • y

    Yury Bushmelev

    01/18/2023, 6:00 PM
    Salt is different.. it’s invalid yaml because it’s generated by jinja usually
  • d

    dhollinger

    01/18/2023, 6:00 PM
    Seems like the more we try to not make so that SysAdmins don't have to write code, the more code that has to be written to hide the code 😕
    💯 2
  • v

    VoxBot

    01/18/2023, 6:01 PM
    I was promised codeless and serverless
  • v

    VoxBot

    01/18/2023, 6:01 PM
    and yet here we are in a mess of code and servers
  • l

    Lumiere

    01/18/2023, 6:01 PM
    I'd rather teach a sysadmin how to write code, then force them to code to munge data in ansible.
    💯 2
  • l

    Lumiere

    01/18/2023, 6:02 PM
    I literally have an ansible block that has a comment above it that's like
    # THIS SHIT IS MAGIC, THAR BE DRAGONS HERE, ENTER AT YOUR OWN RISK
  • v

    VoxBot

    01/18/2023, 6:02 PM
    jra__, well, noone promised you messless :P
1...249250251...648Latest