From dfbe35d4be52cb12d6860f1563d69f07a37495ff Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 28 Mar 2014 13:18:49 -0400 Subject: [PATCH] Rename apt-rpm to apt_rpm. --- CHANGELOG.md | 1 + library/packaging/{apt-rpm => apt_rpm} | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) rename library/packaging/{apt-rpm => apt_rpm} (95%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4884b525833..0f05bb279e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ New Modules: * packaging: composer (PHP) * packaging: homebrew_tap (OS X) * packaging: homebrew_cask (OS X) +* packaging: apt_rpm * notification: nexmo (SMS) * notification: twilio (SMS) * notification: slack (Slack.com) diff --git a/library/packaging/apt-rpm b/library/packaging/apt_rpm similarity index 95% rename from library/packaging/apt-rpm rename to library/packaging/apt_rpm index e8302f1bd02..0eca3132224 100755 --- a/library/packaging/apt-rpm +++ b/library/packaging/apt_rpm @@ -21,8 +21,8 @@ DOCUMENTATION = ''' --- -module: apt-rpm -short_description: apt-rpm package manager +module: apt_rpm +short_description: apt_rpm package manager description: - Manages packages with I(apt-rpm). Both low-level (I(rpm)) and high-level (I(apt-get)) package manager binaries required. version_added: "1.5" @@ -50,13 +50,13 @@ notes: [] EXAMPLES = ''' # install package foo -- apt-rpm: pkg=foo state=present +- apt_rpm: pkg=foo state=present # remove package foo -- apt-rpm: pkg=foo state=absent +- apt_rpm: pkg=foo state=absent # description: remove packages foo and bar -- apt-rpm: pkg=foo,bar state=absent +- apt_rpm: pkg=foo,bar state=absent # description: update the package database and install bar (bar will be the updated if a newer version exists) -- apt-rpm: name=bar state=present update_cache=yes +- apt_rpm: name=bar state=present update_cache=yes '''