Change state names for packages to sound more "stateful"

This commit is contained in:
Thomas S Hatch 2011-05-12 12:36:24 -06:00
parent eaa0fb11f1
commit dc3a060ebc

View File

@ -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
'''