Puppet Class: phabricator::bot
- Defined in:
- modules/phabricator/manifests/bot.pp
Overview
Class: phabricator::bot
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'modules/phabricator/manifests/bot.pp', line 3
class phabricator::bot (
String $username,
String $token,
String $host = 'https://phabricator.wikimedia.org/api/',
String $owner = 'root',
String $group = 'root',
String $mode = '0440',
) {
file { "/etc/phabricator_${username}.conf":
ensure => file,
content => template('phabricator/bot.conf.erb'),
owner => $owner,
group => $group,
mode => $mode,
}
}
|