He should probably use mixlib-shellout, but the backticks are inside of
the ruby_block’s block so they are evaluated at converge time. Are you
actually sure that it isn’t printing out? You should probably use
Chef::Log.info rather than puts.