%PDF- %PDF-
| Direktori : /proc/self/root/proc/thread-self/root/lib/python2.7/site-packages/salt/states/ |
| Current File : //proc/self/root/proc/thread-self/root/lib/python2.7/site-packages/salt/states/vbox_guest.pyc |
�
���^c @@ sh d Z d d l m Z m Z m Z d d l Z e j e � Z e e d � Z
e d � Z d d � Z
d S( u,
VirtualBox Guest Additions installer state
i ( t absolute_importt print_functiont unicode_literalsNc C@ s� i | d 6i d 6t d 6d d 6} t d � } | rM t | d <d | d <| St d r� d | d <i | d
6t d 6| d <d | d <| St d d
| d | � } d | d <i | d
6| d 6| d <t | � | d <| S( u�
Ensure that the VirtualBox Guest Additions are installed. Uses the CD,
connected by VirtualBox.
name
The name has no functional value and is only used as a tracking
reference.
reboot : False
Restart OS to complete installation.
upgrade_os : False
Upgrade OS (to ensure the latests version of kernel and developer tools
installed).
u nameu changesu resultu u commentu vbox_guest.additions_versionu# System already in the correct stateu testu8 The state of VirtualBox Guest Additions will be changed.u oldu newu vbox_guest.additions_installt reboott
upgrade_osu4 The state of VirtualBox Guest Additions was changed!N( t Falset __salt__t Truet __opts__t Nonet bool( t nameR R t rett
current_statet new_state( ( s: /usr/lib/python2.7/site-packages/salt/states/vbox_guest.pyt additions_installed
s* "
c C@ s� i | d 6i d 6t d 6d d 6} t d � } | sM t | d <d | d <| St d r� d | d <i | d
6t d 6| d <d | d <| St d d
| � } d | d <i | d
6| d 6| d <t | � | d <| S( u�
Ensure that the VirtualBox Guest Additions are removed. Uses the CD,
connected by VirtualBox.
To connect VirtualBox Guest Additions via VirtualBox graphical interface
press 'Host+D' ('Host' is usually 'Right Ctrl').
name
The name has no functional value and is only used as a tracking
reference.
force
Force VirtualBox Guest Additions removing.
u nameu changesu resultu u commentu vbox_guest.additions_versionu# System already in the correct stateu testu8 The state of VirtualBox Guest Additions will be changed.u oldu newu vbox_guest.additions_removet forceu4 The state of VirtualBox Guest Additions was changed!N( R R R R R R
( R R R R
R ( ( s: /usr/lib/python2.7/site-packages/salt/states/vbox_guest.pyt additions_removed7 s( "
c C@ s� i | d 6i d 6t d 6d d 6} t d � } | d k rG | g } n | | k rk t | d <d | d <| St d r� d | d <i | d
6| d 6| d <d | d <| St d d
| d | � } d | d <i | d
6| d 6| d <t | d <| S( u�
Grant access to auto-mounted shared folders to the users.
User is specified by it's name. To grant access for several users use
argument `users`.
name
Name of the user to grant access to auto-mounted shared folders to.
users
List of names of users to grant access to auto-mounted shared folders to.
If specified, `name` will not be taken into account.
u nameu changesu resultu u commentu$ vbox_guest.list_shared_folders_usersu# System already in the correct stateu testuL List of users who have access to auto-mounted shared folders will be changedu oldu newu, vbox_guest.grant_access_to_shared_folders_toR t usersuH List of users who have access to auto-mounted shared folders was changedN( R R R R R ( R R R R
R ( ( s: /usr/lib/python2.7/site-packages/salt/states/vbox_guest.pyt! grant_access_to_shared_folders_to` s.
"
( t __doc__t
__future__R R R t loggingt getLoggert __name__t logR R R R R ( ( ( s: /usr/lib/python2.7/site-packages/salt/states/vbox_guest.pyt <module> s *)