summaryrefslogtreecommitdiff
path: root/cloudinit/distros
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/distros')
-rw-r--r--cloudinit/distros/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index a6d1e6c6..674c7293 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -62,7 +62,7 @@ class Distro(object):
self.name = name
def is_excluded(self, name):
- if name in self.excluded_modules:
+ if name in self.exclude_modules:
distro = getattr(self, name, None) or getattr(self, 'osfamily')
LOG.debug(("Skipping module named %s, distro excluded"), name,
distro)