#!/usr/bin/python
# -*- coding: utf-8 -*-

'''
Roles in this namespace are meant to provide hosts management operations for centos distributions.
'''

from provy.more.linux.networking.hosts import HostsRole as Hosts


class HostsRole(Hosts):
    '''
    This role provides hosts file management utilities for centos distributions.

    This is just a class wrapper over :class:`provy.more.linux.networking.hosts.HostsRole`

    Example:
    ::

        from provy.core import Role
        from provy.more.centos import HostsRole

        class MySampleRole(Role):
            def provision(self):
                with self.using(HostsRole) as role:
                    role.ensure_host('localhost', '127.0.0.1')
    '''
