tdelphi / puppet-rundeck

Puppet integration with RunDeck
Apache License 2.0
1 stars 0 forks source link

Allow to add custom fact values to rundeck tags list (via URL) #3

Closed tdelphi closed 10 years ago

tdelphi commented 10 years ago

Allow to add custom fact values to rundeck tags list (via URL).

Add URL parameter add_facts=fact1,fact2,fact3 or add_facts=fact1 fact2 fact3

Usage example:

To add facts fqdn and ipaddress to list of tags: curl http://127.0.0.1:8144/?add_facts=fqdn,ipaddress

Invalid facts will be ignored. F.e. following request will produce the same output: curl http://127.0.0.1:8144/?add_facts=fqdn,ipaddress,bbb,ccc,bbb,bbb,ddd,eee