The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.
Change-Id: I577721e214940a0c25c1a22bd98adc6de83c8b56
With all our channels mode +r these days, the first few the meetbot
attempts to join are rejected while NickServ is still chewing on the
identify command. Use the supybot configuration option to delay
joining until we get identification confirmed.
Change-Id: I0631cfbba46dfe3c23ff5e455f2ac941b5655c28
Use the new $content parameter of httpd::vhost instead of $template.
This way, the template gets rendered within the scope where it assumes
most of its variables are, and doesn't need to use the scope object
which doesn't work within a defined type. This will ensure the template
keeps working on puppet 4. This also requires adjusting some of the
template parameters that had previously been correctly scoped from the
httpd::vhost defined type.
Depends-On: https://review.openstack.org/570824
Change-Id: I3a45e99e3355d1e59d57d3d989cc03d253529bf2
In the httpd module, serveraliases defaults to undef, which evaluates to
nil in ERB templates. Ensure the template checks for nil values so that
the ServerAlias line is only included if there is a server alias.
Also correct the variable usage in the index.html.erb template.
Change-Id: Ibde097b7dd407884336154a318ec4c5661fda03c
Using local ruby variables in puppet ERB templates was deprecated in
puppet 3 and doesn't work any more in puppet 4. Access these values as
ruby instance variables instead.
Change-Id: I957a5f1c679f0a2172d1a1b88040ae91e239e627
Add the Bugtracker plugin to the supybot used for meetbot (OpenStack).
This will restore the response of bug information to the channel when
a user references a bug in a message (e.g. 'bug XXXXXX').
Change-Id: I3ee3f1fa516bf1607ba6e79c6f911190a49b0161
* modules/meetbot/manifests/site.pp: Specify a nondefault vhost
template.
* modules/meetbot/templates/vhost.erb: New file, similar in content
to the default puppetlabs-apache vhost template but forcing MIME
type text/plain and a default encoding of UTF-8 for files ending in
a .log suffix.
Change-Id: Ief0253c2baac32b126472d0f97f0aa503adbbd7f
There have been general requests for more logging of more things. I
think we might have a longer discussion there. But recently there have
been specific requests about -infra. I think that since discussions
around the gate and rather wide-spread project concerns wind up
happening in infra, we should definitely start logging it, and then we
can talk about whether other team channels should be logged or not.
Made this use an array of channels rather than a string for sanity.
Change-Id: I3f3e82aa86155d1ac3010ca3c3ade006b7a26793
Killed trailing whitespace in the puppet repo files using
`sed -r 's/\s+$//'`. Skip binary files and html templates for lodgeit
and mailman.
Change-Id: Ib43493161d8f0e8fae1426b22fb1737832ca14cd
Reviewed-on: https://review.openstack.org/12969
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: Ic0f9e1fa3af5ff7367e7580091808d77842369c7
Reviewed-on: https://review.openstack.org/11750
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Fixes bug #992597
Adds new basic index page (to be themed at a later date)
Moves nginx file serving to somewhere safer
Adds /irclogs link
Change-Id: Idae341741cd852e98b93a5b89d720615789fd328
We use eavesdrop.o.o not meetbot.o.o
Also put nickserv pass in secret file (note the one that was in there is not the nickserv pass)
Change-Id: I254a07a49f8b0ba611f6eae6b33a266decdd5ed2