Commit Graph

4 Commits

Author SHA1 Message Date
Monty Taylor 6bd802239f Retire repo
Depends-On: https://review.opendev.org/720892
Change-Id: I4944284ff2900bd607992a3884e7f1ee38d7e100
2020-04-22 10:24:35 -05:00
Colleen Murphy 4d84c48211 Update template to use instance variables
Using methods to access in-scope variables from puppet templates has
been deprecated since puppet 3.2.0[1] and causes warnings to be emitted
in logs. In puppet 4 this functionality was removed entirely. This
patch updates the accessbot.confg template to use instance variables as
recommended in the puppet documentation[2].

[1] https://projects.puppetlabs.com/issues/19058
[2] https://docs.puppetlabs.com/guides/templating.html#referencing-variables

Change-Id: I7af52e32322333879eef946443620e09a726dd57
2015-07-02 15:58:04 -07:00
Monty Taylor 35a7a1fa3f Rename accessbot config file to match manifest
Everything else wanted this to end in .config, not .conf

Change-Id: I6097bb7b43b0fdd8f89ca2caf8357768f2f9709e
2014-03-23 07:51:33 -07:00
James E. Blair f7e2d26333 Add a script to manage IRC perms
Run it whenever there is a change to the YAML channel config.

The script will ensure everyone listed in global has those perms
and anyone else found with access on a channel will be left as-is
except that their access will be limited to the relevant mask.

Move it and the previous change to add a permission checking
script into a new module, 'accessbot'.

Support SSL in both scripts.

Add a 1 second sleep in the check script to avoid flood protection.

Add all known channels to the channel config.

Closes-Bug: 1190296
Change-Id: I5072cb56ae83a70f4fa955362b8db909b2956d70
2014-03-10 17:26:34 -07:00