summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@ansible.com>2016-06-06 22:46:19 +0200
committerBill Nottingham <notting@ansible.com>2016-06-06 22:46:19 +0200
commit74561e218ce748e05aeff6646d9959d269ce5a22 (patch)
treeddc18b416e550dc0f6169e3092625cdacb273d81 /setup.py
parentMerge pull request #2163 from anoek/2162 (diff)
downloadawx-74561e218ce748e05aeff6646d9959d269ce5a22.tar.xz
awx-74561e218ce748e05aeff6646d9959d269ce5a22.zip
munin is dead. Long live munin!
Wait, not that.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py19
1 files changed, 1 insertions, 18 deletions
diff --git a/setup.py b/setup.py
index 4b89789df7..01957a1a91 100755
--- a/setup.py
+++ b/setup.py
@@ -23,13 +23,10 @@ homedir = "/var/lib/awx"
bindir = "/usr/bin"
sharedir = "/usr/share/awx"
docdir = "/usr/share/doc/ansible-tower"
-munin_plugin_path = "/etc/munin/plugins/"
-munin_plugin_conf_path = "/etc/munin/plugin-conf.d"
if os.path.exists("/etc/debian_version"):
sysinit = "/etc/init.d"
webconfig = "/etc/apache2/conf.d"
- shutil.copy("config/awx-munin-ubuntu.conf", "config/awx-munin.conf")
# sosreport-3.1 (and newer) look in '/usr/share/sosreport/sos/plugins'
# sosreport-3.0 looks in '/usr/lib/python2.7/dist-packages/sos/plugins'
# debian/<package>.links will create symlinks to support both versions
@@ -37,7 +34,6 @@ if os.path.exists("/etc/debian_version"):
else:
sysinit = "/etc/rc.d/init.d"
webconfig = "/etc/httpd/conf.d"
- shutil.copy("config/awx-munin-el.conf", "config/awx-munin.conf")
# The .spec will create symlinks to support multiple versions of sosreport
sosconfig = "/usr/share/sosreport/sos/plugins"
@@ -120,22 +116,9 @@ setup(
("%s" % homedir, ["config/wsgi.py",
"awx/static/favicon.ico"]),
("%s" % webconfig, ["config/awx-httpd-80.conf",
- "config/awx-httpd-443.conf",
- "config/awx-munin.conf"]),
+ "config/awx-httpd-443.conf"]),
("%s" % sharedir, ["tools/scripts/request_tower_configuration.sh","tools/scripts/request_tower_configuration.ps1"]),
("%s" % docdir, ["docs/licenses/*",]),
- ("%s" % munin_plugin_path, ["tools/munin_monitors/tower_jobs",
- "tools/munin_monitors/callbackr_alive",
- "tools/munin_monitors/celery_alive",
- "tools/munin_monitors/postgres_alive",
- "tools/munin_monitors/redis_alive",
- "tools/munin_monitors/socketio_alive",
- "tools/munin_monitors/taskmanager_alive",
- "tools/munin_monitors/mongo_conn",
- "tools/munin_monitors/mongo_docs",
- "tools/munin_monitors/mongo_mem",
- "tools/munin_monitors/mongo_ops"]),
- ("%s" % munin_plugin_conf_path, ["config/awx_munin_tower_jobs"]),
("%s" % bindir, ["tools/scripts/ansible-tower-service",
"tools/scripts/tower-python"]),
("%s" % sosconfig, ["tools/sosreport/tower.py"])]),