(#9837) Move properties in prep to move proc to method
This will make the diff easier to read when we move the proc to be an
actual method. The proc used to rely on properties retrieved from the
context in which the proc was defined, which won't be avaiable when the
proc is moved.
Reviewed-by: Max Martin <max@puppetlabs.com>