anchor.diff:    port: <%= p('director.db.port') %>
     database: <%= p('director.db.database') %>
     connection_options: <%= JSON.generate(p('director.db.connection_options')) %>
  +
   snapshots:
     enabled: <%= p('director.enable_snapshots') %>
  +
   max_vm_create_tries: <%= p('director.max_vm_create_tries') %>
   
   scheduled_jobs:
  
positive.code:       kernel_id: <%= kernel_id %>
      <% end %>
  <% end %>
  <% if_p('openstack.auth_url', 'openstack.username', 'openstack.api_key',
          'openstack.tenant', 'openstack.default_key_name',
          'openstack.default_security_groups', 'registry.address',
  
negative.code: name: <%= p('director.name') %>
  port: <%= p('director.backend_port') %>
  encryption: <%= p('director.encryption') %>
  
  max_tasks: <%= p('director.max_tasks') %>
  max_threads: <%= p('director.max_threads') %>
  
  logging:
    level: DEBUG
    file: /var/vcap/sys/log/director/<%%= ENV["COMPONENT"] %>.debug.log
  
  <% if_p("resque.loglevel") do |resque_loglevel| %>
  resque:
    logging:
      level: <%= resque_loglevel %>
  <% end %>    
  
  redis:
    host: <%= p('redis.address') %>
    port: <%= p('redis.port') %>
    password: <%= p('redis.password') %>
    logging:
      level: <%= p('redis.loglevel') %>
  
  mbus: nats://<%= p('nats.user') %>:<%= p('nats.password') %>@<%= p('nats.address') %>:<%= p('nats.port') %>
  
  dir: /var/vcap/store/director
  
  db:
    adapter: <%= p('director.db.adapter') %>
    user: <%= p('director.db.user') %>
  