No release in over 3 years
Low commit activity in last 3 years
Interact with the Pivotal Ops Manager from Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 0.4.25
~> 0.9.12.6
>= 0
~> 3.1
~> 2.9.0
~> 1.17.4

Runtime

 Project Readme

OpsmanagerClient::Client

DSL for Pivotal Ops Manager

Installation

Add this line to your application's Gemfile:

gem 'opsmanager_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install opsmanager_client

Usage

cat opsmanager_config.json
{
  "tempest": {
    "url": "https://10.0.0.1",
    "username": "username",
    "password": "password"
  }
}
export TEMPEST_CONFIG_FILE_PATH=$PWD/opsmanager_config.json
product = OpsmanagerClient::Product.new("~/Downloads/p-cassandra-0.1.147.pivotal")

OpsmanagerClient::Client.product_uploaded?(product)
OpsmanagerClient::Client.upload_product(product)

OpsmanagerClient::Client.available_products
OpsmanagerClient::Client.delete_unused_products

OpsmanagerClient::Client.cf_admin_credentials

Terminology

Adding products

A1. Add (the equivalent of uploading the .pivotal file)

A2. Install (the equivalent of clicking the "Add" button for that product)

A3. Configure

A4. Deploy (the equivalent of "Apply changes")

Removing products

R1. Uninstall (the equivalent of "Remove tile" & "Apply changes" - inverse of A4, A3 & A2)

R2. Remove (no UI equivalent, equivalent to removing from list of available products - inverse of A1)

Contributing

  1. Fork it ( https://github.com/[my-github-username]/tempest-client/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request