summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-04-01 12:55:40 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-04-01 12:55:40 -0400
commit2933a28c400d6c00fa59e1b368d3606f22767576 (patch)
tree423211c4c19129c159d5d3528208d8208ddc4cf7 /library
parent035b498f37cdb5947d3d7c9254c23a20ca77eddd (diff)
downloadopenshift-2933a28c400d6c00fa59e1b368d3606f22767576.tar.gz
openshift-2933a28c400d6c00fa59e1b368d3606f22767576.tar.bz2
openshift-2933a28c400d6c00fa59e1b368d3606f22767576.tar.xz
openshift-2933a28c400d6c00fa59e1b368d3606f22767576.zip
Adding license
Diffstat (limited to 'library')
-rwxr-xr-xlibrary/zbxapi.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/library/zbxapi.py b/library/zbxapi.py
index 6d752c9f0..198914bcb 100755
--- a/library/zbxapi.py
+++ b/library/zbxapi.py
@@ -1,5 +1,22 @@
#!/usr/bin/env python
+# Copyright 2015 Red Hat Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# Purpose: An ansible module to communicate with zabbix.
+#
+
import json
import httplib2
import sys