Um tipo definido faria o trabalho:
define userworkspace {
file { "VaultWorkspace-${title}":
path => "C:/VaultWorkspace/${title}/Vault",
source => "puppet:///modules/inventor/Vault",
recurse => true,
owner => $title,
group => 'Users',
mode => 0755,
ensure => present,
}
}
$inventorusers = ['username1','username2','usernamen']
userworkspace { $inventorusers: }