]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/cinder/spec/classes/cinder_db_sync_spec.rb
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / cinder / spec / classes / cinder_db_sync_spec.rb
diff --git a/3rdparty/modules/cinder/spec/classes/cinder_db_sync_spec.rb b/3rdparty/modules/cinder/spec/classes/cinder_db_sync_spec.rb
new file mode 100644 (file)
index 0000000..906d439
--- /dev/null
@@ -0,0 +1,16 @@
+require 'spec_helper'
+
+describe 'cinder::db::sync' do
+
+  let :facts do
+    {:osfamily => 'Debian'}
+  end
+  it { should contain_exec('cinder-manage db_sync').with(
+    :command     => 'cinder-manage db sync',
+    :path        => '/usr/bin',
+    :user        => 'cinder',
+    :refreshonly => true,
+    :logoutput   => 'on_failure'
+  ) }
+
+end