Formatting updates to salt.states.smartos

This commit is contained in:
Jacob Hammons 2015-11-18 17:36:00 -07:00
parent b344ebfe4a
commit 3dbe390a44

View File

@ -74,12 +74,13 @@ Management of SmartOS Standalone Compute Nodes
cleanup_images: cleanup_images:
smartos.image_vacuum smartos.image_vacuum
.. note:: .. note::
Keep in mind that when removing entries from vmconfig they will not get removed from the vm's current configuration,
for nics, disk, tags, ... they get removed as via add_*, set_*, update_*, and remove_*. Other properties must be
manual reset to there default value just like when using vmadm update.
Keep in mind that when removing entries from vmconfig they will not get
removed from the vm's current configuration, for nics, disk, tags, ... they
get removed as via add_*, set_*, update_*, and remove_*. Other properties
must be manually reset to their default value just like when using vmadm
update.
''' '''
from __future__ import absolute_import from __future__ import absolute_import
@ -322,9 +323,8 @@ def image_absent(name):
.. note:: .. note::
computenode.image_absent will only remove the image if computenode.image_absent will only remove the image if it is not used
it is not used by a vm. by a vm.
''' '''
ret = {'name': name, ret = {'name': name,
'changes': {}, 'changes': {},