mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +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) {
|
||||
Exec { path => '/usr/bin' }
|
||||
|
||||
mysql::database::create { $name:
|
||||
username => $username,
|
||||
password => $password,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user