Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isMariaDB", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 15, }, end: Position { line: 9, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getName", span: Span { start: Position { line: 9, column: 19, }, end: Position { line: 9, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 9, column: 27, }, end: Position { line: 9, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 9, column: 31, }, end: Position { line: 9, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), operator: EqualTo, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 42, }, end: Position { line: 9, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getName", span: Span { start: Position { line: 9, column: 46, }, end: Position { line: 9, column: 53, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 9, column: 54, }, end: Position { line: 9, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mariadb", span: Span { start: Position { line: 9, column: 59, }, end: Position { line: 9, column: 66, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mysqldOptions", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "--user=", span: Span { start: Position { line: 12, column: 6, }, end: Position { line: 12, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 15, }, end: Position { line: 12, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 12, column: 19, }, end: Position { line: 12, column: 23, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " --datadir=", span: Span { start: Position { line: 12, column: 6, }, end: Position { line: 12, column: 35, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 37, }, end: Position { line: 12, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 12, column: 41, }, end: Position { line: 12, column: 48, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " --basedir=", span: Span { start: Position { line: 12, column: 6, }, end: Position { line: 12, column: 60, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 62, }, end: Position { line: 12, column: 65, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 12, column: 66, }, end: Position { line: 12, column: 73, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 75, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "format", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 14, column: 12, }, end: Position { line: 14, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 14, column: 17, }, end: Position { line: 14, column: 24, }, }, }, ), Raw( PartRaw { content: "ini", span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 14, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listsAsDuplicateKeys", span: Span { start: Position { line: 14, column: 31, }, end: Position { line: 14, column: 51, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 14, column: 54, }, end: Position { line: 14, column: 58, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 29, }, end: Position { line: 14, column: 61, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 15, column: 3, }, end: Position { line: 15, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "format", span: Span { start: Position { line: 15, column: 16, }, end: Position { line: 15, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "generate", span: Span { start: Position { line: 15, column: 23, }, end: Position { line: 15, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "my.cnf", span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 15, column: 39, }, }, }, ), ], span: Span { start: Position { line: 15, column: 32, }, end: Position { line: 15, column: 40, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 15, column: 41, }, end: Position { line: 15, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 15, column: 45, }, end: Position { line: 15, column: 53, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 21, column: 6, }, end: Position { line: 21, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 21, column: 31, }, end: Position { line: 21, column: 39, }, }, }, ), ], span: Span { start: Position { line: 21, column: 30, }, end: Position { line: 21, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 21, column: 42, }, end: Position { line: 21, column: 47, }, }, }, ), ], span: Span { start: Position { line: 21, column: 41, }, end: Position { line: 21, column: 48, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "pidDir", span: Span { start: Position { line: 21, column: 50, }, end: Position { line: 21, column: 56, }, }, }, ), ], span: Span { start: Position { line: 21, column: 49, }, end: Position { line: 21, column: 57, }, }, }, ), ], span: Span { start: Position { line: 21, column: 28, }, end: Position { line: 21, column: 59, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Don't wait for pidfiles, describe dependencies through systemd.", span: Span { start: Position { line: 21, column: 61, }, end: Position { line: 21, column: 124, }, }, }, ), ], span: Span { start: Position { line: 21, column: 60, }, end: Position { line: 21, column: 125, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 22, column: 6, }, end: Position { line: 22, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 22, column: 31, }, end: Position { line: 22, column: 39, }, }, }, ), ], span: Span { start: Position { line: 22, column: 30, }, end: Position { line: 22, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 22, column: 42, }, end: Position { line: 22, column: 47, }, }, }, ), ], span: Span { start: Position { line: 22, column: 41, }, end: Position { line: 22, column: 48, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rootPassword", span: Span { start: Position { line: 22, column: 50, }, end: Position { line: 22, column: 62, }, }, }, ), ], span: Span { start: Position { line: 22, column: 49, }, end: Position { line: 22, column: 63, }, }, }, ), ], span: Span { start: Position { line: 22, column: 28, }, end: Position { line: 22, column: 65, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Use socket authentication or set the password outside of the nix store.", span: Span { start: Position { line: 22, column: 67, }, end: Position { line: 22, column: 138, }, }, }, ), ], span: Span { start: Position { line: 22, column: 66, }, end: Position { line: 22, column: 139, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 23, column: 6, }, end: Position { line: 23, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 23, column: 31, }, end: Position { line: 23, column: 39, }, }, }, ), ], span: Span { start: Position { line: 23, column: 30, }, end: Position { line: 23, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 23, column: 42, }, end: Position { line: 23, column: 47, }, }, }, ), ], span: Span { start: Position { line: 23, column: 41, }, end: Position { line: 23, column: 48, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 23, column: 50, }, end: Position { line: 23, column: 62, }, }, }, ), ], span: Span { start: Position { line: 23, column: 49, }, end: Position { line: 23, column: 63, }, }, }, ), ], span: Span { start: Position { line: 23, column: 28, }, end: Position { line: 23, column: 65, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Use services.mysql.settings.mysqld instead.", span: Span { start: Position { line: 23, column: 67, }, end: Position { line: 23, column: 110, }, }, }, ), ], span: Span { start: Position { line: 23, column: 66, }, end: Position { line: 23, column: 111, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 24, column: 6, }, end: Position { line: 24, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 24, column: 31, }, end: Position { line: 24, column: 39, }, }, }, ), ], span: Span { start: Position { line: 24, column: 30, }, end: Position { line: 24, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 24, column: 42, }, end: Position { line: 24, column: 47, }, }, }, ), ], span: Span { start: Position { line: 24, column: 41, }, end: Position { line: 24, column: 48, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "bind", span: Span { start: Position { line: 24, column: 50, }, end: Position { line: 24, column: 54, }, }, }, ), ], span: Span { start: Position { line: 24, column: 49, }, end: Position { line: 24, column: 55, }, }, }, ), ], span: Span { start: Position { line: 24, column: 28, }, end: Position { line: 24, column: 57, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Use services.mysql.settings.mysqld.bind-address instead.", span: Span { start: Position { line: 24, column: 59, }, end: Position { line: 24, column: 115, }, }, }, ), ], span: Span { start: Position { line: 24, column: 58, }, end: Position { line: 24, column: 116, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 25, column: 6, }, end: Position { line: 25, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 25, column: 31, }, end: Position { line: 25, column: 39, }, }, }, ), ], span: Span { start: Position { line: 25, column: 30, }, end: Position { line: 25, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 25, column: 42, }, end: Position { line: 25, column: 47, }, }, }, ), ], span: Span { start: Position { line: 25, column: 41, }, end: Position { line: 25, column: 48, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 25, column: 50, }, end: Position { line: 25, column: 54, }, }, }, ), ], span: Span { start: Position { line: 25, column: 49, }, end: Position { line: 25, column: 55, }, }, }, ), ], span: Span { start: Position { line: 25, column: 28, }, end: Position { line: 25, column: 57, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Use services.mysql.settings.mysqld.port instead.", span: Span { start: Position { line: 25, column: 59, }, end: Position { line: 25, column: 107, }, }, }, ), ], span: Span { start: Position { line: 25, column: 58, }, end: Position { line: 25, column: 108, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 20, column: 13, }, end: Position { line: 26, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 30, column: 3, }, end: Position { line: 30, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 13, }, }, }, ), Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 32, column: 14, }, end: Position { line: 32, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 34, column: 16, }, end: Position { line: 34, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 32, }, end: Position { line: 34, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 34, column: 36, }, end: Position { line: 34, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "MySQL server", span: Span { start: Position { line: 34, column: 43, }, end: Position { line: 34, column: 55, }, }, }, ), ], span: Span { start: Position { line: 34, column: 42, }, end: Position { line: 34, column: 56, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 36, column: 17, }, end: Position { line: 36, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 37, column: 16, }, end: Position { line: 37, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 37, column: 22, }, end: Position { line: 37, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 38, column: 19, }, end: Position { line: 38, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.mariadb", span: Span { start: Position { line: 38, column: 38, }, end: Position { line: 38, column: 50, }, }, }, ), ], span: Span { start: Position { line: 38, column: 37, }, end: Position { line: 38, column: 51, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 39, column: 23, }, end: Position { line: 39, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 39, column: 27, }, end: Position { line: 39, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Which MySQL derivation to use. MariaDB packages are supported too.\n", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 41, column: 9, }, }, }, ), ], span: Span { start: Position { line: 39, column: 33, }, end: Position { line: 41, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 36, column: 26, }, end: Position { line: 42, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 44, column: 14, }, end: Position { line: 44, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 45, column: 9, }, end: Position { line: 45, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 45, column: 16, }, end: Position { line: 45, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 45, column: 22, }, end: Position { line: 45, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 46, column: 20, }, end: Position { line: 46, column: 25, }, }, }, ), ], span: Span { start: Position { line: 46, column: 19, }, end: Position { line: 46, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 47, column: 23, }, end: Position { line: 47, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 47, column: 27, }, end: Position { line: 47, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "User account under which MySQL runs.\n\n::: {.note}\nIf left as the default value this user will automatically be created\non system activation, otherwise you are responsible for\nensuring the user exists before the MySQL service starts.\n:::\n", span: Span { start: Position { line: 48, column: 1, }, end: Position { line: 55, column: 9, }, }, }, ), ], span: Span { start: Position { line: 47, column: 33, }, end: Position { line: 55, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 44, column: 23, }, end: Position { line: 56, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 58, column: 7, }, end: Position { line: 58, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 58, column: 15, }, end: Position { line: 58, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 59, column: 16, }, end: Position { line: 59, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 59, column: 22, }, end: Position { line: 59, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 60, column: 20, }, end: Position { line: 60, column: 25, }, }, }, ), ], span: Span { start: Position { line: 60, column: 19, }, end: Position { line: 60, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 61, column: 23, }, end: Position { line: 61, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 61, column: 27, }, end: Position { line: 61, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Group account under which MySQL runs.\n\n::: {.note}\nIf left as the default value this group will automatically be created\non system activation, otherwise you are responsible for\nensuring the user exists before the MySQL service starts.\n:::\n", span: Span { start: Position { line: 62, column: 1, }, end: Position { line: 69, column: 9, }, }, }, ), ], span: Span { start: Position { line: 61, column: 33, }, end: Position { line: 69, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 58, column: 24, }, end: Position { line: 70, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 72, column: 7, }, end: Position { line: 72, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 72, column: 17, }, end: Position { line: 72, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 73, column: 9, }, end: Position { line: 73, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 73, column: 16, }, end: Position { line: 73, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 73, column: 22, }, end: Position { line: 73, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/mysql", span: Span { start: Position { line: 74, column: 20, }, end: Position { line: 74, column: 34, }, }, }, ), ], span: Span { start: Position { line: 74, column: 19, }, end: Position { line: 74, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 75, column: 23, }, end: Position { line: 75, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 75, column: 27, }, end: Position { line: 75, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The data directory for MySQL.\n\n::: {.note}\nIf left as the default value of `/var/lib/mysql` this directory will automatically be created before the MySQL\nserver starts, otherwise you are responsible for ensuring the directory exists with appropriate ownership and permissions.\n:::\n", span: Span { start: Position { line: 76, column: 1, }, end: Position { line: 82, column: 9, }, }, }, ), ], span: Span { start: Position { line: 75, column: 33, }, end: Position { line: 82, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 72, column: 26, }, end: Position { line: 83, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 85, column: 7, }, end: Position { line: 85, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 85, column: 20, }, end: Position { line: 85, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 86, column: 9, }, end: Position { line: 86, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 86, column: 16, }, end: Position { line: 86, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 86, column: 22, }, end: Position { line: 86, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 87, column: 9, }, end: Position { line: 87, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 87, column: 19, }, end: Position { line: 87, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 20, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A configuration file automatically generated by NixOS.\n", span: Span { start: Position { line: 89, column: 1, }, end: Position { line: 90, column: 9, }, }, }, ), ], span: Span { start: Position { line: 88, column: 23, }, end: Position { line: 90, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 91, column: 23, }, end: Position { line: 91, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 91, column: 27, }, end: Position { line: 91, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Override the configuration file used by MySQL. By default,\nNixOS generates one automatically from {option}`services.mysql.settings`.\n", span: Span { start: Position { line: 92, column: 1, }, end: Position { line: 94, column: 9, }, }, }, ), ], span: Span { start: Position { line: 91, column: 33, }, end: Position { line: 94, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 95, column: 9, }, end: Position { line: 95, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 95, column: 19, }, end: Position { line: 95, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "pkgs.writeText \"my.cnf\" ", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 96, column: 35, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 96, column: 38, }, }, }, ), Raw( PartRaw { content: "\n [mysqld]\n datadir = /var/lib/mysql\n bind-address = 127.0.0.1\n port = 3336\n\n !includedir /etc/mysql/conf.d/\n", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 103, column: 11, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 103, column: 14, }, }, }, ), Raw( PartRaw { content: ";\n", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 104, column: 9, }, }, }, ), ], span: Span { start: Position { line: 95, column: 37, }, end: Position { line: 104, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 85, column: 29, }, end: Position { line: 105, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 107, column: 7, }, end: Position { line: 107, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 107, column: 18, }, end: Position { line: 107, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 108, column: 9, }, end: Position { line: 108, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "format", span: Span { start: Position { line: 108, column: 16, }, end: Position { line: 108, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 108, column: 23, }, end: Position { line: 108, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 109, column: 19, }, end: Position { line: 109, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 110, column: 23, }, end: Position { line: 110, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 110, column: 27, }, end: Position { line: 110, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "MySQL configuration. Refer to\n,\n,\nand \nfor details on supported values.\n\n::: {.note}\nMySQL configuration options such as `--quick` should be treated as\nboolean options and provided values such as `true`, `false`,\n`1`, or `0`. See the provided example below.\n:::\n", span: Span { start: Position { line: 111, column: 1, }, end: Position { line: 122, column: 9, }, }, }, ), ], span: Span { start: Position { line: 110, column: 33, }, end: Position { line: 122, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 123, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 123, column: 19, }, end: Position { line: 123, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n mysqld = {\n key_buffer_size = \"6G\";\n table_cache = 1600;\n log-error = \"/var/log/mysql_err.log\";\n plugin-load-add = [ \"server_audit\" \"ed25519=auth_ed25519\" ];\n };\n mysqldump = {\n quick = true;\n max_allowed_packet = \"16M\";\n };\n}\n", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 136, column: 9, }, }, }, ), ], span: Span { start: Position { line: 123, column: 37, }, end: Position { line: 136, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 107, column: 27, }, end: Position { line: 137, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initialDatabases", span: Span { start: Position { line: 139, column: 7, }, end: Position { line: 139, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 139, column: 26, }, end: Position { line: 139, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 140, column: 9, }, end: Position { line: 140, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 140, column: 16, }, end: Position { line: 140, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 140, column: 22, }, end: Position { line: 140, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 140, column: 30, }, end: Position { line: 140, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 140, column: 36, }, end: Position { line: 140, column: 45, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 141, column: 11, }, end: Position { line: 141, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 142, column: 13, }, end: Position { line: 142, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 142, column: 20, }, end: Position { line: 142, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 143, column: 15, }, end: Position { line: 143, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 143, column: 22, }, end: Position { line: 143, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 143, column: 28, }, end: Position { line: 143, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 144, column: 15, }, end: Position { line: 144, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 144, column: 29, }, end: Position { line: 144, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 144, column: 33, }, end: Position { line: 144, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The name of the database to create.\n", span: Span { start: Position { line: 145, column: 1, }, end: Position { line: 146, column: 15, }, }, }, ), ], span: Span { start: Position { line: 144, column: 39, }, end: Position { line: 146, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 142, column: 29, }, end: Position { line: 147, column: 14, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "schema", span: Span { start: Position { line: 148, column: 13, }, end: Position { line: 148, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 148, column: 22, }, end: Position { line: 148, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 149, column: 15, }, end: Position { line: 149, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 149, column: 22, }, end: Position { line: 149, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 149, column: 28, }, end: Position { line: 149, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 149, column: 35, }, end: Position { line: 149, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 149, column: 41, }, end: Position { line: 149, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 150, column: 15, }, end: Position { line: 150, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 150, column: 25, }, end: Position { line: 150, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 151, column: 15, }, end: Position { line: 151, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 151, column: 29, }, end: Position { line: 151, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 151, column: 33, }, end: Position { line: 151, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The initial schema of the database; if null (the default),\nan empty database is created.\n", span: Span { start: Position { line: 152, column: 1, }, end: Position { line: 154, column: 15, }, }, }, ), ], span: Span { start: Position { line: 151, column: 39, }, end: Position { line: 154, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 148, column: 31, }, end: Position { line: 155, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 141, column: 21, }, end: Position { line: 156, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 140, column: 46, }, end: Position { line: 157, column: 10, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 158, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 158, column: 19, }, end: Position { line: 158, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 159, column: 23, }, end: Position { line: 159, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 159, column: 27, }, end: Position { line: 159, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of database names and their initial schemas that should be used to create databases on the first startup\nof MySQL. The schema attribute is optional: If not specified, an empty database is created.\n", span: Span { start: Position { line: 160, column: 1, }, end: Position { line: 162, column: 9, }, }, }, ), ], span: Span { start: Position { line: 159, column: 33, }, end: Position { line: 162, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 163, column: 9, }, end: Position { line: 163, column: 16, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 164, column: 13, }, end: Position { line: 164, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "foodatabase", span: Span { start: Position { line: 164, column: 21, }, end: Position { line: 164, column: 32, }, }, }, ), ], span: Span { start: Position { line: 164, column: 20, }, end: Position { line: 164, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "schema", span: Span { start: Position { line: 164, column: 35, }, end: Position { line: 164, column: 41, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 164, column: 44, }, end: Position { line: 164, column: 61, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "./foodatabase.sql", span: Span { start: Position { line: 164, column: 63, }, end: Position { line: 164, column: 80, }, }, }, ), ], span: Span { start: Position { line: 164, column: 62, }, end: Position { line: 164, column: 81, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 164, column: 11, }, end: Position { line: 164, column: 84, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 165, column: 13, }, end: Position { line: 165, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "bardatabase", span: Span { start: Position { line: 165, column: 21, }, end: Position { line: 165, column: 32, }, }, }, ), ], span: Span { start: Position { line: 165, column: 20, }, end: Position { line: 165, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 165, column: 11, }, end: Position { line: 165, column: 36, }, }, }, ), ], span: Span { start: Position { line: 163, column: 19, }, end: Position { line: 166, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 139, column: 35, }, end: Position { line: 167, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initialScript", span: Span { start: Position { line: 169, column: 7, }, end: Position { line: 169, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 169, column: 23, }, end: Position { line: 169, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 170, column: 9, }, end: Position { line: 170, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 170, column: 16, }, end: Position { line: 170, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 170, column: 22, }, end: Position { line: 170, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 170, column: 29, }, end: Position { line: 170, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 170, column: 35, }, end: Position { line: 170, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 171, column: 9, }, end: Position { line: 171, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 171, column: 19, }, end: Position { line: 171, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 172, column: 9, }, end: Position { line: 172, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 172, column: 23, }, end: Position { line: 172, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 172, column: 27, }, end: Position { line: 172, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "A file containing SQL statements to be executed on the first startup. Can be used for granting certain permissions on the database.", span: Span { start: Position { line: 172, column: 34, }, end: Position { line: 172, column: 165, }, }, }, ), ], span: Span { start: Position { line: 172, column: 33, }, end: Position { line: 172, column: 166, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 169, column: 32, }, end: Position { line: 173, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ensureDatabases", span: Span { start: Position { line: 175, column: 7, }, end: Position { line: 175, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 175, column: 25, }, end: Position { line: 175, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 176, column: 9, }, end: Position { line: 176, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 176, column: 16, }, end: Position { line: 176, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 176, column: 22, }, end: Position { line: 176, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 176, column: 29, }, end: Position { line: 176, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 176, column: 35, }, end: Position { line: 176, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 177, column: 9, }, end: Position { line: 177, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 177, column: 19, }, end: Position { line: 177, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 178, column: 9, }, end: Position { line: 178, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 178, column: 23, }, end: Position { line: 178, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 178, column: 27, }, end: Position { line: 178, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Ensures that the specified databases exist.\nThis option will never delete existing databases, especially not when the value of this\noption is changed. This means that databases created once through this option or\notherwise have to be removed manually.\n", span: Span { start: Position { line: 179, column: 1, }, end: Position { line: 183, column: 9, }, }, }, ), ], span: Span { start: Position { line: 178, column: 33, }, end: Position { line: 183, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 184, column: 9, }, end: Position { line: 184, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "nextcloud", span: Span { start: Position { line: 185, column: 12, }, end: Position { line: 185, column: 21, }, }, }, ), ], span: Span { start: Position { line: 185, column: 11, }, end: Position { line: 185, column: 22, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "matomo", span: Span { start: Position { line: 186, column: 12, }, end: Position { line: 186, column: 18, }, }, }, ), ], span: Span { start: Position { line: 186, column: 11, }, end: Position { line: 186, column: 19, }, }, }, ), ], span: Span { start: Position { line: 184, column: 19, }, end: Position { line: 187, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 175, column: 34, }, end: Position { line: 188, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ensureUsers", span: Span { start: Position { line: 190, column: 7, }, end: Position { line: 190, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 190, column: 21, }, end: Position { line: 190, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 191, column: 9, }, end: Position { line: 191, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 191, column: 16, }, end: Position { line: 191, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 191, column: 22, }, end: Position { line: 191, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 191, column: 30, }, end: Position { line: 191, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 191, column: 36, }, end: Position { line: 191, column: 45, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 192, column: 11, }, end: Position { line: 192, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 193, column: 13, }, end: Position { line: 193, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 193, column: 20, }, end: Position { line: 193, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 194, column: 15, }, end: Position { line: 194, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 194, column: 22, }, end: Position { line: 194, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 194, column: 28, }, end: Position { line: 194, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 195, column: 15, }, end: Position { line: 195, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 195, column: 29, }, end: Position { line: 195, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 195, column: 33, }, end: Position { line: 195, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Name of the user to ensure.\n", span: Span { start: Position { line: 196, column: 1, }, end: Position { line: 197, column: 15, }, }, }, ), ], span: Span { start: Position { line: 195, column: 39, }, end: Position { line: 197, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 193, column: 29, }, end: Position { line: 198, column: 14, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ensurePermissions", span: Span { start: Position { line: 199, column: 13, }, end: Position { line: 199, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 199, column: 33, }, end: Position { line: 199, column: 41, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 200, column: 15, }, end: Position { line: 200, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 200, column: 22, }, end: Position { line: 200, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 200, column: 28, }, end: Position { line: 200, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 200, column: 36, }, end: Position { line: 200, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 200, column: 42, }, end: Position { line: 200, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 201, column: 15, }, end: Position { line: 201, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 201, column: 25, }, end: Position { line: 201, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 202, column: 15, }, end: Position { line: 202, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 202, column: 29, }, end: Position { line: 202, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 202, column: 33, }, end: Position { line: 202, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Permissions to ensure for the user, specified as attribute set.\nThe attribute names specify the database and tables to grant the permissions for,\nseparated by a dot. You may use wildcards here.\nThe attribute values specfiy the permissions to grant.\nYou may specify one or multiple comma-separated SQL privileges here.\n\nFor more information on how to specify the target\nand on which privileges exist, see the\n[GRANT syntax](https://mariadb.com/kb/en/library/grant/).\nThe attributes are used as `GRANT ", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 212, column: 51, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 212, column: 54, }, }, }, ), Raw( PartRaw { content: "{attrName} ON ", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 212, column: 68, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 212, column: 71, }, }, }, ), Raw( PartRaw { content: "{attrValue}`.\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 213, column: 15, }, }, }, ), ], span: Span { start: Position { line: 202, column: 39, }, end: Position { line: 213, column: 17, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 214, column: 15, }, end: Position { line: 214, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 214, column: 25, }, end: Position { line: 214, column: 42, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n \"database.*\" = \"ALL PRIVILEGES\";\n \"*.*\" = \"SELECT, LOCK TABLES\";\n}\n", span: Span { start: Position { line: 215, column: 1, }, end: Position { line: 219, column: 15, }, }, }, ), ], span: Span { start: Position { line: 214, column: 43, }, end: Position { line: 219, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 199, column: 42, }, end: Position { line: 220, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 192, column: 21, }, end: Position { line: 221, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 191, column: 46, }, end: Position { line: 222, column: 10, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 223, column: 9, }, end: Position { line: 223, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 223, column: 19, }, end: Position { line: 223, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 224, column: 9, }, end: Position { line: 224, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 224, column: 23, }, end: Position { line: 224, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 224, column: 27, }, end: Position { line: 224, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Ensures that the specified users exist and have at least the ensured permissions.\nThe MySQL users will be identified using Unix socket authentication. This authenticates the Unix user with the\nsame name only, and that without the need for a password.\nThis option will never delete existing users or remove permissions, especially not when the value of this\noption is changed. This means that users created and permissions assigned once through this option or\notherwise have to be removed manually.\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 231, column: 9, }, }, }, ), ], span: Span { start: Position { line: 224, column: 33, }, end: Position { line: 231, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 232, column: 9, }, end: Position { line: 232, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 232, column: 19, }, end: Position { line: 232, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[\n {\n name = \"nextcloud\";\n ensurePermissions = {\n \"nextcloud.*\" = \"ALL PRIVILEGES\";\n };\n }\n {\n name = \"backup\";\n ensurePermissions = {\n \"*.*\" = \"SELECT, LOCK TABLES\";\n };\n }\n]\n", span: Span { start: Position { line: 233, column: 1, }, end: Position { line: 247, column: 9, }, }, }, ), ], span: Span { start: Position { line: 232, column: 37, }, end: Position { line: 247, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 190, column: 30, }, end: Position { line: 248, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 250, column: 7, }, end: Position { line: 250, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "role", span: Span { start: Position { line: 251, column: 9, }, end: Position { line: 251, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 251, column: 16, }, end: Position { line: 251, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 252, column: 11, }, end: Position { line: 252, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 252, column: 18, }, end: Position { line: 252, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 252, column: 24, }, end: Position { line: 252, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 252, column: 32, }, end: Position { line: 252, column: 38, }, }, }, ), ], span: Span { start: Position { line: 252, column: 31, }, end: Position { line: 252, column: 39, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "slave", span: Span { start: Position { line: 252, column: 41, }, end: Position { line: 252, column: 46, }, }, }, ), ], span: Span { start: Position { line: 252, column: 40, }, end: Position { line: 252, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "none", span: Span { start: Position { line: 252, column: 49, }, end: Position { line: 252, column: 53, }, }, }, ), ], span: Span { start: Position { line: 252, column: 48, }, end: Position { line: 252, column: 54, }, }, }, ), ], span: Span { start: Position { line: 252, column: 29, }, end: Position { line: 252, column: 56, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 253, column: 11, }, end: Position { line: 253, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "none", span: Span { start: Position { line: 253, column: 22, }, end: Position { line: 253, column: 26, }, }, }, ), ], span: Span { start: Position { line: 253, column: 21, }, end: Position { line: 253, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 254, column: 11, }, end: Position { line: 254, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 254, column: 25, }, end: Position { line: 254, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 254, column: 29, }, end: Position { line: 254, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Role of the MySQL server instance.", span: Span { start: Position { line: 254, column: 36, }, end: Position { line: 254, column: 70, }, }, }, ), ], span: Span { start: Position { line: 254, column: 35, }, end: Position { line: 254, column: 71, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 251, column: 25, }, end: Position { line: 255, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serverId", span: Span { start: Position { line: 257, column: 9, }, end: Position { line: 257, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 257, column: 20, }, end: Position { line: 257, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 258, column: 11, }, end: Position { line: 258, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 258, column: 18, }, end: Position { line: 258, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 258, column: 24, }, end: Position { line: 258, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 259, column: 11, }, end: Position { line: 259, column: 18, }, }, }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 259, column: 21, }, end: Position { line: 259, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 260, column: 11, }, end: Position { line: 260, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 260, column: 25, }, end: Position { line: 260, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 260, column: 29, }, end: Position { line: 260, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Id of the MySQL server instance. This number must be unique for each instance.", span: Span { start: Position { line: 260, column: 36, }, end: Position { line: 260, column: 114, }, }, }, ), ], span: Span { start: Position { line: 260, column: 35, }, end: Position { line: 260, column: 115, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 257, column: 29, }, end: Position { line: 261, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "masterHost", span: Span { start: Position { line: 263, column: 9, }, end: Position { line: 263, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 263, column: 22, }, end: Position { line: 263, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 264, column: 11, }, end: Position { line: 264, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 264, column: 18, }, end: Position { line: 264, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 264, column: 24, }, end: Position { line: 264, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 265, column: 11, }, end: Position { line: 265, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 265, column: 25, }, end: Position { line: 265, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 265, column: 29, }, end: Position { line: 265, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Hostname of the MySQL master server.", span: Span { start: Position { line: 265, column: 36, }, end: Position { line: 265, column: 72, }, }, }, ), ], span: Span { start: Position { line: 265, column: 35, }, end: Position { line: 265, column: 73, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 263, column: 31, }, end: Position { line: 266, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "slaveHost", span: Span { start: Position { line: 268, column: 9, }, end: Position { line: 268, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 268, column: 21, }, end: Position { line: 268, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 269, column: 11, }, end: Position { line: 269, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 269, column: 18, }, end: Position { line: 269, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 269, column: 24, }, end: Position { line: 269, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 270, column: 11, }, end: Position { line: 270, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 270, column: 25, }, end: Position { line: 270, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 270, column: 29, }, end: Position { line: 270, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Hostname of the MySQL slave server.", span: Span { start: Position { line: 270, column: 36, }, end: Position { line: 270, column: 71, }, }, }, ), ], span: Span { start: Position { line: 270, column: 35, }, end: Position { line: 270, column: 72, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 268, column: 30, }, end: Position { line: 271, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "masterUser", span: Span { start: Position { line: 273, column: 9, }, end: Position { line: 273, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 273, column: 22, }, end: Position { line: 273, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 274, column: 11, }, end: Position { line: 274, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 274, column: 18, }, end: Position { line: 274, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 274, column: 24, }, end: Position { line: 274, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 275, column: 11, }, end: Position { line: 275, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 275, column: 25, }, end: Position { line: 275, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 275, column: 29, }, end: Position { line: 275, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Username of the MySQL replication user.", span: Span { start: Position { line: 275, column: 36, }, end: Position { line: 275, column: 75, }, }, }, ), ], span: Span { start: Position { line: 275, column: 35, }, end: Position { line: 275, column: 76, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 273, column: 31, }, end: Position { line: 276, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "masterPassword", span: Span { start: Position { line: 278, column: 9, }, end: Position { line: 278, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 278, column: 26, }, end: Position { line: 278, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 279, column: 11, }, end: Position { line: 279, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 279, column: 18, }, end: Position { line: 279, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 279, column: 24, }, end: Position { line: 279, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 280, column: 11, }, end: Position { line: 280, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 280, column: 25, }, end: Position { line: 280, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 280, column: 29, }, end: Position { line: 280, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Password of the MySQL replication user.", span: Span { start: Position { line: 280, column: 36, }, end: Position { line: 280, column: 75, }, }, }, ), ], span: Span { start: Position { line: 280, column: 35, }, end: Position { line: 280, column: 76, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 278, column: 35, }, end: Position { line: 281, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "masterPort", span: Span { start: Position { line: 283, column: 9, }, end: Position { line: 283, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 283, column: 22, }, end: Position { line: 283, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 284, column: 11, }, end: Position { line: 284, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 284, column: 18, }, end: Position { line: 284, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 284, column: 24, }, end: Position { line: 284, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 285, column: 11, }, end: Position { line: 285, column: 18, }, }, }, ), ], to: Integer( Integer { value: "3306", span: Span { start: Position { line: 285, column: 21, }, end: Position { line: 285, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 286, column: 11, }, end: Position { line: 286, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 286, column: 25, }, end: Position { line: 286, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 286, column: 29, }, end: Position { line: 286, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Port number on which the MySQL master server runs.", span: Span { start: Position { line: 286, column: 36, }, end: Position { line: 286, column: 86, }, }, }, ), ], span: Span { start: Position { line: 286, column: 35, }, end: Position { line: 286, column: 87, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 283, column: 31, }, end: Position { line: 287, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 250, column: 21, }, end: Position { line: 288, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 22, }, end: Position { line: 289, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 13, }, end: Position { line: 291, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 296, column: 3, }, end: Position { line: 296, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 296, column: 12, }, end: Position { line: 296, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 296, column: 17, }, end: Position { line: 296, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 296, column: 21, }, end: Position { line: 296, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 298, column: 5, }, end: Position { line: 298, column: 13, }, }, }, ), Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 298, column: 14, }, end: Position { line: 298, column: 19, }, }, }, ), Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 298, column: 20, }, end: Position { line: 298, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 299, column: 7, }, end: Position { line: 299, column: 16, }, }, }, ), arguments: [ IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionAtLeast", span: Span { start: Position { line: 299, column: 21, }, end: Position { line: 299, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 299, column: 36, }, end: Position { line: 299, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 299, column: 43, }, end: Position { line: 299, column: 49, }, }, }, ), Raw( PartRaw { content: "stateVersion", span: Span { start: Position { line: 299, column: 50, }, end: Position { line: 299, column: 62, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "17.09", span: Span { start: Position { line: 299, column: 64, }, end: Position { line: 299, column: 69, }, }, }, ), ], span: Span { start: Position { line: 299, column: 63, }, end: Position { line: 299, column: 70, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/mysql", span: Span { start: Position { line: 299, column: 77, }, end: Position { line: 299, column: 91, }, }, }, ), ], span: Span { start: Position { line: 299, column: 76, }, end: Position { line: 299, column: 92, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "/var/mysql", span: Span { start: Position { line: 300, column: 24, }, end: Position { line: 300, column: 34, }, }, }, ), ], span: Span { start: Position { line: 300, column: 23, }, end: Position { line: 300, column: 35, }, }, }, ), span: Span { start: Position { line: 299, column: 18, }, end: Position { line: 300, column: 35, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 302, column: 5, }, end: Position { line: 302, column: 13, }, }, }, ), Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 302, column: 14, }, end: Position { line: 302, column: 19, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 302, column: 20, }, end: Position { line: 302, column: 28, }, }, }, ), Raw( PartRaw { content: "mysqld", span: Span { start: Position { line: 302, column: 29, }, end: Position { line: 302, column: 35, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 302, column: 38, }, end: Position { line: 302, column: 45, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "datadir", span: Span { start: Position { line: 304, column: 9, }, end: Position { line: 304, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 304, column: 19, }, end: Position { line: 304, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 304, column: 23, }, end: Position { line: 304, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 305, column: 9, }, end: Position { line: 305, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 305, column: 16, }, end: Position { line: 305, column: 25, }, }, }, ), arguments: [ Integer( Integer { value: "3306", span: Span { start: Position { line: 305, column: 26, }, end: Position { line: 305, column: 30, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 303, column: 7, }, end: Position { line: 306, column: 8, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 307, column: 8, }, end: Position { line: 307, column: 12, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 307, column: 14, }, end: Position { line: 307, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 307, column: 18, }, end: Position { line: 307, column: 29, }, }, }, ), Raw( PartRaw { content: "role", span: Span { start: Position { line: 307, column: 30, }, end: Position { line: 307, column: 34, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 307, column: 39, }, end: Position { line: 307, column: 45, }, }, }, ), ], span: Span { start: Position { line: 307, column: 38, }, end: Position { line: 307, column: 46, }, }, }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 307, column: 50, }, end: Position { line: 307, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 307, column: 54, }, end: Position { line: 307, column: 65, }, }, }, ), Raw( PartRaw { content: "role", span: Span { start: Position { line: 307, column: 66, }, end: Position { line: 307, column: 70, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "slave", span: Span { start: Position { line: 307, column: 75, }, end: Position { line: 307, column: 80, }, }, }, ), ], span: Span { start: Position { line: 307, column: 74, }, end: Position { line: 307, column: 81, }, }, }, ), }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "log-bin", span: Span { start: Position { line: 308, column: 9, }, end: Position { line: 308, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mysql-bin-", span: Span { start: Position { line: 308, column: 20, }, end: Position { line: 308, column: 66, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 308, column: 32, }, end: Position { line: 308, column: 40, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 308, column: 41, }, end: Position { line: 308, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 308, column: 45, }, end: Position { line: 308, column: 56, }, }, }, ), Raw( PartRaw { content: "serverId", span: Span { start: Position { line: 308, column: 57, }, end: Position { line: 308, column: 65, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 308, column: 19, }, end: Position { line: 308, column: 67, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "log-bin-index", span: Span { start: Position { line: 309, column: 9, }, end: Position { line: 309, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mysql-bin-", span: Span { start: Position { line: 309, column: 26, }, end: Position { line: 309, column: 72, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 309, column: 38, }, end: Position { line: 309, column: 46, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 309, column: 47, }, end: Position { line: 309, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 309, column: 51, }, end: Position { line: 309, column: 62, }, }, }, ), Raw( PartRaw { content: "serverId", span: Span { start: Position { line: 309, column: 63, }, end: Position { line: 309, column: 71, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: ".index", span: Span { start: Position { line: 309, column: 26, }, end: Position { line: 309, column: 78, }, }, }, ), ], span: Span { start: Position { line: 309, column: 25, }, end: Position { line: 309, column: 79, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "relay-log", span: Span { start: Position { line: 310, column: 9, }, end: Position { line: 310, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mysql-relay-bin", span: Span { start: Position { line: 310, column: 22, }, end: Position { line: 310, column: 37, }, }, }, ), ], span: Span { start: Position { line: 310, column: 21, }, end: Position { line: 310, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "server-id", span: Span { start: Position { line: 311, column: 9, }, end: Position { line: 311, column: 18, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 311, column: 21, }, end: Position { line: 311, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 311, column: 25, }, end: Position { line: 311, column: 36, }, }, }, ), Raw( PartRaw { content: "serverId", span: Span { start: Position { line: 311, column: 37, }, end: Position { line: 311, column: 45, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "binlog-ignore-db", span: Span { start: Position { line: 312, column: 9, }, end: Position { line: 312, column: 25, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "information_schema", span: Span { start: Position { line: 312, column: 31, }, end: Position { line: 312, column: 49, }, }, }, ), ], span: Span { start: Position { line: 312, column: 30, }, end: Position { line: 312, column: 50, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "performance_schema", span: Span { start: Position { line: 312, column: 52, }, end: Position { line: 312, column: 70, }, }, }, ), ], span: Span { start: Position { line: 312, column: 51, }, end: Position { line: 312, column: 71, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 312, column: 73, }, end: Position { line: 312, column: 78, }, }, }, ), ], span: Span { start: Position { line: 312, column: 72, }, end: Position { line: 312, column: 79, }, }, }, ), ], span: Span { start: Position { line: 312, column: 28, }, end: Position { line: 312, column: 81, }, }, }, ), }, ), ], span: Span { start: Position { line: 307, column: 83, }, end: Position { line: 313, column: 8, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 314, column: 8, }, end: Position { line: 314, column: 12, }, }, }, ), arguments: [ UnaryOperation( UnaryOperation { operator: Not, operand: Identifier( Identifier { id: "isMariaDB", span: Span { start: Position { line: 314, column: 15, }, end: Position { line: 314, column: 24, }, }, }, ), span: Span { start: Position { line: 314, column: 14, }, end: Position { line: 314, column: 24, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "plugin-load-add", span: Span { start: Position { line: 315, column: 9, }, end: Position { line: 315, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "auth_socket.so", span: Span { start: Position { line: 315, column: 28, }, end: Position { line: 315, column: 42, }, }, }, ), ], span: Span { start: Position { line: 315, column: 27, }, end: Position { line: 315, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 314, column: 26, }, end: Position { line: 316, column: 8, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 302, column: 46, }, end: Position { line: 317, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 319, column: 5, }, end: Position { line: 319, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 319, column: 11, }, end: Position { line: 319, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 319, column: 19, }, end: Position { line: 319, column: 32, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 319, column: 34, }, end: Position { line: 319, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 319, column: 38, }, end: Position { line: 319, column: 42, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 319, column: 47, }, end: Position { line: 319, column: 52, }, }, }, ), ], span: Span { start: Position { line: 319, column: 46, }, end: Position { line: 319, column: 53, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 320, column: 7, }, end: Position { line: 320, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 321, column: 9, }, end: Position { line: 321, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "MySQL server user", span: Span { start: Position { line: 321, column: 24, }, end: Position { line: 321, column: 41, }, }, }, ), ], span: Span { start: Position { line: 321, column: 23, }, end: Position { line: 321, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 322, column: 9, }, end: Position { line: 322, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 322, column: 17, }, end: Position { line: 322, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 322, column: 21, }, end: Position { line: 322, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 323, column: 9, }, end: Position { line: 323, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 323, column: 15, }, end: Position { line: 323, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 323, column: 22, }, end: Position { line: 323, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 323, column: 26, }, end: Position { line: 323, column: 30, }, }, }, ), Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 323, column: 31, }, end: Position { line: 323, column: 36, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 320, column: 15, }, end: Position { line: 324, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 319, column: 55, }, end: Position { line: 325, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 327, column: 5, }, end: Position { line: 327, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 327, column: 11, }, end: Position { line: 327, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 327, column: 20, }, end: Position { line: 327, column: 33, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 327, column: 35, }, end: Position { line: 327, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 327, column: 39, }, end: Position { line: 327, column: 44, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 327, column: 49, }, end: Position { line: 327, column: 54, }, }, }, ), ], span: Span { start: Position { line: 327, column: 48, }, end: Position { line: 327, column: 55, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 328, column: 7, }, end: Position { line: 328, column: 12, }, }, }, ), Raw( PartRaw { content: "gid", span: Span { start: Position { line: 328, column: 13, }, end: Position { line: 328, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 328, column: 19, }, end: Position { line: 328, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 328, column: 26, }, end: Position { line: 328, column: 29, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 328, column: 30, }, end: Position { line: 328, column: 34, }, }, }, ), Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 328, column: 35, }, end: Position { line: 328, column: 40, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 327, column: 57, }, end: Position { line: 329, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 331, column: 5, }, end: Position { line: 331, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 331, column: 17, }, end: Position { line: 331, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 331, column: 36, }, end: Position { line: 331, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 331, column: 40, }, end: Position { line: 331, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 331, column: 34, }, end: Position { line: 331, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 333, column: 5, }, end: Position { line: 333, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 333, column: 17, }, end: Position { line: 333, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "my.cnf", span: Span { start: Position { line: 333, column: 22, }, end: Position { line: 333, column: 28, }, }, }, ), ], span: Span { start: Position { line: 333, column: 21, }, end: Position { line: 333, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 333, column: 30, }, end: Position { line: 333, column: 36, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 333, column: 39, }, end: Position { line: 333, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 333, column: 43, }, end: Position { line: 333, column: 53, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 335, column: 5, }, end: Position { line: 335, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 335, column: 13, }, end: Position { line: 335, column: 21, }, }, }, ), Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 335, column: 22, }, end: Position { line: 335, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 336, column: 7, }, end: Position { line: 336, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "MySQL Server", span: Span { start: Position { line: 336, column: 22, }, end: Position { line: 336, column: 34, }, }, }, ), ], span: Span { start: Position { line: 336, column: 21, }, end: Position { line: 336, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 338, column: 7, }, end: Position { line: 338, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 338, column: 18, }, end: Position { line: 338, column: 32, }, }, }, ), ], span: Span { start: Position { line: 338, column: 17, }, end: Position { line: 338, column: 33, }, }, }, ), ], span: Span { start: Position { line: 338, column: 15, }, end: Position { line: 338, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 339, column: 7, }, end: Position { line: 339, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 339, column: 21, }, end: Position { line: 339, column: 38, }, }, }, ), ], span: Span { start: Position { line: 339, column: 20, }, end: Position { line: 339, column: 39, }, }, }, ), ], span: Span { start: Position { line: 339, column: 18, }, end: Position { line: 339, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 340, column: 7, }, end: Position { line: 340, column: 22, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 340, column: 27, }, end: Position { line: 340, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 340, column: 31, }, end: Position { line: 340, column: 41, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 340, column: 25, }, end: Position { line: 340, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 342, column: 7, }, end: Position { line: 342, column: 17, }, }, }, ), Raw( PartRaw { content: "RequiresMountsFor", span: Span { start: Position { line: 342, column: 18, }, end: Position { line: 342, column: 35, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 342, column: 38, }, end: Position { line: 342, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 342, column: 42, }, end: Position { line: 342, column: 49, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 344, column: 7, }, end: Position { line: 344, column: 11, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 347, column: 9, }, end: Position { line: 347, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nettools", span: Span { start: Position { line: 347, column: 14, }, end: Position { line: 347, column: 22, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 344, column: 14, }, end: Position { line: 348, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 350, column: 7, }, end: Position { line: 350, column: 15, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "isMariaDB", span: Span { start: Position { line: 350, column: 21, }, end: Position { line: 350, column: 30, }, }, }, ), then: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if ! test -e ", span: Span { start: Position { line: 351, column: 1, }, end: Position { line: 351, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 351, column: 24, }, end: Position { line: 351, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 351, column: 28, }, end: Position { line: 351, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/mysql; then\n ", span: Span { start: Position { line: 351, column: 1, }, end: Position { line: 352, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 352, column: 13, }, end: Position { line: 352, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 352, column: 17, }, end: Position { line: 352, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysql_install_db --defaults-file=/etc/my.cnf ", span: Span { start: Position { line: 351, column: 1, }, end: Position { line: 352, column: 75, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "mysqldOptions", span: Span { start: Position { line: 352, column: 77, }, end: Position { line: 352, column: 90, }, }, }, ), }, ), Raw( PartRaw { content: "\n touch ", span: Span { start: Position { line: 351, column: 1, }, end: Position { line: 353, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 353, column: 19, }, end: Position { line: 353, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 353, column: 23, }, end: Position { line: 353, column: 30, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/mysql_init\nfi\n", span: Span { start: Position { line: 351, column: 1, }, end: Position { line: 355, column: 7, }, }, }, ), ], span: Span { start: Position { line: 350, column: 36, }, end: Position { line: 355, column: 9, }, }, }, ), else_: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if ! test -e ", span: Span { start: Position { line: 356, column: 1, }, end: Position { line: 356, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 356, column: 24, }, end: Position { line: 356, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 356, column: 28, }, end: Position { line: 356, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/mysql; then\n ", span: Span { start: Position { line: 356, column: 1, }, end: Position { line: 357, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 357, column: 13, }, end: Position { line: 357, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 357, column: 17, }, end: Position { line: 357, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysqld --defaults-file=/etc/my.cnf ", span: Span { start: Position { line: 356, column: 1, }, end: Position { line: 357, column: 65, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "mysqldOptions", span: Span { start: Position { line: 357, column: 67, }, end: Position { line: 357, column: 80, }, }, }, ), }, ), Raw( PartRaw { content: " --initialize-insecure\n touch ", span: Span { start: Position { line: 356, column: 1, }, end: Position { line: 358, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 358, column: 19, }, end: Position { line: 358, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 358, column: 23, }, end: Position { line: 358, column: 30, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/mysql_init\nfi\n", span: Span { start: Position { line: 356, column: 1, }, end: Position { line: 360, column: 7, }, }, }, ), ], span: Span { start: Position { line: 355, column: 15, }, end: Position { line: 360, column: 9, }, }, }, ), span: Span { start: Position { line: 350, column: 18, }, end: Position { line: 360, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 362, column: 7, }, end: Position { line: 362, column: 13, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# https://mariadb.com/kb/en/getting-started-with-mariadb-galera-cluster/#systemd-and-galera-recovery\nif test -n \"", span: Span { start: Position { line: 363, column: 1, }, end: Position { line: 364, column: 21, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 363, column: 1, }, end: Position { line: 364, column: 24, }, }, }, ), Raw( PartRaw { content: "{_WSREP_START_POSITION}\"; then\n if test -e \"", span: Span { start: Position { line: 363, column: 1, }, end: Position { line: 365, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 365, column: 25, }, end: Position { line: 365, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 365, column: 29, }, end: Position { line: 365, column: 36, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/galera_recovery\"; then\n VAR=$(cd ", span: Span { start: Position { line: 363, column: 1, }, end: Position { line: 366, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 366, column: 24, }, end: Position { line: 366, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 366, column: 28, }, end: Position { line: 366, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/..; ", span: Span { start: Position { line: 363, column: 1, }, end: Position { line: 366, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 366, column: 47, }, end: Position { line: 366, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 366, column: 51, }, end: Position { line: 366, column: 58, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/galera_recovery); [[ $? -eq 0 ]] && export _WSREP_START_POSITION=$VAR || exit 1\n fi\nfi\n\n# The last two environment variables are used for starting Galera clusters\nexec ", span: Span { start: Position { line: 363, column: 1, }, end: Position { line: 371, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 371, column: 16, }, end: Position { line: 371, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 371, column: 20, }, end: Position { line: 371, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysqld --defaults-file=/etc/my.cnf ", span: Span { start: Position { line: 363, column: 1, }, end: Position { line: 371, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "mysqldOptions", span: Span { start: Position { line: 371, column: 70, }, end: Position { line: 371, column: 83, }, }, }, ), }, ), Raw( PartRaw { content: " $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION\n", span: Span { start: Position { line: 363, column: 1, }, end: Position { line: 372, column: 7, }, }, }, ), ], span: Span { start: Position { line: 362, column: 16, }, end: Position { line: 372, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postStart", span: Span { start: Position { line: 374, column: 7, }, end: Position { line: 374, column: 16, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "superUser", span: Span { start: Position { line: 376, column: 9, }, end: Position { line: 376, column: 18, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "isMariaDB", span: Span { start: Position { line: 376, column: 24, }, end: Position { line: 376, column: 33, }, }, }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 376, column: 39, }, end: Position { line: 376, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 376, column: 43, }, end: Position { line: 376, column: 47, }, }, }, ), ], default: None, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "root", span: Span { start: Position { line: 376, column: 54, }, end: Position { line: 376, column: 58, }, }, }, ), ], span: Span { start: Position { line: 376, column: 53, }, end: Position { line: 376, column: 59, }, }, }, ), span: Span { start: Position { line: 376, column: 21, }, end: Position { line: 376, column: 59, }, }, }, ), }, ), ], target: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 378, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 378, column: 11, }, end: Position { line: 378, column: 25, }, }, }, ), arguments: [ UnaryOperation( UnaryOperation { operator: Not, operand: Identifier( Identifier { id: "isMariaDB", span: Span { start: Position { line: 378, column: 28, }, end: Position { line: 378, column: 37, }, }, }, ), span: Span { start: Position { line: 378, column: 27, }, end: Position { line: 378, column: 37, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Wait until the MySQL server is available for use\ncount=0\nwhile [ ! -e /run/mysqld/mysqld.sock ]\ndo\n if [ $count -eq 30 ]\n then\n echo \"Tried 30 times, giving up...\"\n exit 1\n fi\n\n echo \"MySQL daemon not yet started. Waiting for 1 second...\"\n count=$((count++))\n sleep 1\ndone\n", span: Span { start: Position { line: 379, column: 1, }, end: Position { line: 393, column: 9, }, }, }, ), ], span: Span { start: Position { line: 378, column: 39, }, end: Position { line: 393, column: 11, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\nif [ -f ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 395, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 395, column: 19, }, end: Position { line: 395, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 395, column: 23, }, end: Position { line: 395, column: 30, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/mysql_init ]\nthen\n # While MariaDB comes with a 'mysql' super user account since 10.4.x, MySQL does not\n # Since we don't want to run this service as 'root' we need to ensure the account exists on first run\n ( echo \"CREATE USER IF NOT EXISTS ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 399, column: 47, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 399, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 399, column: 50, }, end: Position { line: 399, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 399, column: 54, }, end: Position { line: 399, column: 58, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'@'localhost' IDENTIFIED WITH ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 399, column: 89, }, }, }, ), Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "isMariaDB", span: Span { start: Position { line: 399, column: 94, }, end: Position { line: 399, column: 103, }, }, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "unix_socket", span: Span { start: Position { line: 399, column: 110, }, end: Position { line: 399, column: 121, }, }, }, ), ], span: Span { start: Position { line: 399, column: 109, }, end: Position { line: 399, column: 122, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "auth_socket", span: Span { start: Position { line: 399, column: 129, }, end: Position { line: 399, column: 140, }, }, }, ), ], span: Span { start: Position { line: 399, column: 128, }, end: Position { line: 399, column: 141, }, }, }, ), span: Span { start: Position { line: 399, column: 91, }, end: Position { line: 399, column: 141, }, }, }, ), }, ), Raw( PartRaw { content: ";\"\n echo \"GRANT ALL PRIVILEGES ON *.* TO ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 400, column: 52, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 400, column: 53, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 400, column: 55, }, end: Position { line: 400, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 400, column: 59, }, end: Position { line: 400, column: 63, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'@'localhost' WITH GRANT OPTION;\"\n ) | ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 401, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 401, column: 19, }, end: Position { line: 401, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 401, column: 23, }, end: Position { line: 401, column: 30, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysql -u ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 401, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "superUser", span: Span { start: Position { line: 401, column: 47, }, end: Position { line: 401, column: 56, }, }, }, ), }, ), Raw( PartRaw { content: " -N\n\n ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 403, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStrings", span: Span { start: Position { line: 403, column: 15, }, end: Position { line: 403, column: 31, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "database", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Create initial databases\nif ! test -e \"", span: Span { start: Position { line: 404, column: 1, }, end: Position { line: 405, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 405, column: 31, }, end: Position { line: 405, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 405, column: 35, }, end: Position { line: 405, column: 42, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 404, column: 1, }, end: Position { line: 405, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 405, column: 46, }, end: Position { line: 405, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 405, column: 55, }, end: Position { line: 405, column: 59, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"; then\n echo \"Creating initial database: ", span: Span { start: Position { line: 404, column: 1, }, end: Position { line: 406, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 406, column: 54, }, end: Position { line: 406, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 406, column: 63, }, end: Position { line: 406, column: 67, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"\n ( echo 'create database `", span: Span { start: Position { line: 404, column: 1, }, end: Position { line: 407, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 407, column: 46, }, end: Position { line: 407, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 407, column: 55, }, end: Position { line: 407, column: 59, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "`;'\n\n ", span: Span { start: Position { line: 404, column: 1, }, end: Position { line: 409, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 409, column: 23, }, end: Position { line: 409, column: 37, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 409, column: 39, }, end: Position { line: 409, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "schema", span: Span { start: Position { line: 409, column: 48, }, end: Position { line: 409, column: 54, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 409, column: 58, }, end: Position { line: 409, column: 62, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "echo 'use `", span: Span { start: Position { line: 410, column: 1, }, end: Position { line: 410, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 410, column: 34, }, end: Position { line: 410, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 410, column: 43, }, end: Position { line: 410, column: 47, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "`;'\n\n# TODO: this silently falls through if database.schema does not exist,\n# we should catch this somehow and exit, but can't do it here because we're in a subshell.\nif [ -f \"", span: Span { start: Position { line: 410, column: 1, }, end: Position { line: 414, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 414, column: 32, }, end: Position { line: 414, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "schema", span: Span { start: Position { line: 414, column: 41, }, end: Position { line: 414, column: 47, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" ]\nthen\n cat ", span: Span { start: Position { line: 410, column: 1, }, end: Position { line: 416, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 416, column: 31, }, end: Position { line: 416, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "schema", span: Span { start: Position { line: 416, column: 40, }, end: Position { line: 416, column: 46, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nelif [ -d \"", span: Span { start: Position { line: 410, column: 1, }, end: Position { line: 417, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 417, column: 34, }, end: Position { line: 417, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "schema", span: Span { start: Position { line: 417, column: 43, }, end: Position { line: 417, column: 49, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" ]\nthen\n cat ", span: Span { start: Position { line: 410, column: 1, }, end: Position { line: 419, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 419, column: 31, }, end: Position { line: 419, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "schema", span: Span { start: Position { line: 419, column: 40, }, end: Position { line: 419, column: 46, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/mysql-databases/*.sql\nfi\n", span: Span { start: Position { line: 410, column: 1, }, end: Position { line: 421, column: 21, }, }, }, ), ], span: Span { start: Position { line: 409, column: 64, }, end: Position { line: 421, column: 23, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n ) | ", span: Span { start: Position { line: 404, column: 1, }, end: Position { line: 422, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 422, column: 25, }, end: Position { line: 422, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 422, column: 29, }, end: Position { line: 422, column: 36, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysql -u ", span: Span { start: Position { line: 404, column: 1, }, end: Position { line: 422, column: 51, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "superUser", span: Span { start: Position { line: 422, column: 53, }, end: Position { line: 422, column: 62, }, }, }, ), }, ), Raw( PartRaw { content: " -N\nfi\n", span: Span { start: Position { line: 404, column: 1, }, end: Position { line: 424, column: 13, }, }, }, ), ], span: Span { start: Position { line: 403, column: 43, }, end: Position { line: 424, column: 15, }, }, }, ), span: Span { start: Position { line: 403, column: 33, }, end: Position { line: 424, column: 15, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 424, column: 17, }, end: Position { line: 424, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "initialDatabases", span: Span { start: Position { line: 424, column: 21, }, end: Position { line: 424, column: 37, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 426, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 426, column: 15, }, end: Position { line: 426, column: 29, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 426, column: 31, }, end: Position { line: 426, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 426, column: 35, }, end: Position { line: 426, column: 46, }, }, }, ), Raw( PartRaw { content: "role", span: Span { start: Position { line: 426, column: 47, }, end: Position { line: 426, column: 51, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 426, column: 56, }, end: Position { line: 426, column: 62, }, }, }, ), ], span: Span { start: Position { line: 426, column: 55, }, end: Position { line: 426, column: 63, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Set up the replication master\n\n( echo \"use mysql;\"\n echo \"CREATE USER ", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 431, column: 37, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 431, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 431, column: 40, }, end: Position { line: 431, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 431, column: 44, }, end: Position { line: 431, column: 55, }, }, }, ), Raw( PartRaw { content: "masterUser", span: Span { start: Position { line: 431, column: 56, }, end: Position { line: 431, column: 66, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'@", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 431, column: 69, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 431, column: 70, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 431, column: 72, }, end: Position { line: 431, column: 75, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 431, column: 76, }, end: Position { line: 431, column: 87, }, }, }, ), Raw( PartRaw { content: "slaveHost", span: Span { start: Position { line: 431, column: 88, }, end: Position { line: 431, column: 97, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' IDENTIFIED WITH mysql_native_password;\"\n echo \"SET PASSWORD FOR ", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 432, column: 42, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 432, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 432, column: 45, }, end: Position { line: 432, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 432, column: 49, }, end: Position { line: 432, column: 60, }, }, }, ), Raw( PartRaw { content: "masterUser", span: Span { start: Position { line: 432, column: 61, }, end: Position { line: 432, column: 71, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'@", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 432, column: 74, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 432, column: 75, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 432, column: 77, }, end: Position { line: 432, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 432, column: 81, }, end: Position { line: 432, column: 92, }, }, }, ), Raw( PartRaw { content: "slaveHost", span: Span { start: Position { line: 432, column: 93, }, end: Position { line: 432, column: 102, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' = PASSWORD(", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 432, column: 116, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 432, column: 117, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 432, column: 119, }, end: Position { line: 432, column: 122, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 432, column: 123, }, end: Position { line: 432, column: 134, }, }, }, ), Raw( PartRaw { content: "masterPassword", span: Span { start: Position { line: 432, column: 135, }, end: Position { line: 432, column: 149, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "');\"\n echo \"GRANT REPLICATION SLAVE ON *.* TO ", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 433, column: 59, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 433, column: 60, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 433, column: 62, }, end: Position { line: 433, column: 65, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 433, column: 66, }, end: Position { line: 433, column: 77, }, }, }, ), Raw( PartRaw { content: "masterUser", span: Span { start: Position { line: 433, column: 78, }, end: Position { line: 433, column: 88, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'@", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 433, column: 91, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 433, column: 92, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 433, column: 94, }, end: Position { line: 433, column: 97, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 433, column: 98, }, end: Position { line: 433, column: 109, }, }, }, ), Raw( PartRaw { content: "slaveHost", span: Span { start: Position { line: 433, column: 110, }, end: Position { line: 433, column: 119, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "';\"\n) | ", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 434, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 434, column: 23, }, end: Position { line: 434, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 434, column: 27, }, end: Position { line: 434, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysql -u ", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 434, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "superUser", span: Span { start: Position { line: 434, column: 51, }, end: Position { line: 434, column: 60, }, }, }, ), }, ), Raw( PartRaw { content: " -N\n", span: Span { start: Position { line: 428, column: 1, }, end: Position { line: 435, column: 15, }, }, }, ), ], span: Span { start: Position { line: 427, column: 15, }, end: Position { line: 435, column: 17, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 437, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 437, column: 15, }, end: Position { line: 437, column: 29, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 437, column: 31, }, end: Position { line: 437, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 437, column: 35, }, end: Position { line: 437, column: 46, }, }, }, ), Raw( PartRaw { content: "role", span: Span { start: Position { line: 437, column: 47, }, end: Position { line: 437, column: 51, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "slave", span: Span { start: Position { line: 437, column: 56, }, end: Position { line: 437, column: 61, }, }, }, ), ], span: Span { start: Position { line: 437, column: 55, }, end: Position { line: 437, column: 62, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Set up the replication slave\n\n( echo \"stop slave;\"\n echo \"change master to master_host=", span: Span { start: Position { line: 439, column: 1, }, end: Position { line: 442, column: 54, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 439, column: 1, }, end: Position { line: 442, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 442, column: 57, }, end: Position { line: 442, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 442, column: 61, }, end: Position { line: 442, column: 72, }, }, }, ), Raw( PartRaw { content: "masterHost", span: Span { start: Position { line: 442, column: 73, }, end: Position { line: 442, column: 83, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "', master_user=", span: Span { start: Position { line: 439, column: 1, }, end: Position { line: 442, column: 99, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 439, column: 1, }, end: Position { line: 442, column: 100, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 442, column: 102, }, end: Position { line: 442, column: 105, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 442, column: 106, }, end: Position { line: 442, column: 117, }, }, }, ), Raw( PartRaw { content: "masterUser", span: Span { start: Position { line: 442, column: 118, }, end: Position { line: 442, column: 128, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "', master_password=", span: Span { start: Position { line: 439, column: 1, }, end: Position { line: 442, column: 148, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 439, column: 1, }, end: Position { line: 442, column: 149, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 442, column: 151, }, end: Position { line: 442, column: 154, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replication", span: Span { start: Position { line: 442, column: 155, }, end: Position { line: 442, column: 166, }, }, }, ), Raw( PartRaw { content: "masterPassword", span: Span { start: Position { line: 442, column: 167, }, end: Position { line: 442, column: 181, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "';\"\n echo \"start slave;\"\n) | ", span: Span { start: Position { line: 439, column: 1, }, end: Position { line: 444, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 444, column: 23, }, end: Position { line: 444, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 444, column: 27, }, end: Position { line: 444, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysql -u ", span: Span { start: Position { line: 439, column: 1, }, end: Position { line: 444, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "superUser", span: Span { start: Position { line: 444, column: 51, }, end: Position { line: 444, column: 60, }, }, }, ), }, ), Raw( PartRaw { content: " -N\n", span: Span { start: Position { line: 439, column: 1, }, end: Position { line: 445, column: 15, }, }, }, ), ], span: Span { start: Position { line: 438, column: 15, }, end: Position { line: 445, column: 17, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 447, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 447, column: 15, }, end: Position { line: 447, column: 29, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 447, column: 31, }, end: Position { line: 447, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "initialScript", span: Span { start: Position { line: 447, column: 35, }, end: Position { line: 447, column: 48, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 447, column: 52, }, end: Position { line: 447, column: 56, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Execute initial script\n# using toString to avoid copying the file to nix store if given as path instead of string,\n# as it might contain credentials\ncat ", span: Span { start: Position { line: 449, column: 1, }, end: Position { line: 452, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 452, column: 23, }, end: Position { line: 452, column: 31, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 452, column: 32, }, end: Position { line: 452, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "initialScript", span: Span { start: Position { line: 452, column: 36, }, end: Position { line: 452, column: 49, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " | ", span: Span { start: Position { line: 449, column: 1, }, end: Position { line: 452, column: 53, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 452, column: 55, }, end: Position { line: 452, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 452, column: 59, }, end: Position { line: 452, column: 66, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysql -u ", span: Span { start: Position { line: 449, column: 1, }, end: Position { line: 452, column: 81, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "superUser", span: Span { start: Position { line: 452, column: 83, }, end: Position { line: 452, column: 92, }, }, }, ), }, ), Raw( PartRaw { content: " -N\n", span: Span { start: Position { line: 449, column: 1, }, end: Position { line: 453, column: 15, }, }, }, ), ], span: Span { start: Position { line: 448, column: 15, }, end: Position { line: 453, column: 17, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n rm ", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 455, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 455, column: 18, }, end: Position { line: 455, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 455, column: 22, }, end: Position { line: 455, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/mysql_init\nfi\n\n", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 458, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 458, column: 11, }, end: Position { line: 458, column: 25, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 458, column: 27, }, end: Position { line: 458, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ensureDatabases", span: Span { start: Position { line: 458, column: 31, }, end: Position { line: 458, column: 46, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 458, column: 50, }, end: Position { line: 458, column: 52, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "(\n", span: Span { start: Position { line: 459, column: 1, }, end: Position { line: 460, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStrings", span: Span { start: Position { line: 460, column: 13, }, end: Position { line: 460, column: 29, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "database", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "echo \"CREATE DATABASE IF NOT EXISTS \\`", span: Span { start: Position { line: 461, column: 1, }, end: Position { line: 461, column: 51, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 461, column: 53, }, end: Position { line: 461, column: 61, }, }, }, ), }, ), Raw( PartRaw { content: "\\`;\"\n", span: Span { start: Position { line: 461, column: 1, }, end: Position { line: 462, column: 11, }, }, }, ), ], span: Span { start: Position { line: 460, column: 41, }, end: Position { line: 462, column: 13, }, }, }, ), span: Span { start: Position { line: 460, column: 31, }, end: Position { line: 462, column: 13, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 462, column: 15, }, end: Position { line: 462, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ensureDatabases", span: Span { start: Position { line: 462, column: 19, }, end: Position { line: 462, column: 34, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n) | ", span: Span { start: Position { line: 459, column: 1, }, end: Position { line: 463, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 463, column: 17, }, end: Position { line: 463, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 463, column: 21, }, end: Position { line: 463, column: 28, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysql -N\n", span: Span { start: Position { line: 459, column: 1, }, end: Position { line: 464, column: 9, }, }, }, ), ], span: Span { start: Position { line: 458, column: 54, }, end: Position { line: 464, column: 11, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 466, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStrings", span: Span { start: Position { line: 466, column: 11, }, end: Position { line: 466, column: 27, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "user", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "( echo \"CREATE USER IF NOT EXISTS ", span: Span { start: Position { line: 468, column: 1, }, end: Position { line: 468, column: 47, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 468, column: 1, }, end: Position { line: 468, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 468, column: 50, }, end: Position { line: 468, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 468, column: 55, }, end: Position { line: 468, column: 59, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'@'localhost' IDENTIFIED WITH ", span: Span { start: Position { line: 468, column: 1, }, end: Position { line: 468, column: 90, }, }, }, ), Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "isMariaDB", span: Span { start: Position { line: 468, column: 95, }, end: Position { line: 468, column: 104, }, }, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "unix_socket", span: Span { start: Position { line: 468, column: 111, }, end: Position { line: 468, column: 122, }, }, }, ), ], span: Span { start: Position { line: 468, column: 110, }, end: Position { line: 468, column: 123, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "auth_socket", span: Span { start: Position { line: 468, column: 130, }, end: Position { line: 468, column: 141, }, }, }, ), ], span: Span { start: Position { line: 468, column: 129, }, end: Position { line: 468, column: 142, }, }, }, ), span: Span { start: Position { line: 468, column: 92, }, end: Position { line: 468, column: 142, }, }, }, ), }, ), Raw( PartRaw { content: ";\"\n ", span: Span { start: Position { line: 468, column: 1, }, end: Position { line: 469, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 469, column: 17, }, end: Position { line: 469, column: 33, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 469, column: 35, }, end: Position { line: 469, column: 37, }, }, }, ), ], span: Span { start: Position { line: 469, column: 34, }, end: Position { line: 469, column: 38, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 469, column: 40, }, end: Position { line: 469, column: 54, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "database", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "permission", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "echo \"GRANT ", span: Span { start: Position { line: 470, column: 1, }, end: Position { line: 470, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "permission", span: Span { start: Position { line: 470, column: 31, }, end: Position { line: 470, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: " ON ", span: Span { start: Position { line: 470, column: 1, }, end: Position { line: 470, column: 46, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 470, column: 48, }, end: Position { line: 470, column: 56, }, }, }, ), }, ), Raw( PartRaw { content: " TO ", span: Span { start: Position { line: 470, column: 1, }, end: Position { line: 470, column: 61, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 470, column: 1, }, end: Position { line: 470, column: 62, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 470, column: 64, }, end: Position { line: 470, column: 68, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 470, column: 69, }, end: Position { line: 470, column: 73, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'@'localhost';\"\n", span: Span { start: Position { line: 470, column: 1, }, end: Position { line: 471, column: 15, }, }, }, ), ], span: Span { start: Position { line: 469, column: 78, }, end: Position { line: 471, column: 17, }, }, }, ), span: Span { start: Position { line: 469, column: 66, }, end: Position { line: 471, column: 17, }, }, }, ), span: Span { start: Position { line: 469, column: 56, }, end: Position { line: 471, column: 17, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 471, column: 19, }, end: Position { line: 471, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ensurePermissions", span: Span { start: Position { line: 471, column: 24, }, end: Position { line: 471, column: 41, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\n) | ", span: Span { start: Position { line: 468, column: 1, }, end: Position { line: 472, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 472, column: 19, }, end: Position { line: 472, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 472, column: 23, }, end: Position { line: 472, column: 30, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysql -N\n", span: Span { start: Position { line: 468, column: 1, }, end: Position { line: 473, column: 11, }, }, }, ), ], span: Span { start: Position { line: 467, column: 11, }, end: Position { line: 473, column: 13, }, }, }, ), span: Span { start: Position { line: 466, column: 29, }, end: Position { line: 473, column: 13, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 473, column: 15, }, end: Position { line: 473, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ensureUsers", span: Span { start: Position { line: 473, column: 19, }, end: Position { line: 473, column: 30, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 378, column: 1, }, end: Position { line: 474, column: 7, }, }, }, ), ], span: Span { start: Position { line: 377, column: 10, }, end: Position { line: 474, column: 9, }, }, }, ), span: Span { start: Position { line: 374, column: 19, }, end: Position { line: 474, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 476, column: 7, }, end: Position { line: 476, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 476, column: 23, }, end: Position { line: 476, column: 30, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 478, column: 11, }, end: Position { line: 478, column: 15, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "isMariaDB", span: Span { start: Position { line: 478, column: 21, }, end: Position { line: 478, column: 30, }, }, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "notify", span: Span { start: Position { line: 478, column: 37, }, end: Position { line: 478, column: 43, }, }, }, ), ], span: Span { start: Position { line: 478, column: 36, }, end: Position { line: 478, column: 44, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 478, column: 51, }, end: Position { line: 478, column: 57, }, }, }, ), ], span: Span { start: Position { line: 478, column: 50, }, end: Position { line: 478, column: 58, }, }, }, ), span: Span { start: Position { line: 478, column: 18, }, end: Position { line: 478, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 479, column: 11, }, end: Position { line: 479, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-abort", span: Span { start: Position { line: 479, column: 22, }, end: Position { line: 479, column: 30, }, }, }, ), ], span: Span { start: Position { line: 479, column: 21, }, end: Position { line: 479, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 480, column: 11, }, end: Position { line: 480, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "5s", span: Span { start: Position { line: 480, column: 25, }, end: Position { line: 480, column: 27, }, }, }, ), ], span: Span { start: Position { line: 480, column: 24, }, end: Position { line: 480, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 483, column: 11, }, end: Position { line: 483, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 483, column: 18, }, end: Position { line: 483, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 483, column: 22, }, end: Position { line: 483, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 484, column: 11, }, end: Position { line: 484, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 484, column: 19, }, end: Position { line: 484, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 484, column: 23, }, end: Position { line: 484, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectory", span: Span { start: Position { line: 486, column: 11, }, end: Position { line: 486, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mysqld", span: Span { start: Position { line: 486, column: 31, }, end: Position { line: 486, column: 37, }, }, }, ), ], span: Span { start: Position { line: 486, column: 30, }, end: Position { line: 486, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectoryMode", span: Span { start: Position { line: 487, column: 11, }, end: Position { line: 487, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0755", span: Span { start: Position { line: 487, column: 35, }, end: Position { line: 487, column: 39, }, }, }, ), ], span: Span { start: Position { line: 487, column: 34, }, end: Position { line: 487, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ReadWritePaths", span: Span { start: Position { line: 489, column: 11, }, end: Position { line: 489, column: 25, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 489, column: 30, }, end: Position { line: 489, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 489, column: 34, }, end: Position { line: 489, column: 41, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 489, column: 28, }, end: Position { line: 489, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CapabilityBoundingSet", span: Span { start: Position { line: 491, column: 11, }, end: Position { line: 491, column: 32, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 491, column: 35, }, end: Position { line: 491, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NoNewPrivileges", span: Span { start: Position { line: 493, column: 11, }, end: Position { line: 493, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 493, column: 29, }, end: Position { line: 493, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectSystem", span: Span { start: Position { line: 495, column: 11, }, end: Position { line: 495, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "strict", span: Span { start: Position { line: 495, column: 28, }, end: Position { line: 495, column: 34, }, }, }, ), ], span: Span { start: Position { line: 495, column: 27, }, end: Position { line: 495, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHome", span: Span { start: Position { line: 496, column: 11, }, end: Position { line: 496, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 496, column: 25, }, end: Position { line: 496, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 497, column: 11, }, end: Position { line: 497, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 497, column: 24, }, end: Position { line: 497, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateDevices", span: Span { start: Position { line: 498, column: 11, }, end: Position { line: 498, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 498, column: 28, }, end: Position { line: 498, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHostname", span: Span { start: Position { line: 499, column: 11, }, end: Position { line: 499, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 499, column: 29, }, end: Position { line: 499, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelTunables", span: Span { start: Position { line: 500, column: 11, }, end: Position { line: 500, column: 32, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 500, column: 35, }, end: Position { line: 500, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelModules", span: Span { start: Position { line: 501, column: 11, }, end: Position { line: 501, column: 31, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 501, column: 34, }, end: Position { line: 501, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectControlGroups", span: Span { start: Position { line: 502, column: 11, }, end: Position { line: 502, column: 31, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 502, column: 34, }, end: Position { line: 502, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictAddressFamilies", span: Span { start: Position { line: 503, column: 11, }, end: Position { line: 503, column: 34, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "AF_UNIX", span: Span { start: Position { line: 503, column: 40, }, end: Position { line: 503, column: 47, }, }, }, ), ], span: Span { start: Position { line: 503, column: 39, }, end: Position { line: 503, column: 48, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "AF_INET", span: Span { start: Position { line: 503, column: 50, }, end: Position { line: 503, column: 57, }, }, }, ), ], span: Span { start: Position { line: 503, column: 49, }, end: Position { line: 503, column: 58, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "AF_INET6", span: Span { start: Position { line: 503, column: 60, }, end: Position { line: 503, column: 68, }, }, }, ), ], span: Span { start: Position { line: 503, column: 59, }, end: Position { line: 503, column: 69, }, }, }, ), ], span: Span { start: Position { line: 503, column: 37, }, end: Position { line: 503, column: 71, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LockPersonality", span: Span { start: Position { line: 504, column: 11, }, end: Position { line: 504, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 504, column: 29, }, end: Position { line: 504, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MemoryDenyWriteExecute", span: Span { start: Position { line: 505, column: 11, }, end: Position { line: 505, column: 33, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 505, column: 36, }, end: Position { line: 505, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictRealtime", span: Span { start: Position { line: 506, column: 11, }, end: Position { line: 506, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 506, column: 30, }, end: Position { line: 506, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictSUIDSGID", span: Span { start: Position { line: 507, column: 11, }, end: Position { line: 507, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 507, column: 30, }, end: Position { line: 507, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateMounts", span: Span { start: Position { line: 508, column: 11, }, end: Position { line: 508, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 508, column: 27, }, end: Position { line: 508, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallArchitectures", span: Span { start: Position { line: 510, column: 11, }, end: Position { line: 510, column: 34, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "native", span: Span { start: Position { line: 510, column: 38, }, end: Position { line: 510, column: 44, }, }, }, ), ], span: Span { start: Position { line: 510, column: 37, }, end: Position { line: 510, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 477, column: 9, }, end: Position { line: 511, column: 10, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 512, column: 10, }, end: Position { line: 512, column: 14, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 512, column: 16, }, end: Position { line: 512, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 512, column: 20, }, end: Position { line: 512, column: 27, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/mysql", span: Span { start: Position { line: 512, column: 32, }, end: Position { line: 512, column: 46, }, }, }, ), ], span: Span { start: Position { line: 512, column: 31, }, end: Position { line: 512, column: 47, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 513, column: 11, }, end: Position { line: 513, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 513, column: 29, }, end: Position { line: 513, column: 34, }, }, }, ), ], span: Span { start: Position { line: 513, column: 28, }, end: Position { line: 513, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectoryMode", span: Span { start: Position { line: 514, column: 11, }, end: Position { line: 514, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0700", span: Span { start: Position { line: 514, column: 33, }, end: Position { line: 514, column: 37, }, }, }, ), ], span: Span { start: Position { line: 514, column: 32, }, end: Position { line: 514, column: 38, }, }, }, ), }, ), ], span: Span { start: Position { line: 512, column: 49, }, end: Position { line: 515, column: 10, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 476, column: 31, }, end: Position { line: 516, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 335, column: 30, }, end: Position { line: 517, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 296, column: 28, }, end: Position { line: 518, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 1, }, end: Position { line: 519, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 519, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 519, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 519, column: 2, }, }, }, )