Fix typos

This commit is contained in:
twangboy 2016-06-06 17:04:02 -06:00
parent 10458d8a70
commit b8ee89f18e
2 changed files with 2 additions and 5 deletions

View file

@ -270,7 +270,7 @@ def add_feature(feature,
cmd = ['DISM',
'/Quiet',
'/Image:{0}'.format(image) if image else '/Online',
'/Enable-Feature'
'/Enable-Feature',
'/FeatureName:{0}'.format(feature)]
if package:
cmd.append('/PackageName:{0}'.format(package))
@ -311,7 +311,7 @@ def remove_feature(feature, remove_payload=False, image=None, restart=False):
cmd = ['DISM',
'/Quiet',
'/Image:{0}'.format(image) if image else '/Online',
'/Disable-Feature'
'/Disable-Feature',
'/FeatureName:{0}'.format(feature)]
if remove_payload:

View file

@ -32,9 +32,6 @@ def __virtual__():
if not salt.utils.is_windows():
return False, 'Module only available on Windows'
if 'dism.add_capability' not in __salt__:
return False, 'DISM module not available'
return __virtualname__