mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #29026 from jacobhammons/develop
doc for salt.states.smartos
This commit is contained in:
commit
296a5708cc
6
doc/ref/states/all/salt.states.smartos.rst
Normal file
6
doc/ref/states/all/salt.states.smartos.rst
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
===================
|
||||||
|
salt.states.smartos
|
||||||
|
===================
|
||||||
|
|
||||||
|
.. automodule:: salt.states.smartos
|
||||||
|
:members:
|
@ -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