This is an example of two nodes deployment of Apache and PostgreSQL started via FedCloud OCCI. Service deployment is managed by custom Puppet interface which supports r10k (Puppetfile), Hiera bindings and access to Cloudify context (ctx). Tested on CentOS 7.x.
yum install -y ruby-devel openssl-devel gcc gcc-c++ ruby rubygems
gem install occi-climake bootstrapFirst get valid X.509 VOMS certificate into /tmp/x509up_u1000 and
have m4 installed.
source ~/cfy/bin/activate
make cfy-deployIf succeeded, see deployed Apache endpoint URL. E.g.:
cfy local outputs
{
"endpoint": {
"url": "http://147.228.242.209"
}
}and open provided URL in your browser to see working connection between webserver and database.
make cfy-undeployBlueprint is ready for Cloudify Manager.