Created
January 8, 2013 17:16
-
-
Save ksexton/4485744 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@razor project_razor]# razor -w broker add '{"name":"test","description":"test","plugin":"puppet","@req_metadata_hash":{"@server":"puppet.test.com","@plugin":"puppet"}}' | |
{"command":"add_broker","resource":"ProjectRazor::Slice::Broker","errcode":0,"http_err_code":201,"response":[{"@name":"test","@is_template":false,"@user_description":"test","@plugin":"puppet","@req_metadata_hash":{"@server":{"validation":"(^$|^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])$)","example":"puppet.example.com","required":false,"default":"","description":"Hostname of Puppet Master; optional"},"@broker_version":{"validation":"(^$|^[0-9]+(\\.([0-9a-zA-Z\\-\\_]+))*$)","example":"3.0.1","required":false,"default":"","description":"Puppet Version; for gem install, blank for latest"}},"@classname":"ProjectRazor::BrokerPlugin::Puppet","@noun":"broker","@uri":"http://192.168.2.11:8026/razor/api/broker/4lA5friL10YeaxKR4XIQvq","@hidden":false,"@description":"PuppetLabs PuppetMaster","@version":0,"@uuid":"4lA5friL10YeaxKR4XIQvq"}],"result":"Created"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment