Merge pull request #5 from tcpcloud/hotfix
Hotfix before stacklight is merged
diff --git a/collectd/files/collectd_python.conf b/collectd/files/collectd_python.conf
index 76c7898..a30ee36 100644
--- a/collectd/files/collectd_python.conf
+++ b/collectd/files/collectd_python.conf
@@ -1,3 +1,4 @@
+{%- from "collectd/map.jinja" import client with context %}
<LoadPlugin python>
Globals false
</LoadPlugin>
diff --git a/collectd/map.jinja b/collectd/map.jinja
index dd0cdf7..a0156c5 100644
--- a/collectd/map.jinja
+++ b/collectd/map.jinja
@@ -10,7 +10,7 @@
'remote_collector': False
},
'Debian': {
- 'pkgs': ['collectd-core', 'snmp', 'python-yaml'],
+ 'pkgs': ['collectd-core', 'snmp', 'python-yaml', 'libpython2.7'],
'service': 'collectd',
'config_file': '/etc/collectd/collectd.conf',
'config_dir': '/etc/collectd/conf.d',