mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Set exec path in mysql::database::populate' and
pgsql::database::populate'
refs #6842
This commit is contained in:
parent
146f315b44
commit
f2fd9f1fc4
@ -11,6 +11,8 @@ IDENTIFIED BY '${password}';\"",
|
|||||||
}
|
}
|
||||||
|
|
||||||
define mysql::database::populate ($username, $password, $privileges, $schemafile) {
|
define mysql::database::populate ($username, $password, $privileges, $schemafile) {
|
||||||
|
Exec { path => '/usr/bin' }
|
||||||
|
|
||||||
mysql::database::create { $name:
|
mysql::database::create { $name:
|
||||||
username => $username,
|
username => $username,
|
||||||
password => $password,
|
password => $password,
|
||||||
|
@ -11,6 +11,8 @@ sudo -u postgres createlang plpgsql ${name}",
|
|||||||
}
|
}
|
||||||
|
|
||||||
define pgsql::database::populate ($username, $password, $schemafile) {
|
define pgsql::database::populate ($username, $password, $schemafile) {
|
||||||
|
Exec { path => '/usr/bin' }
|
||||||
|
|
||||||
pgsql::database::create { $name:
|
pgsql::database::create { $name:
|
||||||
username => $username,
|
username => $username,
|
||||||
password => $password,
|
password => $password,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user