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

    Chris Reay

    08/23/2022, 10:42 PM
    Yeah I guess that is what we were wondering if the readability will ever be improved. We like being able to run powershell commands or scripts on demand in our environment but usually end up using CrowdStrike Real Time Response instead because it is much easier to use and readable.
  • c

    Cas Donoghue

    08/23/2022, 10:52 PM
    Exposing the ability to easily run arbitrary commands across your PE estate is a pretty serious security undertaking. Granting access to bolt_shim and exposing arbitrary commands via bolt will likely not be the best approach in PE. We would have to come up with a security model for that sort of thing that we have not invested in. We do advertise this warning:
    Assign task permissions to a user role
    CAUTION: Tasks executed with the
    bolt_shim
    module allow users to run any command as root on the nodes. Use the module at your own risk.
  • c

    Cas Donoghue

    08/23/2022, 10:54 PM
    If there are a collection of commonly used commands I would suggest implementing them as tasks. You can still use bolt to execute them but you get much more fine grained security controls and can control exactly what code is executed.
  • s

    Slackbot

    08/23/2022, 11:00 PM
    This message was deleted.
    c
    c
    • 3
    • 3
  • d

    Dr Bunsen Honeydew

    08/23/2022, 11:02 PM
    allthethings Next up is šŸ§‘ā€šŸ«Puppet Forge in 43 hours
  • l

    Lakshman teja

    08/24/2022, 6:27 PM
    Hi team please help me on how to create a custom tasks with shell script in PE i am created two file file.sh, file.json in the path /etc/puppetlabs/code/environments/production/modules/tasks but those are not showing the web console Thank you
  • b

    bastelfreak

    08/24/2022, 7:02 PM
    did you create it in that directory? dont do that
  • d

    Dr Bunsen Honeydew

    08/25/2022, 5:45 PM
    beaker šŸ§‘ā€šŸ«Puppet Forge is about to start up in 15 minutes
  • b

    binford2k

    08/25/2022, 6:26 PM
    oh, I never said hello! sheepish
  • s

    smortex

    08/25/2022, 6:38 PM
    Hello šŸ˜‰
  • b

    bastelfreak

    08/25/2022, 6:38 PM
    o/
  • s

    Slackbot

    08/25/2022, 6:39 PM
    This message was deleted.
    b
    s
    b
    • 4
    • 41
  • s

    Slackbot

    08/25/2022, 6:39 PM
    This message was deleted.
    b
    b
    s
    • 4
    • 9
  • d

    Dr Bunsen Honeydew

    08/25/2022, 7:02 PM
    letsplay Next up is šŸ§‘ā€šŸ«PE Console in 2 hours
  • d

    Dr Bunsen Honeydew

    08/25/2022, 8:45 PM
    letsplay šŸ§‘ā€šŸ«PE Console is about to start up in 15 minutes
  • b

    binford2k

    08/25/2022, 9:01 PM
    that icon makes me laugh every time
  • s

    steveax

    08/25/2022, 9:03 PM
    \o Good day y’all - console office hour has begun!
  • s

    steveax

    08/25/2022, 9:03 PM
    If you have any questions/suggestions for anything related to the console, any of the console services (RBAC, Classifier, Activity Service) or the Orchestrator, ask away.
  • b

    binford2k

    08/25/2022, 9:19 PM
    I do have a question for you. Are there any plans to make any classifier data available in pdb?
  • b

    binford2k

    08/25/2022, 9:21 PM
    what I’m looking for is data like what classes are available, what node groups exist, how many nodes match a node group, etc. (understood that node group matching is dynamic and isn’t currently cached)
  • s

    steveax

    08/25/2022, 9:21 PM
    I am not aware of any plans around that
  • s

    steveax

    08/25/2022, 9:22 PM
    for ā€œhow many nodes match a node groupā€, that can be had but will take more than one request
  • s

    steveax

    08/25/2022, 9:23 PM
    https://puppet.com/docs/pe/2021.6/rules_endpoint.html#rules_endpoint followed by a PDB request
  • s

    steveax

    08/25/2022, 9:24 PM
    the other two are available directly via the classifier endpoints
  • s

    steveax

    08/25/2022, 9:25 PM
    puppetserver also has a classes endpoint
  • b

    binford2k

    08/25/2022, 9:25 PM
    yeah, the best I could get was iterating all known nodes and submitting a classification request for each with their last known facts and…. just decided that was too heavy 😁
  • b

    binford2k

    08/25/2022, 9:25 PM
    yeah, the best I could get was iterating all known nodes and submitting a classification request for each with their last known facts and…. just decided that was too heavy 😁
  • s

    steveax

    08/25/2022, 9:27 PM
    maybe I’m misunderstanding, if you want the nodes that match a node group’s rules, do the translation, then query PDB, you should need any node facts assuming you’re willing to go with the facts submitted on the last puppet run
  • s

    steveax

    08/25/2022, 9:27 PM
    that’s exactly what the console does
  • b

    binford2k

    08/25/2022, 9:28 PM
    nah, I’m just working on infrastructure reporting and looking for useful metrics. I thought that a listing of node groups with a count of nodes that matched each and the number of orphaned nodes would be useful
1...181920...78Latest