summaryrefslogtreecommitdiff
path: root/cloudinit/handlers
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-29 11:41:43 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-29 11:41:43 -0700
commitbb75af01d9bf802985e21d0b8d42f0855e57953f (patch)
tree61f0e3799e30278825128d181a3e4fb14f0713e3 /cloudinit/handlers
parentd56da066da89cd5ca89cb52e1a99e1d3e0a570d9 (diff)
downloadvyos-cloud-init-bb75af01d9bf802985e21d0b8d42f0855e57953f.tar.gz
vyos-cloud-init-bb75af01d9bf802985e21d0b8d42f0855e57953f.zip
Ensure that only when incoming frequency is per-instance that this runs.
Diffstat (limited to 'cloudinit/handlers')
-rw-r--r--cloudinit/handlers/upstart_job.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cloudinit/handlers/upstart_job.py b/cloudinit/handlers/upstart_job.py
index 411a5d68..99e0afde 100644
--- a/cloudinit/handlers/upstart_job.py
+++ b/cloudinit/handlers/upstart_job.py
@@ -46,6 +46,10 @@ class UpstartJobPartHandler(handlers.Handler):
if ctype in handlers.CONTENT_SIGNALS:
return
+ # See: https://bugs.launchpad.net/bugs/819507
+ if frequency != PER_INSTANCE:
+ return
+
if not self.upstart_dir:
return