Skip to content

Commit

Permalink
Add metadata for xbps
Browse files Browse the repository at this point in the history
Pass pyflakes
  • Loading branch information
abadger committed Dec 6, 2016
1 parent 2bd42f2 commit 240c0ae
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packaging/os/xbps.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#

ANSIBLE_METADATA = {'status': ['preview'],
'supported_by': 'community',
'version': '1.0'}

DOCUMENTATION = '''
---
module: xbps
Expand Down Expand Up @@ -94,6 +98,8 @@

import os

from ansible.module_utils.basic import AnsibleModule


def is_installed(xbps_output):
"""Returns package install state"""
Expand Down Expand Up @@ -293,8 +299,5 @@ def main():
remove_packages(module, xbps_path, pkgs)


# import module snippets
from ansible.module_utils.basic import *

if __name__ == "__main__":
main()

0 comments on commit 240c0ae

Please sign in to comment.