libral icon indicating copy to clipboard operation
libral copied to clipboard

ralsh should be able to print a resource in a format that can be enforced with ralsh

Open lutter opened this issue 9 years ago • 0 comments

When running ralsh PROV NAME there should be a way to get the output in a form that makes it easy to cut&paste it to another system to run ralsh PROV NAME A1=V1 A2=V2 ... An=Vn to create the same resource there.

This could also be done by making ralsh read JSON from stdin, so that one could write

  ssh node1 ralsh -j PROV NAME | ssh node2 ralsh -j --from-stdin

to clone a resource to another system.

lutter avatar Apr 03 '17 22:04 lutter