1

Please, I just need to ask if it is possible and how to add configuration settings, similar to this:

$ cctrlapp APP_NAME/DEP_NAME config.add KEY=VALUE

via the phpcclib of cloudcontrol Thanks

cucurbit
  • 1,422
  • 1
  • 13
  • 32
Bba
  • 13
  • 4

1 Answers1

0

The 'config.add' command is implemented in the cctrlapp by adding and removing the custom config add-on and passing along the key-value-pairs. Check out the Python code in pycclib for more details.

The phpcclib currently does not pass the required settings parameter along, but it should be easy enough to do so. Pull requests are highly welcome.

pst
  • 1,414
  • 11
  • 22
  • I tried making the pull request, but it seems the REST endpoint for the config.add is not available. as I get the error `no valid json: Gone Method 'POST' not allowed.` – Bba Jul 31 '14 at 23:23