mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Change state names for packages to sound more "stateful"
This commit is contained in:
parent
eaa0fb11f1
commit
dc3a060ebc
@ -2,7 +2,7 @@
|
||||
State enforcing for packages
|
||||
'''
|
||||
|
||||
def install(name):
|
||||
def installed(name):
|
||||
'''
|
||||
Verify that the package is installed, return the packages changed in the
|
||||
operation and a bool if the job was sucessfull
|
||||
@ -36,7 +36,7 @@ def latest(name):
|
||||
'result': True,
|
||||
'commant': 'Package installed'}
|
||||
|
||||
def remove(name):
|
||||
def removed(name):
|
||||
'''
|
||||
Verify that the package is removed
|
||||
'''
|
||||
@ -54,7 +54,7 @@ def remove(name):
|
||||
'result': True,
|
||||
'commant': 'Package removed'}
|
||||
|
||||
def purge(name):
|
||||
def purged(name):
|
||||
'''
|
||||
Verify that the package is purged
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user