system-config/modules/meetbot/manifests/init.pp
Monty Taylor 258abe1a23 Use cgit server instead of github for everything
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.

Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
2013-08-19 10:19:47 -07:00

49 lines
896 B
Puppet

class meetbot {
include apache
vcsrepo { '/opt/meetbot':
ensure => latest,
provider => git,
source => 'https://git.openstack.org/openstack-infra/meetbot',
}
user { 'meetbot':
gid => 'meetbot',
home => '/var/lib/meetbot',
shell => '/sbin/nologin',
system => true,
require => Group['meetbot'],
}
group { 'meetbot':
ensure => present,
}
$packages = [
'supybot',
'python-twisted'
]
package { $packages:
ensure => present,
}
file { '/var/lib/meetbot':
ensure => directory,
owner => 'meetbot',
require => User['meetbot'],
}
file { '/usr/share/pyshared/supybot/plugins/MeetBot':
ensure => directory,
recurse => true,
require => [
Package['supybot'],
Vcsrepo['/opt/meetbot']
],
source => '/opt/meetbot/MeetBot',
}
}
# vim:sw=2:ts=2:expandtab:textwidth=79