Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias Import alias Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str Num Num Str NameLoad NameLoad NameLoad Str NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Dict Str Str Str Str NameLoad Dict NameLoad Str If BoolOpAnd CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str CompareEq NameLoad Str body Assign NameStore Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Assign NameStore Call SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr Str body If BoolOpAnd CompareIn Str NameLoad CompareIn NameLoad NameLoad body Assign NameStore NameLoad If Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr Str body While NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign NameStore Call NameLoad Call NameLoad BinOpAdd BinOpAdd NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr Str Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad orelse If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad BinOpAdd BinOpAdd NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Str attr orelse If Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad If CompareGt SubscriptLoad NameLoad Index Str Num body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad orelse For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad Call AttributeLoad NameLoad attr Str Str NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body If CompareIn Str Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn NameLoad NameLoad body If CompareNotIn Str SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Assign NameStore IfExp CompareIn Str SubscriptLoad NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str NameLoad Assign NameStore IfExp CompareIn Str SubscriptLoad NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str NameLoad Assign NameStore IfExp CompareIn Str SubscriptLoad NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str NameLoad If BoolOpAnd NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad BinOpBitOr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore ListLoad Str Str Str Str Str Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str ListLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If CompareIn NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str If CompareEq Call AttributeLoad NameLoad attr Str Str body Assign NameStore BinOpMult Call NameLoad Call AttributeLoad NameLoad attr Str Num If CompareEq Call AttributeLoad NameLoad attr Str Str body Assign NameStore BinOpMult BinOpMult Call NameLoad Call AttributeLoad NameLoad attr Str Num Num Assign NameStore Call AttributeLoad Str attr NameLoad If BoolOpAnd CompareIn NameLoad ListLoad Str CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Str body Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Dict Str Str Str Str If BoolOpAnd CompareIn SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num NameLoad CompareGt Call NameLoad Call AttributeLoad NameLoad attr Str Num body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad NameLoad If BoolOpAnd NameLoad CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad If BoolOpAnd CompareNotIn NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str CompareNotIn NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str ListLoad CompareNotIn NameLoad NameLoad CompareNotIn NameLoad Call AttributeLoad NameLoad attr NameLoad ListLoad CompareNotIn NameLoad NameLoad body If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Return NameLoad orelse If BoolOpOr CompareIn NameLoad ListLoad Str Str Call AttributeLoad NameLoad attr Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str BinOpAdd Str Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad orelse Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str BinOpAdd Str Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareNotIn NameLoad NameLoad body If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str BinOpAdd BinOpAdd Str Str NameLoad orelse Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str BinOpAdd BinOpAdd Str Str NameLoad If CompareNotEq NameLoad NameLoad body AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index Str Index Str BinOpAdd BinOpAdd Str NameLoad Str AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index Str Index Str BinOpAdd Str Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str keyword NameLoad If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad orelse Assign SubscriptStore NameLoad Index Str Str If CompareNotIn NameLoad NameLoad body If NameLoad body If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Return NameLoad If BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Str Return NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str keyword NameLoad If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad orelse If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad orelse If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse If NameLoad body Expr Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad If NameLoad body If BoolOpAnd CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str CompareEq NameLoad Str body Assign NameStore Str If SubscriptLoad NameLoad Index Str body If CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad orelse Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad If CompareNotEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad If CompareEq NameLoad Str body If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore Call AttributeLoad Str attr NameLoad orelse If CompareEq NameLoad Str body If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad orelse If CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad If CompareEq NameLoad Str body AugAssignAdd SubscriptStore NameLoad Index Str Str Return NameLoad If CompareEq NameLoad Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str AugAssignAdd SubscriptStore NameLoad Index Str Str Return NameLoad If CompareEq NameLoad Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str AugAssignAdd SubscriptStore NameLoad Index Str Str Return NameLoad If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad AugAssignAdd SubscriptStore NameLoad Index Str Str Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Expr Str Assign NameStore Dict Str Str Str Str NameLoad Dict NameLoad Str Assign NameStore Call SubscriptLoad NameLoad Index Str If Call SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad orelse Assign NameStore NameLoad If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse Expr Call SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad If SubscriptLoad NameLoad Index Str body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Return NameLoad If CompareIn Str NameLoad body If BoolOpAnd CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str body Return NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str Str NameLoad Str ListLoad Str Num Num NameLoad If CompareEq NameLoad Str body Return NameLoad If CompareEq NameLoad Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str AugAssignAdd SubscriptStore NameLoad Index Str Str Return NameLoad If CompareEq NameLoad Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str AugAssignAdd SubscriptStore NameLoad Index Str Str Return NameLoad If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad AugAssignAdd SubscriptStore NameLoad Index Str Str Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad NameLoad body Expr Str Assign NameStore Dict Str Str Str Str NameLoad Dict NameLoad Str Assign NameStore Call SubscriptLoad NameLoad Index Str keyword NameLoad If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Str If CompareIn NameLoad NameLoad body If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Return NameLoad If NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad keyword NameLoad orelse Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad orelse If CompareIs NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body If BoolOpAnd CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str CompareEq NameLoad Str body Assign NameStore Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad orelse Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad If CompareNotIn NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index Str Str orelse If NameLoad body If CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str NameLoad body AugAssignAdd SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Return NameLoad If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad orelse If CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad orelse Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad AugAssignAdd SubscriptStore NameLoad Index Str Str orelse AugAssignAdd SubscriptStore NameLoad Index Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Dict Str Str Str Str NameLoad Dict NameLoad Str If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad SubscriptLoad NameLoad Index Str NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list
N/A N/A 
Mounting of filesystems
=======================

