mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Fix some remaining issues
- Changed "this.fail" to "this.test.fail" in frontend regression test 4606 - Restored default timezone "Europe/Berlin" - Added "var/log/*.log" to .gitignore - Updated default.pp so that the user apache is part of the vagrant group refs #4606 refs #4605 refs #4640
This commit is contained in:
parent
b7e4682e1a
commit
49eb9ea30f
3
.gitignore
vendored
3
.gitignore
vendored
@ -31,3 +31,6 @@ config/enabledModules/
|
|||||||
|
|
||||||
# User preferences
|
# User preferences
|
||||||
config/preferences/*.ini
|
config/preferences/*.ini
|
||||||
|
|
||||||
|
# Application logfiles
|
||||||
|
var/log/*.log
|
||||||
|
@ -42,7 +42,7 @@ user { 'icinga':
|
|||||||
}
|
}
|
||||||
|
|
||||||
user { 'apache':
|
user { 'apache':
|
||||||
groups => 'icinga-cmd',
|
groups => ['icinga-cmd', 'vagrant'],
|
||||||
require => [ Class['apache'], Group['icinga-cmd'] ]
|
require => [ Class['apache'], Group['icinga-cmd'] ]
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -471,13 +471,13 @@ exec { 'create-pgsql-icingaweb-db':
|
|||||||
|
|
||||||
exec { 'populate-icingaweb-mysql-db-accounts':
|
exec { 'populate-icingaweb-mysql-db-accounts':
|
||||||
unless => 'mysql -uicingaweb -picinga icingaweb -e "SELECT * FROM account;" &> /dev/null',
|
unless => 'mysql -uicingaweb -picinga icingaweb -e "SELECT * FROM account;" &> /dev/null',
|
||||||
command => 'mysql -uicingaweb -picinga icingaweb < /vagrant/etc/schema/users.mysql.sql',
|
command => 'mysql -uicingaweb -picinga icingaweb < /vagrant/etc/schema/accounts.mysql.sql',
|
||||||
require => [ Exec['create-mysql-icingaweb-db'] ]
|
require => [ Exec['create-mysql-icingaweb-db'] ]
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { 'populate-icingweba-pgsql-db-accounts':
|
exec { 'populate-icingweba-pgsql-db-accounts':
|
||||||
unless => 'psql -U icingaweb -d icingaweb -c "SELECT * FROM account;" &> /dev/null',
|
unless => 'psql -U icingaweb -d icingaweb -c "SELECT * FROM account;" &> /dev/null',
|
||||||
command => 'sudo -u postgres psql -U icingaweb -d icingaweb -f /vagrant/etc/schema/users.pgsql.sql',
|
command => 'sudo -u postgres psql -U icingaweb -d icingaweb -f /vagrant/etc/schema/accounts.pgsql.sql',
|
||||||
require => [ Exec['create-pgsql-icingaweb-db'] ]
|
require => [ Exec['create-pgsql-icingaweb-db'] ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[global]
|
[global]
|
||||||
environment = "development"
|
environment = "development"
|
||||||
timezone = "Europe/Minsk"
|
timezone = "Europe/Berlin"
|
||||||
indexModule = "monitoring"
|
indexModule = "monitoring"
|
||||||
indexController = "dashboard"
|
indexController = "dashboard"
|
||||||
; The moduleFolder directive is currently not used anywhere but configureable
|
; The moduleFolder directive is currently not used anywhere but configureable
|
||||||
@ -11,19 +11,21 @@ moduleFolder = "/etc/icinga2-web/enabledModules"
|
|||||||
dateFormat = "d/m/Y"
|
dateFormat = "d/m/Y"
|
||||||
timeFormat = "g:i A"
|
timeFormat = "g:i A"
|
||||||
|
|
||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
; General log
|
; General log
|
||||||
enable = 1
|
enable = "1"
|
||||||
type = "stream"
|
type = "stream"
|
||||||
verbose = "1"
|
verbose = "1"
|
||||||
target = "{app}/var/log/icinga.log"
|
target = "{app}/var/log/icinga.log"
|
||||||
|
|
||||||
; For development and debug purposes: Logs additional (non critical) events to a
|
; For development and debug purposes: Logs additional (non critical) events to a
|
||||||
; seperate log
|
; seperate log
|
||||||
debug.enable = 1
|
debug.enable = "1"
|
||||||
debug.type = "stream"
|
debug.type = "stream"
|
||||||
debug.target = "{app}/var/log/icinga.debug.log"
|
debug.target = "{app}/var/log/icinga.debug.log"
|
||||||
|
|
||||||
|
|
||||||
; Use ini store to store preferences on local disk
|
; Use ini store to store preferences on local disk
|
||||||
[preferences]
|
[preferences]
|
||||||
type = "ini"
|
type = "ini"
|
||||||
|
@ -74,7 +74,7 @@ casper.then(function() {
|
|||||||
'Assert a success text to appear in the general form'
|
'Assert a success text to appear in the general form'
|
||||||
);
|
);
|
||||||
}, function() {
|
}, function() {
|
||||||
this.fail("No success text appeared in the general form");
|
this.test.fail("No success text appeared in the general form");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user