ftclausen / ChefRoleSelect

Provide limited abilities to add roles to servers via a small wrapper API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Purpose

Provide limited abilities to add roles to servers via a small wrapper API

Notes

Java API

http://www.jclouds.org/documentation/quickstart/chef/

example

https://github.com/jclouds/jclouds-examples/blob/master/chef-basics/src/main/java/org/jclouds/examples/chef/basics/MainApp.java

needed to add extra

  • copy maven-ant-tasks.jar to lib
  • drop in copy of google guava

Configuration File Things

  • Chef URL
  • Client name
  • PEM location
  • API Key file list
  • Supported roles - In progress

Still To Do

  • Actually apply supported role list from property files
  • Use proper logging framework

Refactorings

  • Actually check for roles/node existence rather than rely on exceptions
  • Use EL instead of JSP scripts

About

Provide limited abilities to add roles to servers via a small wrapper API

License:Apache License 2.0


Languages

Language:Java 98.8%Language:HTML 1.2%