fix error of commands not being known.  Probably rooted in chef DSL, but can't use ruby def's as arguments to resource attributes, so need to dereference them first and use the local variable as the attribute value