    # File lib/chef/provider/service/upstart.rb, line 39
            def initialize(new_resource, run_context)
              # TODO: re-evaluate if this is needed after integrating cookbook fix
              raise ArgumentError, "run_context cannot be nil" unless run_context
              super

              run_context.node

              platform, version = Chef::Platform.find_platform_and_version(run_context.node)
              if platform == "ubuntu" && (8.04..9.04).include?(version.to_f)
                @upstart_job_dir = "/etc/event.d"
                @upstart_conf_suffix = ""
              else
                @upstart_job_dir = "/etc/init"
                @upstart_conf_suffix = ".conf"
              end
            end