Update swift-proxy unit tests for puppet5
authorEmilien Macchi <emilien@redhat.com>
Mon, 7 Aug 2017 03:33:40 +0000 (20:33 -0700)
committerEmilien Macchi <emilien@redhat.com>
Mon, 7 Aug 2017 03:36:40 +0000 (20:36 -0700)
The latest version of puppet now require the class dependencies included
in the unit tests.

Change-Id: I0b6462f697f2d8012f8a785660c004f3efb13fdc

spec/classes/tripleo_profile_base_swift_proxy_spec.rb

index 68d7dde..0252237 100644 (file)
@@ -30,7 +30,9 @@ describe 'tripleo::profile::base::swift::proxy' do
        include ::memcached
        class { '::swift::proxy':
          proxy_local_net_ip => '127.0.0.1',
-       }"
+       }
+       include ::swift::proxy::tempauth
+      "
     end
 
     context 'with ipv4 memcache servers' do