Skip to content

vholer/cloudify-occi-puppet-example

Repository files navigation

Cloudify PoC blueprints for OCCI and Puppet

Build Status

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.

Standalone Cloudify

Setup OCCI CLI

yum install -y ruby-devel openssl-devel gcc gcc-c++ ruby rubygems
gem install occi-cli

Setup cloudify

make bootstrap

Run deployment

First get valid X.509 VOMS certificate into /tmp/x509up_u1000 and have m4 installed.

source ~/cfy/bin/activate
make cfy-deploy

If 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.

Destroy deployment

make cfy-undeploy

Cloudify Manager

Blueprint is ready for Cloudify Manager.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published