From 284476d4ec5d56046e6176f3e21293bd3d28b078 Mon Sep 17 00:00:00 2001 From: George Yoshida Date: Wed, 25 Jun 2014 23:21:43 +0900 Subject: [PATCH] In the yum module example, use present/absent instead of installed/removed --- packaging/yum | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/yum b/packaging/yum index b547f148342..245d3b8020a 100644 --- a/packaging/yum +++ b/packaging/yum @@ -107,10 +107,10 @@ EXAMPLES = ''' yum: name=httpd state=latest - name: remove the Apache package - yum: name=httpd state=removed + yum: name=httpd state=absent - name: install the latest version of Apache from the testing repo - yum: name=httpd enablerepo=testing state=installed + yum: name=httpd enablerepo=testing state=present - name: upgrade all packages yum: name=* state=latest