Permalink
Browse files

Add puppetmaster autosign instructions

  • Loading branch information...
waipeng committed Sep 15, 2017
1 parent 0d7c5d0 commit 473d1da860e1f7991f2a842155ed781b82c626fb
Showing with 7 additions and 4 deletions.
  1. +7 −4 README.md
View
@@ -270,10 +270,16 @@ First install the dependent modules into the local environment:
r10k puppetfile install --moduledir code/environments/production/modules
Create an `autosign.conf` file with the following:
```
*.dockerbuilder.*
```
Then, from the `examples/master` folder, use Docker to run an instance
of Puppet Server:
docker run --name puppet -P --hostname puppet -v $(pwd)/code:/etc/puppetlabs/code puppet/puppetserver-standalone
docker run --name puppet -P --hostname puppet -v $(pwd)/code:/etc/puppetlabs/code -v $(pwd)/autosign.conf:/etc/puppetlabs/puppet/autosign.conf puppet/puppetserver-standalone
Determine the port on which the Puppet Server is exposed locally:
@@ -286,9 +292,6 @@ and {port} in the following with your own values.
This should use the code on the Puppet Master to build the image.
Note that this currently assumes the requested certificate is autosigned
in some way, expect more guidance on that in the future.
### Minimizing image size with Rocker

0 comments on commit 473d1da

Please sign in to comment.