[Crowbar] Modifying and Applying a Barclamp from the CLI

Michael Smalley michaeljsmalley+crowbar at gmail.com
Fri Nov 11 13:42:12 CST 2011


I think I'm getting warmer with the exact process required for modifying
barclamps from the command-line.
I have edited the json, imported the edits, and committed these edits.  The
changes then show in the Crowbar WebUI under Proposals, but they don't
Apply.  *Is there a last step required to apply the committed change that
I'm skipping?*  Also, If I'm syntacticly incorrect in any way, and one of
the Dell folks can correct me, by all means, please do.


Example: Changing the Crowbar WebUI password via the CLI
------------------------------------------------------------------------

# Edit the barclamp in Vim, changing the password.
*vim
/opt/dell/barclamps/crowbar/chef/data_bags/crowbar/bc-template-crowbar.json*

# Import the edited json file
*/opt/dell/bin/crowbar crowbar proposal
--file=/opt/dell/barclamps/crowbar/chef/data_bags/crowbar/bc-template-crowbar.json
edit default*

# Commit the changes
*/opt/dell/bin/crowbar crowbar proposal commit default*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/crowbar/attachments/20111111/7944e18e/attachment.html 


More information about the Crowbar mailing list