mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Feature config seeder Place yaml key value files in database/seeders/config to pre-populate the config database This feature is primarily for docker images and other automation example snmp.yaml ```yaml snmp.community: - public - private snmp.max_repeaters 30 ``` * fix style * include /data/config as used in docker * respect --force option * Confirm if re-import Defaults to yes for --no-interaction Don't confirm if there is nothing to do * default to false * typehints
22 lines
432 B
PHP
22 lines
432 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the application's database.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
$this->call(DefaultAlertTemplateSeeder::class);
|
|
$this->call(DefaultWidgetSeeder::class);
|
|
$this->call(DefaultLegacySchemaSeeder::class);
|
|
$this->call(ConfigSeeder::class);
|
|
}
|
|
}
|