copied from old & puppet-linted