Provided by: cdist_4.0.0~pre3-2_all bug

NAME

       cdist-type__hostname - set the hostname

DESCRIPTION

       Set’s the hostname on various operating systems.

REQUIRED PARAMETERS

       None.

OPTIONAL PARAMETERS

       name
           The hostname to set. Defaults to the first segment of target_host (${target_host%%.*})

MESSAGES

       changed
           Changed the hostname

EXAMPLES

           # take hostname from __target_host
           __hostname

           # set hostname explicitly
           __hostname --name some-static-hostname

SEE ALSO

cdist-type(7)

COPYING

       Copyright (C) 2012 Steven Armstrong. Free use of this software is granted under the terms
       of the GNU General Public License version 3 (GPLv3).

AUTHOR

       Steven Armstrong <steven-cdist--@--armstrong.cc>
           Author.

                                            04/07/2016                     CDIST-TYPE__HOSTNAM(7)