2018-12-03 01:11:38 -06:00
|
|
|
# -*- coding: utf-8; -*-
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Rattail -- Retail Software Framework
|
2023-02-17 11:00:31 -06:00
|
|
|
# Copyright © 2010-2023 Lance Edgar
|
2018-12-03 01:11:38 -06:00
|
|
|
#
|
|
|
|
# This file is part of Rattail.
|
|
|
|
#
|
|
|
|
# Rattail is free software: you can redistribute it and/or modify it under the
|
|
|
|
# terms of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation, either version 3 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
#
|
|
|
|
# Rattail is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
|
|
# details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License along with
|
|
|
|
# Rattail. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
"""
|
|
|
|
Rattail-Fabric2 Library
|
|
|
|
|
|
|
|
This package contains various tasks and associated functions for use with
|
|
|
|
Fabric deployment and maintenance.
|
|
|
|
"""
|
|
|
|
|
2023-05-17 07:22:09 -05:00
|
|
|
from ._version import __version__
|
|
|
|
|
2018-12-03 01:11:38 -06:00
|
|
|
from .core import (
|
2020-09-23 22:40:59 -05:00
|
|
|
is_debian,
|
2018-12-03 01:11:38 -06:00
|
|
|
get_debian_version,
|
|
|
|
get_ubuntu_version,
|
2019-10-07 22:20:08 -05:00
|
|
|
Deployer,
|
2018-12-03 01:11:38 -06:00
|
|
|
make_deploy,
|
2023-02-17 11:00:31 -06:00
|
|
|
make_normal_user,
|
2018-12-03 01:11:38 -06:00
|
|
|
make_system_user,
|
|
|
|
mkdir,
|
2019-09-09 14:19:26 -05:00
|
|
|
rsync,
|
2018-12-03 01:11:38 -06:00
|
|
|
set_timezone,
|
2019-01-06 14:14:47 -06:00
|
|
|
UNSPECIFIED,
|
2018-12-03 01:11:38 -06:00
|
|
|
)
|
2021-06-15 14:16:29 -05:00
|
|
|
from .util import exists, contains, append, sed, uncomment
|