aboutsummaryrefslogtreecommitdiff
blob: 862f647f4926849200ca6eb8e09ede3b9e6fd609 (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

'''
Rsync plug-in module for layman.
'''

module_spec = {
    'name': 'rsync',
    'description': __doc__,
    'provides':{
        'rsync-module': {
            'name': 'rsync',
            'class': 'RsyncOverlay',
            'description': __doc__,
            'functions': ['add', 'supported', 'sync'],
            'func_desc': {
                'add': 'Creates the base dir and syncs a rsync repository',
                'supported': 'Confirms if overlay type is supported',
                'sync': 'Performs a rsync sync',
            },
        }
    }
}