Skip to content

Instantly share code, notes, and snippets.

View matt-cahill's full-sized avatar
🐳

Matt Cahill matt-cahill

🐳
View GitHub Profile
user { "${foreman_proxy::mcollective_user}":
ensure => present,
comment => 'mcollective puppetrun user',
home => "/home/${foreman_proxy::mcollective_user}",
managehome => true,
shell => '/bin/false',
}
file { "/home/${foreman_proxy::mcollective_user}/.puppetlabs":
ensure => directory,
require => User["${foreman_proxy::mcollective_user}"],