Implement serving of file_content for bolt projects in puppetserver. Since we have the opportunity, implement this in clojure so it doesn't add any jruby contention. The code for this will go in FOSS puppetserver.
Project structure is defined here https://github.com/puppetlabs/bolt/blob/main/lib/bolt/project.rb.
- a functioning endpoint that corresponds to the spec from
- clojure integration tests
- API docs under the puppet API (the section will be determined as part of
As a separate piece of work:
We might want to consider making sure this project layout is specified somewhere besides just in Bolt code, so it's more obvious when something changes. Perhaps something in https://github.com/puppetlabs/puppet-specifications/blob/master/file_paths.md? Some of the knowledge about this structure will have to be duplicated in clojure but it shouldn't be too bad.