-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to run locally with Docker #155
Comments
We already discussed this internally and postponed this scenario to a later release as we saw lots of discussion. At the moment HDM requires a fully deployed puppet code base using r10k or code manager and access to PuppetDB. Available environments are read from PuppetDB and filesystem. If we run on local control-repo: How should HDM get nodes and their facts so it is able to render the hiera.yaml hierarchies? |
Comment from @oneiros : for testing we use the fake puppetdb service and we use local data. |
To elaborate on this: If I understand #154 and this correctly, you want to run hdm locally on static files (your control repo for hiera data and json/yaml files with the nodes' facts). This can be achieved today without Docker roughly in this way:
This would "repurpose" the fake puppetdb service we created for development and testing. If this is a viable use case for hdm I think we could improve two things: First we could improve the fake puppetdb service to take a configuration option setting the directory where it looks for files. This way, you would not have to mix your development data with our test data. The second thing would be to improve the situation for Docker users. I am no expert here and thus not sure what would be convenient and reasonably easy to implement. Maybe a second |
@ghoneycutt any feedback from your side? |
As a new HDM user, I would like to have a very prescribed way to put my hiera data in a specific location, start a container and begin using HDM.
I am interested in helping developers run this locally against their checked out control repos so they can make contributions and the prescribed work flow with docker would allow this. Would also make it much easier to start using it against your own data to evaluate the software.
The text was updated successfully, but these errors were encountered: