]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/cinder/manifests/db/sync.pp
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / cinder / manifests / db / sync.pp
diff --git a/3rdparty/modules/cinder/manifests/db/sync.pp b/3rdparty/modules/cinder/manifests/db/sync.pp
new file mode 100644 (file)
index 0000000..942f252
--- /dev/null
@@ -0,0 +1,14 @@
+#
+class cinder::db::sync {
+
+  include cinder::params
+
+  exec { 'cinder-manage db_sync':
+    command     => $::cinder::params::db_sync_command,
+    path        => '/usr/bin',
+    user        => 'cinder',
+    refreshonly => true,
+    require     => [File[$::cinder::params::cinder_conf], Class['cinder']],
+    logoutput   => 'on_failure',
+  }
+}