Set exec path in `mysql::database::populate' and `pgsql::database::populate'

refs #6842
This commit is contained in:
Alexander Klimov 2014-08-28 14:54:22 +02:00
parent 146f315b44
commit f2fd9f1fc4
2 changed files with 4 additions and 0 deletions

View File

@ -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,

View File

@ -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,