diff --git a/.vagrant-puppet/modules/mysql/manifests/database.pp b/.vagrant-puppet/modules/mysql/manifests/database.pp index dd7c89c69..5829a0975 100644 --- a/.vagrant-puppet/modules/mysql/manifests/database.pp +++ b/.vagrant-puppet/modules/mysql/manifests/database.pp @@ -11,6 +11,8 @@ IDENTIFIED BY '${password}';\"", } define mysql::database::populate ($username, $password, $privileges, $schemafile) { + Exec { path => '/usr/bin' } + mysql::database::create { $name: username => $username, password => $password, diff --git a/.vagrant-puppet/modules/pgsql/manifests/database.pp b/.vagrant-puppet/modules/pgsql/manifests/database.pp index 1129ed598..b8d1f7e33 100644 --- a/.vagrant-puppet/modules/pgsql/manifests/database.pp +++ b/.vagrant-puppet/modules/pgsql/manifests/database.pp @@ -11,6 +11,8 @@ sudo -u postgres createlang plpgsql ${name}", } define pgsql::database::populate ($username, $password, $schemafile) { + Exec { path => '/usr/bin' } + pgsql::database::create { $name: username => $username, password => $password,