Add ability to configure handlers from pillar

- enabled handlers option placed in correct section for queens
- added ability to configure handlers for queens from pillar
- updated kitchen
- added kitchen verification
- removed unsupported liberty

Change-Id: I7eca089df75d317b018ddc989c57f8cf74a64cf4
Related-Prod: https://mirantis.jira.com/browse/PROD-24488
diff --git a/tests/integration/ocata/server_cluster/config_spec.rb b/tests/integration/ocata/server_cluster/config_spec.rb
new file mode 100644
index 0000000..9330b40
--- /dev/null
+++ b/tests/integration/ocata/server_cluster/config_spec.rb
@@ -0,0 +1,63 @@
+ssl_enabled = attribute("ssl", default: false)
+
+oslo_messaging_rabbit = {
+  'rabbit_hosts' => '127.0.0.1:5672,127.0.0.2:5672,127.0.0.3:5672'
+}
+
+service_sink = {
+  'enabled_notification_handlers' => 'nova_fixed, neutron_floatingip'
+}
+
+handler_nova_fixed = {
+  'zone_id'             => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'notification_topics' => 'notifications',
+  'control_exchange'    => "'nova'",
+  'formatv4'            => "'%(hostname)s.%(zone)s'",
+  'formatv6'            => "'%(hostname)s.%(zone)s'",
+}
+
+handler_neutron_floatingip = {
+  'zone_id'             => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'notification_topics' => 'notifications',
+  'control_exchange'    => "'neutron'",
+  'formatv4'            => "'%(hostname)s.%(zone)s'",
+  'formatv6'            => "'%(hostname)s.%(zone)s'",
+}
+
+control 'Designate' do
+
+  describe parse_config_file('/etc/designate/designate.conf') do
+
+    describe 'Designate messaging' do
+
+      if ssl_enabled
+        # SSL not supported in Ocata
+        describe 'SSL' do
+        end
+      else
+        describe 'non SSL' do
+          its('oslo_messaging_rabbit') do
+            should include(oslo_messaging_rabbit)
+          end
+        end
+      end
+
+    end
+
+    describe 'Designate notification handlers' do
+
+      its('service:sink') do
+        should include(service_sink)
+      end
+
+      its('handler:nova_fixed') do
+        should include(handler_nova_fixed)
+      end
+
+      its('handler:neutron_floatingip') do
+        should include(handler_neutron_floatingip)
+      end
+
+    end
+  end
+end
\ No newline at end of file
diff --git a/tests/integration/ocata/server_single/config_spec.rb b/tests/integration/ocata/server_single/config_spec.rb
new file mode 100644
index 0000000..6ffe944
--- /dev/null
+++ b/tests/integration/ocata/server_single/config_spec.rb
@@ -0,0 +1,65 @@
+ssl_enabled = attribute("ssl", default: false)
+
+oslo_messaging_rabbit = {
+  'rabbit_host' => '127.0.0.1',
+  'rabbit_port' => '5672'
+}
+
+service_sink = {
+  'enabled_notification_handlers' => 'nova_fixed, neutron_floatingip'
+}
+
+handler_nova_fixed = {
+  'zone_id'             => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'notification_topics' => 'notifications',
+  'control_exchange'    => "'nova'",
+  'formatv4'            => "'%(hostname)s.%(zone)s'",
+  'formatv6'            => "'%(hostname)s.%(zone)s'",
+}
+
+handler_neutron_floatingip = {
+  'zone_id'             => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'notification_topics' => 'notifications',
+  'control_exchange'    => "'neutron'",
+  'formatv4'            => "'%(hostname)s.%(zone)s'",
+  'formatv6'            => "'%(hostname)s.%(zone)s'",
+}
+
+control 'Designate' do
+
+  describe parse_config_file('/etc/designate/designate.conf') do
+
+    describe 'Designate messaging' do
+
+      if ssl_enabled
+        # SSL not supported in Ocata
+        describe 'SSL' do
+        end
+      else
+        describe 'non SSL' do
+          its('oslo_messaging_rabbit') do
+            should include(oslo_messaging_rabbit)
+          end
+        end
+      end
+
+    end
+
+    describe 'Designate notification handlers' do
+
+      its('service:sink') do
+        should include(service_sink)
+      end
+
+      its('handler:nova_fixed') do
+        should include(handler_nova_fixed)
+      end
+
+      its('handler:neutron_floatingip') do
+        should include(handler_neutron_floatingip)
+      end
+
+    end
+
+  end
+end
\ No newline at end of file
diff --git a/tests/integration/pike/server_cluster/config_spec.rb b/tests/integration/pike/server_cluster/config_spec.rb
new file mode 100644
index 0000000..870ac21
--- /dev/null
+++ b/tests/integration/pike/server_cluster/config_spec.rb
@@ -0,0 +1,73 @@
+ssl_enabled = attribute("ssl", default: false)
+
+oslo_messaging_rabbit_ssl = {
+  'rabbit_hosts'       => '127.0.0.1:5671,127.0.0.2:5671,127.0.0.3:5671',
+  'rabbit_use_ssl'     => 'true',
+  'kombu_ssl_version'  => 'TLSv1_2',
+  'kombu_ssl_ca_certs' => '/etc/designate/ssl/mysql/ca-cert.pem',
+}
+
+oslo_messaging_rabbit = {
+  'rabbit_hosts'       => '127.0.0.1:5672,127.0.0.2:5672,127.0.0.3:5672'
+}
+
+service_sink = {
+  'enabled_notification_handlers' => 'nova_fixed, neutron_floatingip'
+}
+
+handler_nova_fixed = {
+  'zone_id'             => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'notification_topics' => 'notifications',
+  'control_exchange'    => "'nova'",
+  'formatv4'            => "'%(hostname)s.%(zone)s'",
+  'formatv6'            => "'%(hostname)s.%(zone)s'",
+}
+
+handler_neutron_floatingip = {
+  'zone_id'             => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'notification_topics' => 'notifications',
+  'control_exchange'    => "'neutron'",
+  'formatv4'            => "'%(hostname)s.%(zone)s'",
+  'formatv6'            => "'%(hostname)s.%(zone)s'",
+}
+
+control 'Designate' do
+
+  describe parse_config_file('/etc/designate/designate.conf') do
+
+    describe 'Designate messaging' do
+
+      if ssl_enabled
+        oslo_messaging_rabbit.merge!(oslo_messaging_rabbit_ssl)
+        describe 'SSL' do
+          its('oslo_messaging_rabbit') {
+            should include(oslo_messaging_rabbit)
+          }
+        end
+      else
+        describe 'non SSL' do
+          its('oslo_messaging_rabbit') do
+            should include(oslo_messaging_rabbit)
+          end
+        end
+      end
+
+    end
+
+    describe 'Designate notification handlers' do
+
+      its('service:sink') do
+        should include(service_sink)
+      end
+
+      its('handler:nova_fixed') do
+        should include(handler_nova_fixed)
+      end
+
+      its('handler:neutron_floatingip') do
+        should include(handler_neutron_floatingip)
+      end
+
+    end
+  end
+end
\ No newline at end of file
diff --git a/tests/integration/pike/server_single/config_spec.rb b/tests/integration/pike/server_single/config_spec.rb
new file mode 100644
index 0000000..c872c61
--- /dev/null
+++ b/tests/integration/pike/server_single/config_spec.rb
@@ -0,0 +1,73 @@
+ssl_enabled = attribute("ssl", default: false)
+
+oslo_messaging_rabbit = {
+  'rabbit_host' => '127.0.0.1',
+  'rabbit_port' => '5672'
+}
+oslo_messaging_rabbit_ssl = {
+  'rabbit_port'        => '5671',
+  'rabbit_use_ssl'     => 'true',
+  'kombu_ssl_version'  => 'TLSv1_2',
+  'kombu_ssl_ca_certs' => '/etc/designate/ssl/mysql/ca-cert.pem',
+}
+
+service_sink = {
+  'enabled_notification_handlers' => 'nova_fixed, neutron_floatingip'
+}
+
+handler_nova_fixed = {
+  'zone_id'             => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'notification_topics' => 'notifications',
+  'control_exchange'    => "'nova'",
+  'formatv4'            => "'%(hostname)s.%(zone)s'",
+  'formatv6'            => "'%(hostname)s.%(zone)s'",
+}
+
+handler_neutron_floatingip = {
+  'zone_id'             => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'notification_topics' => 'notifications',
+  'control_exchange'    => "'neutron'",
+  'formatv4'            => "'%(hostname)s.%(zone)s'",
+  'formatv6'            => "'%(hostname)s.%(zone)s'",
+}
+
+control 'Designate' do
+
+  describe parse_config_file('/etc/designate/designate.conf') do
+
+    describe 'Designate messaging' do
+
+      if ssl_enabled
+        oslo_messaging_rabbit.merge!(oslo_messaging_rabbit_ssl)
+        describe 'SSL' do
+          its('oslo_messaging_rabbit') {
+            should include(oslo_messaging_rabbit)
+          }
+        end
+      else
+        describe 'non SSL' do
+          its('oslo_messaging_rabbit') do
+            should include(oslo_messaging_rabbit)
+          end
+        end
+      end
+
+    end
+
+    describe 'Designate notification handlers' do
+
+      its('service:sink') do
+        should include(service_sink)
+      end
+
+      its('handler:nova_fixed') do
+        should include(handler_nova_fixed)
+      end
+
+      its('handler:neutron_floatingip') do
+        should include(handler_neutron_floatingip)
+      end
+
+    end
+  end
+end
\ No newline at end of file
diff --git a/tests/integration/queens/server_cluster/config_spec.rb b/tests/integration/queens/server_cluster/config_spec.rb
new file mode 100644
index 0000000..6c5a738
--- /dev/null
+++ b/tests/integration/queens/server_cluster/config_spec.rb
@@ -0,0 +1,77 @@
+ssl_enabled = attribute("ssl", default: false)
+
+oslo_messaging_default_ssl = {
+  'transport_url' => 'rabbit://openstack:password@127.0.0.1:5671,openstack:password@127.0.0.2:5671,openstack:password@127.0.0.3:5671//openstack'
+}
+
+oslo_messaging_rabbit_ssl = {
+  'ssl'         => 'true',
+  'ssl_version' => 'TLSv1_2',
+  'ssl_ca_file' => '/etc/designate/ssl/mysql/ca-cert.pem',
+}
+
+oslo_messaging_default = {
+  'transport_url' => 'rabbit://openstack:password@127.0.0.1:5672,openstack:password@127.0.0.2:5672,openstack:password@127.0.0.3:5672//openstack'
+}
+
+oslo_messaging_rabbit = {}
+
+service_sink = {
+  'enabled_notification_handlers' => 'neutron_floatingip, nova_fixed'
+}
+
+handler_nova_fixed = {
+  'zone_id'  => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'formatv4' => "'%(hostname)s.%(zone)s'",
+  'formatv6' => "'%(hostname)s.%(zone)s'",
+}
+
+handler_neutron_floatingip = {
+  'zone_id'  => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'formatv4' => "'%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(zone)s'",
+}
+
+control 'Designate' do
+
+  describe parse_config_file('/etc/designate/designate.conf') do
+
+    describe 'Designate messaging' do
+
+      if ssl_enabled
+        oslo_messaging_default.merge!(oslo_messaging_default_ssl)
+        oslo_messaging_rabbit.merge!(oslo_messaging_rabbit_ssl)
+        describe 'SSL' do
+          its('DEFAULT') {
+            should include(oslo_messaging_default)
+          }
+          its('oslo_messaging_rabbit') {
+            should include(oslo_messaging_rabbit)
+          }
+        end
+      else
+        describe 'non SSL' do
+          its('DEFAULT') do
+            should include(oslo_messaging_default)
+          end
+        end
+      end
+
+    end
+
+    describe 'Designate notification handlers' do
+
+      its('service:sink') do
+        should include(service_sink)
+      end
+
+      its('handler:nova_fixed') do
+        should include(handler_nova_fixed)
+      end
+
+      its('handler:neutron_floatingip') do
+        should include(handler_neutron_floatingip)
+      end
+
+    end
+  end
+end
\ No newline at end of file
diff --git a/tests/integration/queens/server_single/config_spec.rb b/tests/integration/queens/server_single/config_spec.rb
new file mode 100644
index 0000000..ee8ca13
--- /dev/null
+++ b/tests/integration/queens/server_single/config_spec.rb
@@ -0,0 +1,77 @@
+ssl_enabled = attribute("ssl", default: false)
+
+oslo_messaging_default_ssl = {
+  'transport_url' => 'rabbit://openstack:password@127.0.0.1:5671//openstack'
+}
+
+oslo_messaging_rabbit_ssl = {
+  'ssl'         => 'true',
+  'ssl_version' => 'TLSv1_2',
+  'ssl_ca_file' => '/etc/designate/ssl/mysql/ca-cert.pem',
+}
+
+oslo_messaging_default = {
+  'transport_url' => 'rabbit://openstack:password@127.0.0.1:5672//openstack'
+}
+
+oslo_messaging_rabbit = {}
+
+service_sink = {
+  'enabled_notification_handlers' => 'neutron_floatingip, nova_fixed'
+}
+
+handler_nova_fixed = {
+  'zone_id'  => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'formatv4' => "'%(hostname)s.%(zone)s'",
+  'formatv6' => "'%(hostname)s.%(zone)s'",
+}
+
+handler_neutron_floatingip = {
+  'zone_id'  => '5186883b-91fb-4891-bd49-e6769234a8fc',
+  'formatv4' => "'%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(zone)s'",
+}
+
+control 'Designate' do
+
+  describe parse_config_file('/etc/designate/designate.conf') do
+
+    describe 'Designate messaging' do
+
+      if ssl_enabled
+        oslo_messaging_default.merge!(oslo_messaging_default_ssl)
+        oslo_messaging_rabbit.merge!(oslo_messaging_rabbit_ssl)
+        describe 'SSL' do
+          its('DEFAULT') {
+            should include(oslo_messaging_default)
+          }
+          its('oslo_messaging_rabbit') {
+            should include(oslo_messaging_rabbit)
+          }
+        end
+      else
+        describe 'non SSL' do
+          its('DEFAULT') do
+            should include(oslo_messaging_default)
+          end
+        end
+      end
+
+    end
+
+    describe 'Designate notification handlers' do
+
+      its('service:sink') do
+        should include(service_sink)
+      end
+
+      its('handler:nova_fixed') do
+        should include(handler_nova_fixed)
+      end
+
+      its('handler:neutron_floatingip') do
+        should include(handler_neutron_floatingip)
+      end
+
+    end
+  end
+end
\ No newline at end of file
diff --git a/tests/pillar/designate_liberty.sls b/tests/pillar/designate_liberty.sls
deleted file mode 100644
index d43dee8..0000000
--- a/tests/pillar/designate_liberty.sls
+++ /dev/null
@@ -1,65 +0,0 @@
-designate:
-  pool_manager:
-    enabled: true
-  server:
-    enabled: true
-    bind:
-      api:
-        address: 127.0.0.1
-    region: RegionOne
-    domain_id: 5186883b-91fb-4891-bd49-e6769234a8fc
-    version: liberty
-    mdns:
-      address: 0.0.0.0
-      port: 5354
-    admin_api:
-      enabled: true
-      enabled_extensions_admin: quotas
-    database:
-      engine: mysql
-      host: 127.0.0.1
-      port: 3306
-      name:
-        main_database: designate
-        pool_manager: designate_pool_manager
-      user: designate
-      password: passw0rd
-    message_queue:
-      engine: rabbitmq
-      members:
-        - host: 127.0.0.1
-        - host: 127.0.1.1
-        - host: 127.0.2.1
-      user: openstack
-      password: password
-      virtual_host: '/openstack'
-    identity:
-      host: 127.0.0.1
-      port: 35357
-      user: designate
-    logging:
-      log_appender: false
-      log_handlers:
-        watchedfile:
-          enabled: true
-        fluentd:
-          enabled: false
-        ossyslog:
-          enabled: false
-    pool:
-      pool_id: cae73b6f-95eb-4a7d-a567-099ae6176e08
-      nameservers:
-        - uuid: 690d7bc8-811b-404c-abcc-9cec54d87092
-          host: 127.0.0.1
-          port: 53
-        - uuid: bc5ddcf0-8d95-4f87-b435-9ff831a4a14c
-          host: 127.0.1.1
-          port: 53
-        - uuid: a43d5375-a5ec-4077-8c87-ec0b08fa3bd1
-          host: 127.0.2.1
-          port: 53
-      targets:
-        uuid: f26e0b32-736f-4f0a-831b-039a415c481e
-        options: 'port: 53, host: 127.0.0.1'
-        masters: 127.0.0.1:5354
-        type:  bind9
diff --git a/tests/pillar/designate_ocata.sls b/tests/pillar/designate_ocata.sls
deleted file mode 100644
index 93e7e7a..0000000
--- a/tests/pillar/designate_ocata.sls
+++ /dev/null
@@ -1,169 +0,0 @@
-designate:
-  _support:
-    sensu:
-      enabled: false
-  server:
-    enabled: true
-    region: RegionOne
-    domain_id: 5186883b-91fb-4891-bd49-e6769234a8fc
-    version: ocata
-    api:
-      quotas_verify_project_id: false
-    bind:
-      api:
-        address: 127.0.0.1
-    admin_api:
-      enabled: true
-      enabled_extensions_admin: quotas
-    database:
-      engine: mysql
-      host: 127.0.0.1
-      port: 3306
-      name:
-        main_database: designate
-        pool_manager: designate_pool_manager
-      user: designate
-      password: passw0rd
-    identity:
-      engine: keystone
-      host: 127.0.0.1
-      port: 35357
-      tenant: service
-      user: designate
-      password: passw0rd
-    mdns:
-      address: 0.0.0.0
-      port: 5354
-    message_queue:
-      engine: rabbitmq
-      members:
-      - host: 127.0.0.1
-      user: openstack
-      password: password
-      virtual_host: '/openstack'
-    logging:
-      log_appender: false
-      log_handlers:
-        watchedfile:
-          enabled: true
-        fluentd:
-          enabled: false
-        ossyslog:
-          enabled: false
-    pools:
-      default:
-        description: 'default pool'
-        attributes:
-          service_tier: GOLD
-          test_attr: test_value
-        ns_records:
-          - hostname: 'ns1.example.org.'
-            priority: 10
-        nameservers:
-          - host: 127.0.0.1
-            port: 53
-          - host: 127.0.1.1
-            port: 53
-          - host: 127.0.2.1
-            port: 53
-        targets:
-          default_target:
-            type: bind9
-            description: 'default target'
-            masters:
-              - host: 127.0.0.1
-                port: 5354
-            options:
-              host: 127.0.0.1
-              port: 53
-              rndc_host: 127.0.0.1
-              rndc_port: 953
-              rndc_key_file: /etc/designate/rndc.key
-        also_notifies:
-          - host: 127.0.3.1
-            port: 53
-    quota:
-      zones: 40
-  worker:
-    enabled: true
-    logging:
-      log_appender: false
-      log_handlers:
-        watchedfile:
-          enabled: true
-        fluentd:
-          enabled: false
-        ossyslog:
-          enabled: false
-mysql:
-  client:
-    enabled: true
-    version: '5.7'
-    admin:
-      host: localhost
-      port: 3306
-      user: admin
-      password: password
-      encoding: utf8
-  server:
-    enabled: true
-    version: "5.7"
-    force_encoding: utf8
-    bind:
-      address: 0.0.0.0
-      port: 3306
-      protocol: tcp
-    database:
-      designate:
-        encoding: utf8
-        users:
-        - host: '%'
-          name: designate
-          password: passw0rd
-          rights: all
-        - host: 127.0.0.1
-          name: designate
-          password: passw0rd
-          rights: all
-      designate_pool_manager:
-        encoding: utf8
-        users:
-        - host: '%'
-          name: designate
-          password: passw0rd
-          rights: all
-        - host: 127.0.0.1
-          name: designate
-          password: passw0rd
-          rights: all
-# On xenial rabbitmq fails to start inside docker on MK CI
-# rabbitmq:
-#   server:
-#     enabled: true
-#     bind:
-#       address: 0.0.0.0
-#       port: 5672
-#     secret_key: rabbit_master_cookie
-#     admin:
-#       name: adminuser
-#       password: pwd
-#     host:
-#       '/':
-#         enabled: true
-#         user: guest
-#         password: guest
-#         policies:
-#         - name: HA
-#           pattern: '^(?!amq\.).*'
-#           definition: '{"ha-mode": "all", "message-ttl": 120000}'
-#       '/openstack':
-#         enabled: true
-#         user: openstack
-#         password: password
-#         policies:
-#         - name: HA
-#           pattern: '^(?!amq\.).*'
-#           definition: '{"ha-mode": "all", "message-ttl": 120000}'
-#     memory:
-#       vm_high_watermark: 0.4
-#     plugins: ['']
diff --git a/tests/pillar/repo_mcp_openstack.sls b/tests/pillar/repo_mcp_openstack_ocata.sls
similarity index 100%
rename from tests/pillar/repo_mcp_openstack.sls
rename to tests/pillar/repo_mcp_openstack_ocata.sls
diff --git a/tests/pillar/repo_mcp_openstack_pike.sls b/tests/pillar/repo_mcp_openstack_pike.sls
new file mode 100644
index 0000000..789b907
--- /dev/null
+++ b/tests/pillar/repo_mcp_openstack_pike.sls
@@ -0,0 +1,12 @@
+linux:
+  system:
+    enabled: true
+    repo:
+      mirantis_openstack_repo:
+        source: "deb http://mirror.fuel-infra.org/mcp-repos/pike/{{ grains.get('oscodename') }} pike main"
+        architectures: amd64
+        key_url: "http://mirror.fuel-infra.org/mcp-repos/pike/{{ grains.get('oscodename') }}/archive-mcppike.key"
+        pin:
+        - pin: 'release a=pike'
+          priority: 1050
+          package: '*'
\ No newline at end of file
diff --git a/tests/pillar/repo_mcp_openstack_queens.sls b/tests/pillar/repo_mcp_openstack_queens.sls
new file mode 100644
index 0000000..a8c7e77
--- /dev/null
+++ b/tests/pillar/repo_mcp_openstack_queens.sls
@@ -0,0 +1,12 @@
+linux:
+  system:
+    enabled: true
+    repo:
+      mirantis_openstack_repo:
+        source: "deb http://mirror.mirantis.com/nightly/openstack-queens/{{ grains.get('oscodename') }} {{ grains.get('oscodename') }} main"
+        architectures: amd64
+        key_url: "http://mirror.mirantis.com/nightly/openstack-queens/{{ grains.get('oscodename') }}/archive-queens.key"
+        pin:
+        - pin: 'release l=queens'
+          priority: 1050
+          package: '*'
\ No newline at end of file
diff --git a/tests/pillar/server_cluster.sls b/tests/pillar/server_cluster.sls
new file mode 100644
index 0000000..2313ef7
--- /dev/null
+++ b/tests/pillar/server_cluster.sls
@@ -0,0 +1,99 @@
+designate:
+  _support:
+    sensu:
+      enabled: false
+  server:
+    enabled: true
+    region: RegionOne
+    domain_id: 5186883b-91fb-4891-bd49-e6769234a8fc
+    version: ocata
+    api:
+      quotas_verify_project_id: false
+    bind:
+      api:
+        address: 127.0.0.1
+    admin_api:
+      enabled: true
+      enabled_extensions_admin: quotas
+    database:
+      engine: mysql
+      host: 127.0.0.1
+      port: 3306
+      name:
+        main_database: designate
+        pool_manager: designate_pool_manager
+      user: designate
+      password: passw0rd
+    identity:
+      engine: keystone
+      host: 127.0.0.1
+      port: 35357
+      tenant: service
+      user: designate
+      password: passw0rd
+    mdns:
+      address: 0.0.0.0
+      port: 5354
+    message_queue:
+      engine: rabbitmq
+      members:
+      - host: 127.0.0.1
+      - host: 127.0.0.2
+      - host: 127.0.0.3
+      user: openstack
+      password: password
+      virtual_host: '/openstack'
+    logging:
+      log_appender: false
+      log_handlers:
+        watchedfile:
+          enabled: true
+        fluentd:
+          enabled: false
+        ossyslog:
+          enabled: false
+    pools:
+      default:
+        description: 'default pool'
+        attributes:
+          service_tier: GOLD
+          test_attr: test_value
+        ns_records:
+          - hostname: 'ns1.example.org.'
+            priority: 10
+        nameservers:
+          - host: 127.0.0.1
+            port: 53
+          - host: 127.0.1.1
+            port: 53
+          - host: 127.0.2.1
+            port: 53
+        targets:
+          default_target:
+            type: bind9
+            description: 'default target'
+            masters:
+              - host: 127.0.0.1
+                port: 5354
+            options:
+              host: 127.0.0.1
+              port: 53
+              rndc_host: 127.0.0.1
+              rndc_port: 953
+              rndc_key_file: /etc/designate/rndc.key
+        also_notifies:
+          - host: 127.0.3.1
+            port: 53
+    quota:
+      zones: 40
+  worker:
+    enabled: true
+    logging:
+      log_appender: false
+      log_handlers:
+        watchedfile:
+          enabled: true
+        fluentd:
+          enabled: false
+        ossyslog:
+          enabled: false
\ No newline at end of file
diff --git a/tests/pillar/server_single.sls b/tests/pillar/server_single.sls
new file mode 100644
index 0000000..ea81a3b
--- /dev/null
+++ b/tests/pillar/server_single.sls
@@ -0,0 +1,97 @@
+designate:
+  _support:
+    sensu:
+      enabled: false
+  server:
+    enabled: true
+    region: RegionOne
+    domain_id: 5186883b-91fb-4891-bd49-e6769234a8fc
+    version: ocata
+    api:
+      quotas_verify_project_id: false
+    bind:
+      api:
+        address: 127.0.0.1
+    admin_api:
+      enabled: true
+      enabled_extensions_admin: quotas
+    database:
+      engine: mysql
+      host: 127.0.0.1
+      port: 3306
+      name:
+        main_database: designate
+        pool_manager: designate_pool_manager
+      user: designate
+      password: passw0rd
+    identity:
+      engine: keystone
+      host: 127.0.0.1
+      port: 35357
+      tenant: service
+      user: designate
+      password: passw0rd
+    mdns:
+      address: 0.0.0.0
+      port: 5354
+    message_queue:
+      engine: rabbitmq
+      host: 127.0.0.1
+      port: 5672
+      user: openstack
+      password: password
+      virtual_host: '/openstack'
+    logging:
+      log_appender: false
+      log_handlers:
+        watchedfile:
+          enabled: true
+        fluentd:
+          enabled: false
+        ossyslog:
+          enabled: false
+    pools:
+      default:
+        description: 'default pool'
+        attributes:
+          service_tier: GOLD
+          test_attr: test_value
+        ns_records:
+          - hostname: 'ns1.example.org.'
+            priority: 10
+        nameservers:
+          - host: 127.0.0.1
+            port: 53
+          - host: 127.0.1.1
+            port: 53
+          - host: 127.0.2.1
+            port: 53
+        targets:
+          default_target:
+            type: bind9
+            description: 'default target'
+            masters:
+              - host: 127.0.0.1
+                port: 5354
+            options:
+              host: 127.0.0.1
+              port: 53
+              rndc_host: 127.0.0.1
+              rndc_port: 953
+              rndc_key_file: /etc/designate/rndc.key
+        also_notifies:
+          - host: 127.0.3.1
+            port: 53
+    quota:
+      zones: 40
+  worker:
+    enabled: true
+    logging:
+      log_appender: false
+      log_handlers:
+        watchedfile:
+          enabled: true
+        fluentd:
+          enabled: false
+        ossyslog:
+          enabled: false
\ No newline at end of file
diff --git a/tests/pillar/ssl.sls b/tests/pillar/ssl.sls
deleted file mode 100644
index 7168c35..0000000
--- a/tests/pillar/ssl.sls
+++ /dev/null
@@ -1,12 +0,0 @@
-include:
-  - .designate_ocata
-
-designate:
-  server:
-    database:
-      ssl:
-        enabled: True
-    message_queue:
-      port: 5671
-      ssl:
-        enabled: True