From bb75af01d9bf802985e21d0b8d42f0855e57953f Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 29 Jun 2012 11:41:43 -0700 Subject: Ensure that only when incoming frequency is per-instance that this runs. --- cloudinit/handlers/upstart_job.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3