Download the code:
git clone git://gist.github.com/791002.git amqp-demo-ruby
cd amqp-demo-ruby
Install the gems:
[root@localhost ~]# gem list | |
*** LOCAL GEMS *** | |
amazon-ec2 (0.9.15) | |
boxgrinder-build (0.6.2) | |
boxgrinder-build-fedora-os-plugin (0.0.4) | |
boxgrinder-build-rpm-based-os-plugin (0.0.6) | |
boxgrinder-core (0.1.1) | |
commander (4.0.3) |
[root@localhost ~]# yum update rubygem-boxgrinder-* | |
Setting up Update Process | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package rubygem-boxgrinder-core.noarch 0:0.1.3-3.fc15 set to be updated | |
--> Processing Dependency: rubygem(hashery) for package: rubygem-boxgrinder-core-0.1.3-3.fc15.noarch | |
--> Finished Dependency Resolution | |
Error: Package: rubygem-boxgrinder-core-0.1.3-3.fc15.noarch (boxgrinder-nightly) | |
Requires: rubygem(hashery) | |
You could try using --skip-broken to work around the problem |
--- | |
:domain: goern.example.com | |
:network: 192.168.196.0/24 | |
:image: rhel-7.1 | |
:boxurlprefix: '' | |
:sync: rsync | |
:folder: '' | |
:extern: | |
- type: git | |
system: ansible |
{ | |
"name": "Wordpress-App", | |
"version": "0.0.1", | |
"graph": [ | |
"mariadb", | |
"wordpress" | |
], | |
"save_answers": true | |
} |
# This a a parameters file for an Application | |
[general] | |
registry = docker-registry.usersys.redhat.com | |
foo = bar | |
[wordpress] | |
title = Team7 | |
foo = baz | |
public_ip = None # None means required |
# prerequisites | |
echo -e "[epel]\nname=epel\nenabled=1\nbaseurl=https://dl.fedoraproject.org/pub/epel/7/x86_64/\ngpgcheck=0" > /etc/yum.repos.d/epel.repo | |
pip install yapsy | |
# clone the repo... | |
git clone https://github.com/goern/atomicapp-run.git | |
# and start developing the Atomicapp | |
./containerapp.py create "awesome mongoDB cluster" | |
vi Atomicfile # add storage requirement. |
--- | |
# seeAlso https://docs.google.com/a/redhat.com/presentation/d/13QhvPAlrbDRYvVeY-7bUU0_GAuW0OSPSwZynRsCVGyQ/edit#slide=id.g2e21d8019_0140 | |
persistantVolume: | |
name: myvol1 | |
accessMode: ReadWrite # or ReadOnly | |
size: 4 # GB by default |