Created
May 4, 2014 09:20
-
-
Save inokappa/bd67ac42a0267f5f715d to your computer and use it in GitHub Desktop.
Puppet から Docker コンテナを起動するマニフェスト
This file contains 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
node default { | |
include 'docker' | |
$IMAGES = ['centos','ubuntu'] | |
docker::image { $IMAGES : | |
ensure => 'present', | |
} | |
$CONTAINER = ['container1','container2'] | |
docker::run { $CONTAINER : | |
image => 'centos', | |
command => 'echo "a"', | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment