From 1699013fbd1f667849fede31a1f5e53cc52ba4f3 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 9 Mar 2012 18:50:34 -0500 Subject: [PATCH] Rename 'ensure' to 'state' so it lines up with the service module --- library/yum | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/yum b/library/yum index 1a0f4285ca2..a025c0056cb 100644 --- a/library/yum +++ b/library/yum @@ -195,8 +195,8 @@ def remove_only(pkgspec): pass def main(): - # ensure=installed pkg=pkgspec - # ensure=removed pkg=pkgspec + # state=installed pkg=pkgspec + # state=removed pkg=pkgspec # list=installed # list=updates # list=available @@ -222,7 +222,7 @@ def main(): results = list_stuff(my, params['list']) elif 'ensure' in params: my = yum_base(conf_file=params['conf_file'], cachedir=True) - state = params['ensure'] + state = params['state'] pkgspec = params['pkg'] results = ensure(my, state, pkgspec)