pacemaker: Use libpacemaker to get ticket attributes.
While this function isn't currently used, we might as well convert
everything to use libpacemaker in case it finds a use in the future. It
also provides a good example of how to do this same thing elsewhere in
future commits.