chef-boneyard / opscode-pushy-server

Chef Push Jobs Server
https://docs.chef.io/push_jobs.html
Apache License 2.0
16 stars 10 forks source link

Parameterized push job commands #215

Open AnamikaN opened 4 years ago

AnamikaN commented 4 years ago

is there a way, we can use push job to run parameterized command? for example , i have added below command in push-job whitelist. is there a way to substitue topic_name when we start the job?

"kafka_under_replicated_partitions_for_topic": "sudo /opt/kafka/bin/kafka-topics --zookeeper $(sudo grep zookeeper.connect /opt/kafka/config/server.properties|cut -f2 -d"=") --describe --under-replicated-partitions --topic ${topic_name}"