From 2ca36fb782e07e4631e497bbffe5cad0926e222d 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 --- yum | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yum b/yum index 1a0f4285ca2..a025c0056cb 100644 --- a/yum +++ b/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)