I've used more/less the approach in this article to setup a Docker environment.
docker build -t centos_puppet .
docker run -v $(pwd):/src -t -i centos_puppet /bin/bash
rm -rf /src/pkg
cd /src
puppet module build .
cd /src/pkg
puppet module install schrepfler-jdk_oracle-*.tar.gz
puppet apply --modulepath /etc/puppetlabs/code/environments/production/modules /src/test/manifests/site.pp
java -version
- Make modifications to module (if bump to java, change default values and bump tests as well.)
- Make modifications to metadata.json
- Make modifications to README.md.
- Make modifications to CHANGELOG.md.
- Make modifications to CONTRIBUTORS.md.
- Commit, push, wait for tests available https://travis-ci.org/schrepfler/puppet-jdk_oracle
- Tag
- Go to https://forge.puppet.com/ and login
- Open https://forge.puppet.com/upload
- Upload artifact