Skip to content

Commit

Permalink
Added CLI example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Maryniuk committed Mar 18, 2015
1 parent e37cf8c commit 26fab4b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions salt/modules/rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,12 @@ def diff(package, path):
:param package: The name of the package
:param path: Full path to the installed file
:return: Difference or empty string. For binary files only a notification.
CLI example:
.. code-block:: bash
salt '*' lowpkg.diff apache2 /etc/apache2/httpd.conf
'''

cmd = "rpm2cpio {0} " \
Expand Down

0 comments on commit 26fab4b

Please sign in to comment.