Note: These instructions only apply to OpenCrowbar barclamps/workloads.
Before you start, figure out the name that you want to use. It should be short but descriptive. You will be able to add a more descriptive name, the repo name must be unique. We also recommend using lower case and only alpha + underbar (_) in the name.
To create a new workload, start by forking or cloning the OpenCrowbar template from [[https://github.com/opencrowbar/template]]
###Inside the template:
-
replace "OCBTemplate" occurances with the name of your workload 1. the replacements include the crowbar.yml, licenses, readme, and /doc files. 1. update the /rails_engine/db/migrate/[barclamp_import] script
- change the name of the file to match the workload
- change the class and barclamp name to match the workload
-
correct file names that are workload specific 1. rename the /doc/license/ocbtemplate.md file with the name of your workload.md 1. rename the /barclamps/ocbtemplate.yml file with the name of your workload.yml 1. rename the /BDD/features/ocbtemplate.feature file with the name of your workload.feature 1. rename the /roles/ocbtemplate-base/ directory with the name of your name of your workload-base