aboutsummaryrefslogtreecommitdiff
blob: 2b3caf32917276ca9481991d598e4b48ba4b41de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

'''
G-Sorcery plug-in module for layman.
'''

module_spec = {
    'name': 'g-sorcery',
    'description': __doc__,
    'provides':{
        'g-sorcery-module': {
            'name': 'g-sorcery',
            'class': 'GSorceryOverlay',
            'description': __doc__,
            'functions': ['add', 'supported', 'sync'],
            'func_desc': {
                'add': 'Creates the base dir and clones a g_common repository',
                'supported': 'Confirms if overlay type is supported',
                'sync': 'Performs a sync of the repository',
            },
        }
    }
}