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

    CVQuesty

    02/21/2023, 2:07 PM
    But we’re talking the days of Puppet 2.7-3.3
  • c

    CVQuesty

    02/21/2023, 2:15 PM
    Add to that the neat little dashboard in PuppetDB, and for small company (say, less than 100 nodes), it was FINE. You were never going to get the little guys to buy PE any way you slice it. Seems like now with OSP support contracts for the “little guy”, tools like this would be a HUGE benefit to the community rather than having to hack together either ENC scripts or Hiera methods of classification.
  • c

    CVQuesty

    02/21/2023, 2:15 PM
    In fact, at some point the sample ENC script that used to be in the Puppet documentation disappeared, and you can’t find it any more. You have to go to the old documentation archive and hunt for it there.
  • y

    Yury Bushmelev

    02/21/2023, 2:24 PM
    One of my friends was saying the same.. OSS Puppet needs some small and easy-to-start-with ENC (which is integrated well with Puppet Bolt ideally)
  • v

    VoxBot

    02/21/2023, 2:24 PM
    I struggle to see a usecase for an ENC in small/simple environments
  • v

    VoxBot

    02/21/2023, 2:25 PM
    you usually already have hiera for something. write a few lines of puppet code to map classes from hiera to a node. or embed the role name in the client certificate
  • c

    CVQuesty

    02/21/2023, 2:27 PM
    Yeah, but how many clients are you going to serve this year? I have plenty of folks who really can’t be trusted to edit their YAML, nor should they be in the site.pp for any reason, but write the HELL out of DSL. If they don’t want to retain me for every little node change (expensive), giving them simple interfaces to classify with is a better scenario. You have to be STUPID meticulous with roles/profiles, and have a profile for every time you sneeze, but when all they have to do is cobble together the legos in the GUI, it makes life considerably better for everyone.
  • y

    Yury Bushmelev

    02/21/2023, 2:28 PM
    usecase is to move nodes across groups (== role) with mouse 🙂
  • y

    Yury Bushmelev

    02/21/2023, 2:28 PM
    usecase is to move nodes across groups (== role) with mouse 🙂
  • c

    CVQuesty

    02/21/2023, 2:28 PM
    Still, you have to have the interface to apply those roles to the apporpriate ndoes
  • v

    VoxBot

    02/21/2023, 2:31 PM
    some very minimal tool that queries the Puppetserver API for classes and environments shouldn't be that hard, but I have no interest in writing that
  • c

    CVQuesty

    02/21/2023, 2:33 PM
    And as an old BOFH, every time some sort of ENC GUI would come out, it seemed like it was UNNECESSARILY obtuse, or had some obnoxious set of underlying language requirements that broke every time the underlying OS changed…like at all. Back in the day I was able to make one of these out of freaking Perl-CGI. You’d think that with all the talented devs around here that a simple interface shouldn’t require 37 libraries, all of which trail OS upgrades by sometimes months, and require some guy in rural Iowa or subsaharan Africa with only 3 minutes of upload time a month to get their code into Git via carrier pigeon.
  • c

    CVQuesty

    02/21/2023, 2:33 PM
    And before you call me out for carrier pigeon as hyperbole, here’s the RFC: https://www.rfc-editor.org/rfc/rfc2549
  • c

    CVQuesty

    02/21/2023, 2:34 PM
    That’s right. IP over Avian Carrier with QoS
  • y

    Yury Bushmelev

    02/21/2023, 2:38 PM
    Underscore (
    _
    ) is allowed in module name, right?.. 🤔 I’m debugging strange issue when BoltSpec cannot find a plan
  • s

    Slackbot

    02/21/2023, 2:38 PM
    This message was deleted.
    c
    • 2
    • 3
  • v

    VoxBot

    02/21/2023, 2:38 PM
    we use that for customers... not so familiar with hiera or yaml or vim or computers
  • c

    CVQuesty

    02/21/2023, 2:39 PM
    @Yury Bushmelev yeah, underscore is ok. hyphens are a no-no
  • c

    CVQuesty

    02/21/2023, 2:39 PM
    same with variable names… you can get into weirdness with hyphens there too
  • y

    Yury Bushmelev

    02/21/2023, 2:40 PM
    ty.. then it’s not the case 🤔
  • v

    VoxBot

    02/21/2023, 2:41 PM
    Rails <3
  • v

    VoxBot

    02/21/2023, 2:41 PM
    we laos have https://github.com/voxpupuli/puppet-hdm to deploy it
  • c

    CVQuesty

    02/21/2023, 2:45 PM
    that seems to have the most promise. Thanks for that… bookmarked and will look into. I still get to hate supporting Rails, though.
  • v

    VoxBot

    02/21/2023, 2:46 PM
    buy can buy a support contract if you like :P
  • v

    VoxBot

    02/21/2023, 2:46 PM
    it's not that easy to implement the different lookups and identify hiera data that's used on a node, or identify parameters that you could set
  • v

    VoxBot

    02/21/2023, 2:47 PM
    I do think Rails is quite heavy and I'd have considered https://github.com/sinatra/sinatra
  • v

    VoxBot

    02/21/2023, 2:47 PM
    that's a bit of logic and writing that without a framework gets really ugly really quickly. and since most of the puppet ecosystem is ruby, rails felt most natural
  • v

    VoxBot

    02/21/2023, 2:47 PM
    yeah dito
  • v

    VoxBot

    02/21/2023, 2:47 PM
    sinatra would have been the alternative
  • v

    VoxBot

    02/21/2023, 2:47 PM
    but writing any web app without a framework today is something I wouldn't even touch
1...311312313...648Latest