Mount any type of mountable filesystem with the mounted function:

.. code-block:: yaml

    /mnt/sdb:
      mount.mounted:
        - device: /dev/sdb1
        - fstype: ext4
        - mkmnt: True
        - opts:
          - defaults

    /srv/bigdata:
      mount.mounted:
        - device: UUID=066e0200-2867-4ebe-b9e6-f30026ca2314
        - fstype: xfs
        - opts: nobootwait,noatime,nodiratime,nobarrier,logbufs=8
        - dump: 0
        - pass_num: 2
        - persist: True
        - mkmnt: True
 __future__ absolute_import N/A os.path N/A re salt.ext.six string_types N/A logging N/A salt.ext.six six N/A log N/A N/A logging getLogger __name__ mounted N/A N/A name device fstype mkmnt opts dump pass_num config persist mount user match_on extra_mount_invisible_options extra_mount_invisible_keys extra_mount_ignore_fs_keys extra_mount_translate_options hidden_opts N/A False defaults 0 0 /etc/fstab True True None auto None None None None None N/A N/A 
    Verify that a device is mounted

    name
        The path to the location where the device is to be mounted

    device
        The device name, typically the device node, such as ``/dev/sdb1``
        or ``UUID=066e0200-2867-4ebe-b9e6-f30026ca2314`` or ``LABEL=DATA``

    fstype
        The filesystem type, this will be ``xfs``, ``ext2/3/4`` in the case of classic
        filesystems, and ``fuse`` in the case of fuse mounts

    mkmnt
        If the mount point is not present then the state will fail, set ``mkmnt: True``
        to create the mount point if it is otherwise not present

    opts
        A list object of options or a comma delimited list

    dump
        The dump value to be passed into the fstab, Default is ``0``

    pass_num
        The pass value to be passed into the fstab, Default is ``0``

    config
        Set an alternative location for the fstab, Default is ``/etc/fstab``

    persist
        Set if the mount should be saved in the fstab, Default is ``True``

    mount
        Set if the mount should be mounted immediately, Default is ``True``

    user
        The user to own the mount; this defaults to the user salt is
        running as on the minion

    match_on
        A name or list of fstab properties on which this state should be applied.
        Default is ``auto``, a special value indicating to guess based on fstype.
        In general, ``auto`` matches on name for recognized special devices and
        device otherwise.

    extra_mount_invisible_options
        A list of extra options that are not visible through the /proc/self/mountinfo
        interface. If a option is not visible through this interface it will always
        remount the device. This Option extends the builtin mount_invisible_options list.

    extra_mount_invisible_keys
        A list of extra key options that are not visible through the /proc/self/mountinfo
        interface. If a key option is not visible through this interface it will always
        remount the device. This Option extends the builtin mount_invisible_keys list.
        A good example for a key Option is the password Option:
            password=badsecret

    extra_ignore_fs_keys
        A dict of filesystem options which should not force a remount. This will update
        the internal dictionary. The dict should look like this:
            {
                'ramfs': ['size']
            }

    extra_mount_translate_options
        A dict of mount options that gets translated when mounted. To prevent a remount
        add additional Options to the default dictionary. This will update the internal
        dictionary. The dictionary should look like this:
            {
                'tcp': 'proto=tcp',
                'udp': 'proto=udp'
            }

    hidden_opts
        A list of mount options that will be ignored when considering a remount
        as part of the state application

        .. versionadded:: 2015.8.2
     N/A ret N/A name changes result comment name N/A True N/A N/A N/A N/A __grains__ N/A os N/A MacOS Darwin N/A opts defaults N/A N/A opts noowners N/A N/A isinstance opts string_types N/A N/A opts N/A N/A opts split , N/A N/A isinstance hidden_opts string_types N/A N/A hidden_opts N/A N/A hidden_opts split , N/A N/A N/A name / N/A N/A name N/A N/A name rstrip / N/A device_list N/A N/A active N/A N/A __salt__ N/A mount.active extended True N/A real_name N/A N/A N/A os path realpath name N/A N/A N/A device startswith / N/A N/A N/A N/A bind opts N/A real_name active N/A N/A _device device N/A N/A N/A N/A N/A active N/A real_name N/A device startswith / N/A N/A True N/A N/A N/A _device active N/A N/A _real_device N/A N/A active N/A _device N/A device N/A opts N/A list N/A set N/A N/A opts N/A N/A active N/A _device N/A opts N/A N/A active N/A _device N/A superopts N/A N/A N/A N/A N/A active N/A real_name N/A opts append bind N/A N/A _device N/A N/A N/A os path dirname _device N/A real_device _real_device N/A N/A N/A _device active N/A N/A opts N/A list N/A set N/A N/A opts N/A N/A active N/A _device N/A opts N/A N/A active N/A _device N/A superopts N/A N/A N/A N/A N/A active N/A real_name N/A opts append bind N/A real_device N/A N/A active N/A real_name N/A device N/A N/A real_device N/A N/A N/A os path realpath device N/A N/A N/A N/A N/A N/A device upper startswith UUID= N/A N/A real_device N/A N/A N/A N/A N/A N/A N/A device split = N/A 1 strip " lower N/A N/A N/A N/A N/A N/A device upper startswith LABEL= N/A N/A _label N/A N/A N/A device split = N/A 1 N/A cmd N/A N/A blkid -t LABEL={0} format _label N/A res N/A N/A __salt__ N/A cmd.run_all N/A N/A {0} format cmd N/A N/A N/A res N/A retcode 0 N/A N/A N/A ret N/A comment N/A N/A Unable to find device with label {0}. format _label N/A N/A ret N/A result False N/A ret N/A N/A line N/A res N/A stdout N/A N/A dev_with_label N/A N/A N/A line split : N/A 0 N/A N/A N/A device_list append dev_with_label N/A real_device N/A device_list N/A 0 N/A N/A real_device device N/A lvs_match N/A N/A re match ^/dev/(?P<vg_name>[^/]+)/(?P<lv_name>[^/]+$) device N/A lvs_match N/A N/A double_dash_escaped N/A dict N/A N/A k N/A N/A re sub - -- v N/A N/A k v N/A N/A six iteritems N/A N/A lvs_match groupdict N/A mapper_device N/A N/A /dev/mapper/{vg_name}-{lv_name} format double_dash_escaped N/A N/A N/A N/A os path exists mapper_device N/A N/A real_device mapper_device N/A fuse_match N/A N/A re match ^\w+\#(?P<device_name>.+) device N/A fuse_match N/A N/A N/A device_name N/A N/A fuse_match groupdict N/A N/A real_device N/A N/A fuse_match group device_name N/A N/A real_name active N/A N/A N/A superopts N/A active N/A real_name N/A N/A N/A N/A active N/A real_name N/A superopts N/A N/A mount N/A N/A N/A N/A device_list append N/A N/A active N/A real_name N/A device N/A N/A N/A device_list append N/A N/A N/A os path realpath N/A device_list N/A 0 N/A alt_device N/A N/A alt_device N/A active N/A real_name N/A N/A active N/A real_name N/A alt_device None N/A uuid_device N/A N/A device_uuid N/A active N/A real_name N/A N/A active N/A real_name N/A device_uuid None N/A label_device N/A N/A device_label N/A active N/A real_name N/A N/A active N/A real_name N/A device_label None N/A N/A alt_device N/A alt_device device_list N/A N/A N/A N/A device_list append alt_device N/A N/A uuid_device N/A uuid_device device_list N/A N/A N/A N/A device_list append uuid_device N/A N/A label_device N/A label_device device_list N/A N/A N/A N/A device_list append label_device N/A opts N/A N/A mount_invisible_options N/A _netdev actimeo bg comment defaults delay_connect direct-io-mode intr loop nointr nobootwait nofail password reconnect retry soft auto users bind nonempty transform_symlinks port backup-volfile-servers N/A extra_mount_invisible_options N/A N/A N/A N/A mount_invisible_options extend extra_mount_invisible_options N/A hidden_opts N/A N/A mount_invisible_options N/A list N/A N/A set mount_invisible_options N/A set hidden_opts N/A mount_invisible_keys N/A actimeo comment direct-io-mode password retry port N/A extra_mount_invisible_keys N/A N/A N/A N/A mount_invisible_keys extend extra_mount_invisible_keys N/A mount_ignore_fs_keys N/A ramfs N/A size N/A extra_mount_ignore_fs_keys N/A N/A N/A N/A mount_ignore_fs_keys update extra_mount_ignore_fs_keys N/A mount_translate_options N/A tcp udp proto=tcp proto=udp N/A extra_mount_translate_options N/A N/A N/A N/A mount_translate_options update extra_mount_translate_options N/A opt opts N/A N/A N/A opt mount_translate_options N/A N/A opt N/A mount_translate_options N/A opt N/A keyval_option N/A N/A N/A opt split = N/A 0 N/A N/A keyval_option mount_invisible_keys N/A N/A opt keyval_option N/A size_match N/A N/A re match size=(?P<size_value>[0-9]+)(?P<size_unit>k|m|g) opt N/A size_match N/A N/A converted_size N/A int N/A N/A size_match group size_value N/A N/A N/A N/A size_match group size_unit m N/A N/A converted_size N/A N/A int N/A N/A size_match group size_value 1024 N/A N/A N/A N/A size_match group size_unit g N/A N/A converted_size N/A N/A N/A int N/A N/A size_match group size_value 1024 1024 N/A opt N/A N/A size={0}k format converted_size N/A N/A N/A fstype N/A cifs N/A N/A N/A N/A opt split = N/A 0 user N/A N/A opt N/A N/A username={0} format N/A N/A N/A opt split = N/A 1 N/A name_id_opts N/A uid gid user.info group.info N/A N/A N/A N/A N/A N/A opt split = N/A 0 name_id_opts N/A N/A len N/A N/A opt split = 1 N/A N/A _givenid N/A N/A N/A opt split = N/A 1 N/A _param N/A N/A N/A opt split = N/A 0 N/A _id _givenid N/A N/A N/A N/A re match [0-9]+$ _givenid N/A N/A _info N/A N/A __salt__ N/A N/A name_id_opts N/A _param _givenid N/A N/A _info N/A _param _info N/A N/A _id N/A _info N/A _param N/A opt N/A N/A _param = N/A str _id N/A N/A N/A opt N/A N/A active N/A real_name N/A opts N/A opt N/A N/A N/A active N/A real_name get superopts N/A N/A opt mount_invisible_options N/A opt N/A N/A mount_ignore_fs_keys get fstype N/A N/A opt mount_invisible_keys N/A N/A N/A __opts__ N/A test N/A N/A N/A ret N/A result None N/A N/A ret N/A comment N/A N/A Remount would be forced because options ({0}) changed format opt N/A ret N/A N/A N/A N/A fstype N/A nfs cvfs N/A N/A fstype startswith fuse N/A N/A N/A N/A ret N/A changes N/A umount N/A Forced unmount and mount because  N/A N/A options ({0}) changed format opt N/A unmount_result N/A N/A __salt__ N/A mount.umount real_name N/A N/A unmount_result True N/A N/A mount_result N/A N/A __salt__ N/A mount.mount real_name device mkmnt mkmnt fstype fstype opts opts N/A N/A ret N/A result mount_result N/A N/A N/A ret N/A result False N/A N/A ret N/A comment N/A N/A Unable to unmount {0}: {1}. format real_name unmount_result N/A ret N/A N/A N/A N/A ret N/A changes N/A umount N/A Forced remount because  N/A N/A options ({0}) changed format opt N/A remount_result N/A N/A __salt__ N/A mount.remount real_name device mkmnt mkmnt fstype fstype opts opts N/A N/A ret N/A result remount_result N/A N/A remount opts N/A N/A N/A N/A opts remove remount N/A N/A real_device device_list N/A N/A N/A __opts__ N/A test N/A N/A N/A ret N/A result None N/A N/A ret N/A comment N/A N/A An umount would have been forced  because devices do not match.  Watched:  device N/A N/A N/A N/A ret N/A changes N/A umount N/A N/A Forced unmount because devices  don't match. Wanted:  device N/A N/A real_device device N/A N/A N/A N/A ret N/A changes N/A umount N/A N/A  ( real_device ) N/A N/A N/A ret N/A changes N/A umount N/A , current:  N/A N/A ,  join device_list N/A out N/A N/A __salt__ N/A mount.umount real_name user user N/A active N/A N/A __salt__ N/A mount.active extended True N/A N/A real_name active N/A N/A N/A ret N/A comment Unable to unmount N/A N/A ret N/A result None N/A ret N/A N/A N/A ret N/A comment Target was already mounted N/A N/A real_name active N/A N/A mount N/A N/A N/A __opts__ N/A test N/A N/A N/A ret N/A result None N/A N/A N/A N/A os path exists name N/A N/A N/A ret N/A comment N/A N/A {0} would be mounted format name N/A N/A mkmnt N/A N/A N/A ret N/A comment N/A N/A {0} would be created and mounted format name N/A N/A N/A ret N/A comment N/A N/A {0} does not exist and would not be created format name N/A ret N/A N/A N/A N/A N/A N/A os path exists name N/A mkmnt N/A N/A N/A ret N/A result False N/A N/A ret N/A comment Mount directory is not present N/A ret N/A out N/A N/A __salt__ N/A mount.mount name device mkmnt fstype opts user user N/A active N/A N/A __salt__ N/A mount.active extended True N/A N/A isinstance out string_types N/A N/A N/A ret N/A comment out N/A N/A ret N/A result False N/A ret N/A N/A N/A real_name active N/A N/A N/A ret N/A comment Target was successfully mounted N/A N/A N/A ret N/A changes N/A mount True N/A N/A N/A N/A N/A N/A os path exists name N/A N/A N/A __opts__ N/A test N/A N/A N/A ret N/A result None N/A mkmnt N/A N/A N/A ret N/A comment N/A N/A {0} would be created, but not mounted format name N/A N/A N/A ret N/A comment N/A N/A {0} does not exist and would neither be created nor mounted format name N/A N/A mkmnt N/A N/A N/A N/A __salt__ N/A file.mkdir name user user N/A N/A ret N/A comment N/A N/A {0} was created, not mounted format name N/A N/A N/A ret N/A comment N/A N/A {0} not present and not mounted format name N/A N/A N/A __opts__ N/A test N/A N/A N/A ret N/A result None N/A N/A ret N/A comment N/A N/A {0} would not be mounted format name N/A N/A N/A ret N/A comment N/A N/A {0} not mounted format name N/A persist N/A N/A N/A N/A N/A __grains__ N/A os N/A MacOS Darwin N/A config /etc/fstab N/A N/A config /etc/auto_salt N/A N/A __opts__ N/A test N/A N/A N/A N/A __grains__ N/A os N/A MacOS Darwin N/A N/A out N/A N/A __salt__ N/A mount.set_automaster name device fstype opts config test True N/A N/A out N/A N/A __salt__ N/A mount.set_fstab name device fstype opts dump pass_num config test True match_on match_on N/A N/A out present N/A N/A N/A ret N/A result None N/A N/A out new N/A N/A mount N/A N/A comment N/A N/A {0} is mounted, but needs to be written to the fstab in order to be made persistent. format name N/A N/A comment N/A N/A {0} needs to be written to the fstab in order to be made persistent. format name N/A N/A N/A out change N/A N/A mount N/A N/A comment N/A N/A {0} is mounted, but its fstab entry must be updated. format name N/A N/A comment N/A N/A The {0} fstab entry must be updated. format name N/A N/A N/A ret N/A result False N/A comment N/A N/A Unable to detect fstab status for mount point {0} due to unexpected output '{1}' from call to mount.set_fstab. This is most likely a bug. format name out N/A N/A comment ret N/A N/A N/A ret N/A comment N/A N/A {0}. {1} format N/A ret N/A comment comment N/A N/A N/A ret N/A comment comment N/A ret N/A N/A N/A N/A __grains__ N/A os N/A MacOS Darwin N/A N/A out N/A N/A __salt__ N/A mount.set_automaster name device fstype opts config N/A N/A out N/A N/A __salt__ N/A mount.set_fstab name device fstype opts dump pass_num config match_on match_on N/A N/A out present N/A N/A N/A ret N/A comment . Entry already exists in the fstab. N/A ret N/A N/A out new N/A N/A N/A N/A ret N/A changes N/A persist new N/A N/A ret N/A comment . Added new entry to the fstab. N/A ret N/A N/A out change N/A N/A N/A N/A ret N/A changes N/A persist update N/A N/A ret N/A comment . Updated the entry in the fstab. N/A ret N/A N/A out bad config N/A N/A N/A ret N/A result False N/A N/A ret N/A comment . However, the fstab was not found. N/A ret N/A ret N/A swap N/A N/A name persist config N/A True /etc/fstab N/A N/A 
    Activates a swap device

    .. code-block:: yaml

        /root/swapfile:
          mount.swap

    .. note::
        ``swap`` does not currently support LABEL
     N/A ret N/A name changes result comment name N/A True N/A on_ N/A N/A __salt__ N/A mount.swaps N/A N/A N/A __salt__ N/A file.is_link name N/A N/A real_swap_device N/A N/A __salt__ N/A file.readlink name N/A N/A N/A N/A real_swap_device startswith / N/A N/A real_swap_device N/A N/A /dev/{0} format N/A N/A N/A os path basename real_swap_device N/A N/A real_swap_device real_swap_device N/A N/A real_swap_device name N/A N/A real_swap_device on_ N/A N/A N/A ret N/A comment N/A N/A Swap {0} already active format name N/A N/A N/A __opts__ N/A test N/A N/A N/A ret N/A result None N/A N/A ret N/A comment N/A N/A Swap {0} is set to be activated format name N/A N/A N/A N/A __salt__ N/A mount.swapon real_swap_device N/A on_ N/A N/A __salt__ N/A mount.swaps N/A N/A real_swap_device on_ N/A N/A N/A ret N/A comment N/A N/A Swap {0} activated format name N/A N/A ret N/A changes N/A on_ N/A real_swap_device N/A N/A N/A ret N/A comment N/A N/A Swap {0} failed to activate format name N/A N/A ret N/A result False N/A persist N/A N/A fstab_data N/A N/A __salt__ N/A mount.fstab config N/A N/A __opts__ N/A test N/A N/A N/A name fstab_data N/A N/A N/A ret N/A result None N/A N/A name on_ N/A N/A N/A ret N/A comment N/A N/A Swap {0} is set to be added to the fstab and to be activated format name N/A ret N/A N/A none fstab_data N/A N/A N/A N/A N/A N/A fstab_data N/A none N/A device name N/A N/A N/A fstab_data N/A none N/A fstype swap N/A N/A ret N/A out N/A N/A __salt__ N/A mount.set_fstab none name swap N/A defaults 0 0 config N/A N/A out present N/A N/A ret N/A N/A out new N/A N/A N/A N/A ret N/A changes N/A persist new N/A N/A ret N/A comment . Added new entry to the fstab. N/A ret N/A N/A out change N/A N/A N/A N/A ret N/A changes N/A persist update N/A N/A ret N/A comment . Updated the entry in the fstab. N/A ret N/A N/A out bad config N/A N/A N/A ret N/A result False N/A N/A ret N/A comment . However, the fstab was not found. N/A ret N/A ret N/A unmounted N/A N/A name device config persist user N/A None /etc/fstab False None N/A N/A 
    .. versionadded:: 0.17.0

    Verify that a device is not mounted

    name
        The path to the location where the device is to be unmounted from

    device
        The device to be unmounted.  This is optional because the device could
        be mounted in multiple places.

        .. versionadded:: 2015.5.0

    config
        Set an alternative location for the fstab, Default is ``/etc/fstab``

    persist
        Set if the mount should be purged from the fstab, Default is ``False``

    user
        The user to own the mount; this defaults to the user salt is
        running as on the minion
     N/A ret N/A name changes result comment name N/A True N/A active N/A N/A __salt__ N/A mount.active extended True N/A N/A name active N/A N/A N/A ret N/A comment Target was already unmounted N/A N/A name active N/A N/A N/A __opts__ N/A test N/A N/A N/A ret N/A result None N/A N/A ret N/A comment N/A N/A Mount point {0} is mounted but should not be format name N/A ret N/A device N/A N/A out N/A N/A __salt__ N/A mount.umount name device user user N/A N/A out N/A N/A __salt__ N/A mount.umount name user user N/A N/A isinstance out string_types N/A N/A N/A ret N/A comment out N/A N/A ret N/A result False N/A N/A N/A out True N/A N/A N/A ret N/A comment Target was successfully unmounted N/A N/A N/A ret N/A changes N/A umount True N/A N/A N/A ret N/A comment Execute set to False, Target was not unmounted N/A N/A ret N/A result True N/A persist N/A N/A N/A N/A N/A __grains__ N/A os N/A MacOS Darwin N/A config /etc/fstab N/A N/A config /etc/auto_salt N/A fstab_data N/A N/A __salt__ N/A mount.automaster config N/A N/A fstab_data N/A N/A __salt__ N/A mount.fstab config N/A N/A name fstab_data N/A N/A N/A ret N/A comment . fstab entry not found N/A N/A device N/A N/A N/A N/A N/A fstab_data N/A name N/A device device N/A N/A N/A ret N/A comment N/A N/A . fstab entry for device {0} not found format device N/A ret N/A N/A __opts__ N/A test N/A N/A N/A ret N/A result None N/A N/A ret N/A comment N/A N/A Mount point {0} is unmounted but needs to be purged from {1} to be made persistent format name config N/A ret N/A N/A N/A N/A __grains__ N/A os N/A MacOS Darwin N/A N/A out N/A N/A __salt__ N/A mount.rm_automaster name device config N/A N/A out N/A N/A __salt__ N/A mount.rm_fstab name device config N/A N/A out True N/A N/A N/A ret N/A result False N/A N/A ret N/A comment . Failed to persist purge N/A N/A N/A ret N/A comment . Removed target from fstab N/A N/A N/A ret N/A changes N/A persist purged N/A ret N/A mod_watch N/A N/A name user N/A None kwargs N/A N/A 
    The mounted watcher, called to invoke the watch command.

    name
        The name of the mount point

     N/A ret N/A name changes result comment name N/A True N/A N/A N/A kwargs N/A sfun mounted N/A N/A out N/A N/A __salt__ N/A mount.remount name N/A kwargs N/A device False N/A kwargs N/A fstype N/A kwargs N/A opts user user N/A out N/A N/A N/A ret N/A comment N/A N/A {0} remounted format name N/A N/A N/A ret N/A result False N/A N/A ret N/A comment N/A N/A {0} failed to remount: {1} format name out N/A N/A N/A ret N/A comment N/A N/A Watch not supported in {0} at this time format N/A kwargs N/A sfun N/A ret N/A