6 ms·
Yeah I also wish there was some good Config Management IDEs. I think someone like InteliJ might be able to make a decent one.
by ohples 9y ago
Yeah I also wish there was some good Config Management IDEs. I think someone like InteliJ might be able to make a decent one.
- snuxoll 9y agoIf you're doing Puppet then the plugin for IntelliJ works pretty well with Puppet code, including reference checks and all the good stuff you'd expect from a half-decent IDE. Can't say anything about Chef or Salt, but with Ansible you get basically shit for help since the IDE just sees a YAML file and nothing more. This is partially the fault of Ansible though, to be honest, modules being standalone scripts that is cool - but they provide no standardized way to inspect their parameters and outputs beyond documentation.
- kilburn 9y agoAnsible's modules documentation is auto-generated from the code. Hence, there is a standardized (across all ansible's modules) way to extract their parameters/outputs. See https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/files/iso_extract.py https://github.com/ansible/ansible/blob/devel/lib/ansible/mo... for example: DOCUMENTATION is a yaml snippet that follows their documentation schema to tell you about all the module's input parameters. EXAMPLES gives you some usage examples. RETURN documents the outputs. A proper IDE plugin could parse those snippets for each module and do some pretty nice autocompletion/inline documentation for you...
- ryanschneider 9y agoThe terraform plugin for jetbrains products works really well. It auto completes all the resource types and knows what keys are valid under each one, so will suggest keys and highlight a resource as invalid if it’s missing a required key. I can’t imagine coding terraform plans without it.