When crowbar/barclamp-pacemaker#33 is merged this all becomes a one-liner.