aboutsummaryrefslogtreecommitdiff
blob: 75b05973962256cff84afa32cef7ec45031754e6 (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
26
# 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',
            'sourcefile': 'rsync',
            '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',
            },
        }
    }
}