mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Formatting updates to salt.states.smartos
This commit is contained in:
parent
b344ebfe4a
commit
3dbe390a44
@ -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': {},
|
||||||
|
Loading…
Reference in New Issue
Block a user