From 92a53a6b587e8f8dddddbb253a1b4595db6605c3 Mon Sep 17 00:00:00 2001 From: Denis Egorenko Date: Mon, 17 Aug 2015 13:03:43 +0300 Subject: [PATCH] Remove Sqlite validation for database_connection Remove unneeded validation of database_connection for Sqlite, because it is under case of unsupported db backend. Change-Id: Id10bd0b598c350330fd4179c7311a900c4854b59 --- manifests/init.pp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index c657cc7c..e92731df 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -290,7 +290,7 @@ class sahara( Package['sahara'] ~> Service['sahara'] Class['sahara::policy'] ~> Service['sahara'] - validate_re($database_connection, '(sqlite|mysql|postgresql):\/\/(\S+:\S+@\S+\/\S+)?') + validate_re($database_connection, '(mysql|postgresql):\/\/(\S+:\S+@\S+\/\S+)?') case $database_connection { /^mysql:\/\//: { @@ -300,9 +300,6 @@ class sahara( /^postgresql:\/\//: { require postgresql::lib::python } - /^sqlite:\/\//: { - fail('Sahara does not support sqlite!') - } default: { fail('Unsupported db backend configured') }