Use our meetbot branch
Change-Id: I0938831d18a286d88434dda87bfa76b731f3f34e
This commit is contained in:
parent
2c184baa32
commit
5c82018762
@ -3,17 +3,17 @@ class vcs {
|
|||||||
|
|
||||||
exec { "update_meetbot_repo":
|
exec { "update_meetbot_repo":
|
||||||
command => "git pull --ff-only",
|
command => "git pull --ff-only",
|
||||||
cwd => "/tmp/meetbot",
|
cwd => "/opt/meetbot",
|
||||||
path => "/bin:/usr/bin",
|
path => "/bin:/usr/bin",
|
||||||
onlyif => "test -d /tmp/meetbot"
|
onlyif => "test -d /opt/meetbot"
|
||||||
}
|
}
|
||||||
|
|
||||||
# otherwise get a new clone of it
|
# otherwise get a new clone of it
|
||||||
|
|
||||||
exec { "clone_meebot_repo":
|
exec { "clone_meebot_repo":
|
||||||
command => "git clone https://github.com/emonty/meetbot.git /tmp/meetbot",
|
command => "git clone https://github.com/openstack-ci/meetbot.git /opt/meetbot",
|
||||||
path => "/bin:/usr/bin",
|
path => "/bin:/usr/bin",
|
||||||
onlyif => "test ! -d /tmp/meetbot"
|
onlyif => "test ! -d /opt/meetbot"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ class meetbot {
|
|||||||
file { "/usr/share/pyshared/supybot/plugins/MeetBot":
|
file { "/usr/share/pyshared/supybot/plugins/MeetBot":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
recurse => true,
|
recurse => true,
|
||||||
source => "/tmp/meetbot/MeetBot",
|
source => "/opt/meetbot/MeetBot",
|
||||||
require => Package["supybot"]
|
require => Package["supybot"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ define meetbot::site($nick, $network, $server, $url, $channels, $use_ssl) {
|
|||||||
file { "/var/lib/meetbot/${name}/ircmeeting":
|
file { "/var/lib/meetbot/${name}/ircmeeting":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
recurse => true,
|
recurse => true,
|
||||||
source => "/tmp/meetbot/ircmeeting",
|
source => "/opt/meetbot/ircmeeting",
|
||||||
owner => 'meetbot',
|
owner => 'meetbot',
|
||||||
require => File["/var/lib/meetbot/${name}"]
|
require => File["/var/lib/meetbot/${name}"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user