aboutsummaryrefslogtreecommitdiffstats
path: root/po/te.po
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-04-14 20:09:19 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-04-14 20:09:19 +0100
commitf1c643ddea69c526a1040c9768a4efd36a86e574 (patch)
tree371d2781eb75120feb0c53452bb85794ffec0625 /po/te.po
parenteefc895b1cbfcb347d2f35828e92e606bf8dc457 (diff)
downloadsos-f1c643ddea69c526a1040c9768a4efd36a86e574.tar.gz
Add default Plugin.setup() method
Adding a default setup() method to the base Plugin class allows useful plugins to be written declaratively by setting the 'files' and 'packages' members of the subclass, e.g.: class FooPlugin(Plugin): plugin_name = 'foo' packages = ('foo',) files = ('/etc/foo.conf',) Creates a plugin class named 'foo' that will run whenever the 'foo' package is installed or the '/etc/foo.conf' file exists. The method calls self.add_copy_specs() with the plugin's files list. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'po/te.po')
0 files changed, 0 insertions, 0 deletions