Move module dependency from package to map.jinja
Change-Id: I172ce1e536ca1d8cb076b01ef4817ec009fe6e1f
diff --git a/debian/control b/debian/control
index 146e42e..26b9fb6 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,6 @@
Package: salt-formula-reclass
Architecture: all
-Depends: ${misc:Depends}, python-netaddr
+Depends: ${misc:Depends}
Description: Reclass salt formula
Configure Reclass hierarchical data storage.
diff --git a/reclass/map.jinja b/reclass/map.jinja
index 44451b6..235f29a 100644
--- a/reclass/map.jinja
+++ b/reclass/map.jinja
@@ -16,13 +16,13 @@
'reclass_nodes_cleanup': False,
},
'Debian': {
- 'pkgs': ['reclass', 'python-reclass'],
+ 'pkgs': ['reclass', 'python-reclass', 'python-netaddr'],
'dependency': {
'pkgs': ['git', 'python-pip'],
}
},
'RedHat': {
- 'pkgs': ['reclass', 'python-reclass'],
+ 'pkgs': ['reclass', 'python-reclass', 'python-netaddr'],
'dependency': {
'pkgs': ['git', 'python-pip'],
}