File: //proc/self/root/lib/python3.6/site-packages/ipaplatform/base/__pycache__/tasks.cpython-36.pyc
3
�d[e2D � @ s� d Z ddlmZ ddlZddlZddlZddlmZ ddlm Z ddl
mZ ddlm
Z
eje�Zejd�ZG d d
� d
�Ze� ZdS )zQ
This module contains default platform-specific implementations of system tasks.
� )�absolute_importN)�
parse_version)�paths)�ipautil)�
IPAChangeConfz�
# auto-generated by IPA installer
[Resolve]
# use local BIND instance
DNS=127.0.0.1
# make local BIND default DNS server, add search suffixes
Domains=~. {searchdomains}
c @ sx e Zd ZdYdd�Zdd� Zdd� Zdd � Zd
d� Zdd
� Zdd� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� ZdZd!d"�Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� Zd[d0d1�Zed2d3� �Zd4d5� Zd6d7� Zd8d9� Zd:d;� Zd<d=� Z d>d?� Z!d@dA� Z"dBdC� Z#dDdE� Z$dFdG� Z%dd/dH�dIdJ�Z&d\dKdL�Z'dMdN� Z(dOdP� Z)dQdR� Z*d d f fdSdT�Z+dUdV� Z,dWdX� Z-d/S )]�BaseTaskNamespaceFc C s
t � �dS )zcRestore SELinux security context on the given filepath.
No return value expected.
N)�NotImplementedError)�self�filepath�force� r �/usr/lib/python3.6/tasks.py�restore_context5 s z!BaseTaskNamespace.restore_contextc C s
t � �dS )z�
Backs up the current hostname in the statestore (so that it can be
restored by the restore_hostname platform task).
No return value expected.
N)r )r �fstore�
statestorer r r
�backup_hostname<