Created
March 8, 2016 00:56
-
-
Save GeoffWilliams/ce8460a9051859435658 to your computer and use it in GitHub Desktop.
Docker in PE example profile. Sets up Docker and runs mongo. Copy to /etc/puppetlabs/code/environments/production/site/profile/manifests/docker.pp -- then create role::docker and clasify NAMED node using site.pp. Dont do default as it may take over other sytems
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class profile::docker { | |
| include docker | |
| $image = "mongo" | |
| docker::image { $image: } | |
| docker::run { $image: | |
| image => $image, | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment