summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_chef.py
diff options
context:
space:
mode:
authorNate House nathan.house@rackspace.com <>2014-01-27 16:34:35 -0600
committerNate House nathan.house@rackspace.com <>2014-01-27 16:34:35 -0600
commit79d1eccc9fa751325fcb574fd9385a14bf2bbba6 (patch)
tree779f3570e484fa1d218d40ded165c65f5f61790d /cloudinit/config/cc_chef.py
parent309457a96a84132d2e570bf902c464b2a1aa9d0b (diff)
downloadvyos-cloud-init-79d1eccc9fa751325fcb574fd9385a14bf2bbba6.tar.gz
vyos-cloud-init-79d1eccc9fa751325fcb574fd9385a14bf2bbba6.zip
Removed excessive is_excluded module calls
Diffstat (limited to 'cloudinit/config/cc_chef.py')
-rw-r--r--cloudinit/config/cc_chef.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudinit/config/cc_chef.py b/cloudinit/config/cc_chef.py
index a74c4d27..727769cd 100644
--- a/cloudinit/config/cc_chef.py
+++ b/cloudinit/config/cc_chef.py
@@ -40,8 +40,7 @@ OMNIBUS_URL = "https://www.opscode.com/chef/install.sh"
def handle(name, cfg, cloud, log, _args):
- if cloud.is_excluded(name):
- return
+
# If there isn't a chef key in the configuration don't do anything
if 'chef' not in cfg:
log.debug(("Skipping module named %s,"