Skip to the content.

Setup

To start the DSL lab we have provided a DevWorkStation.json blueprint to quickly get you started. The included DevWorkstation.json builds a CentOS VM with all the necessary tools. This blueprint can be launched directly from Calm, but we recommend publishing it to the Calm Marketpkace for Self Service. Also, included is software-developer.png which can be used as an icon

Launch DevWorkstation from Calm Marketplace

Alt text

Alt text

Alt text

Once the application is “running” SSH to the DevWorkstation

Alt text

Start the virtual environment and connect to Prism Central

Alt text

List the current blueprints in Calm

Alt text

Alt text

Review python based blueprint and make a modification

Alt text

Alt text

Alt text

Modify pkg_install_task.sh

Alt text

Alt text

Push the modified blueprint.py to Calm

Alt text

Alt text

Launch the blueprint into an application

Alt text

Alt text

Alt text

Alt text

Log into Prism Central to verify

Looking back

As we went through this module not only we you use Calm DSL, but we also used several native Linux tools such as vi, curl, grep, cat, pipe, and redirects. Calm DSL allows extended felxibily by combining it with these powerful tools. Think about how we can add git to this workflow to track changes or modify blueprints with sed

Optional: Getting started with git

Speaking of git lets contiue on and push our blueprint to git. We will need a github.com account before you can get started