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: 5, column: 3, }, end: Position { line: 5, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 5, column: 9, }, end: Position { line: 5, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 24, }, }, }, ), Raw( PartRaw { content: "corosync", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 33, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 9, column: 11, }, end: Position { line: 9, column: 19, }, }, }, ), Raw( PartRaw { content: "corosync", span: Span { start: Position { line: 9, column: 20, }, end: Position { line: 9, column: 28, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 10, column: 30, }, end: Position { line: 10, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 10, column: 34, }, end: Position { line: 10, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "corosync", span: Span { start: Position { line: 10, column: 41, }, end: Position { line: 10, column: 49, }, }, }, ), ], span: Span { start: Position { line: 10, column: 40, }, end: Position { line: 10, column: 50, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 12, column: 15, }, end: Position { line: 12, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 13, column: 14, }, end: Position { line: 13, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 14, column: 17, }, end: Position { line: 14, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "corosync", span: Span { start: Position { line: 14, column: 22, }, end: Position { line: 14, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 15, column: 21, }, end: Position { line: 15, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.corosync", span: Span { start: Position { line: 15, column: 40, }, end: Position { line: 15, column: 53, }, }, }, ), ], span: Span { start: Position { line: 15, column: 39, }, end: Position { line: 15, column: 54, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 16, column: 25, }, end: Position { line: 16, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Package that should be used for corosync.", span: Span { start: Position { line: 16, column: 32, }, end: Position { line: 16, column: 73, }, }, }, ), ], span: Span { start: Position { line: 16, column: 31, }, end: Position { line: 16, column: 74, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 24, }, end: Position { line: 17, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "clusterName", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 19, column: 19, }, end: Position { line: 19, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 14, }, end: Position { line: 20, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 20, column: 20, }, end: Position { line: 20, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nixcluster", span: Span { start: Position { line: 21, column: 18, }, end: Position { line: 21, column: 28, }, }, }, ), ], span: Span { start: Position { line: 21, column: 17, }, end: Position { line: 21, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 22, column: 21, }, end: Position { line: 22, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 22, column: 25, }, end: Position { line: 22, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Name of the corosync cluster.", span: Span { start: Position { line: 22, column: 32, }, end: Position { line: 22, column: 61, }, }, }, ), ], span: Span { start: Position { line: 22, column: 31, }, end: Position { line: 22, column: 62, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 28, }, end: Position { line: 23, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 25, column: 5, }, end: Position { line: 25, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 20, }, end: Position { line: 25, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 19, }, end: Position { line: 26, column: 24, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 26, column: 26, }, end: Position { line: 26, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 26, column: 33, }, end: Position { line: 26, column: 36, }, }, }, ), ], }, ), span: Span { start: Position { line: 26, column: 14, }, end: Position { line: 26, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 14, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 27, column: 17, }, end: Position { line: 27, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 21, }, end: Position { line: 28, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 28, column: 25, }, end: Position { line: 28, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Additional options with which to start corosync.", span: Span { start: Position { line: 28, column: 32, }, end: Position { line: 28, column: 80, }, }, }, ), ], span: Span { start: Position { line: 28, column: 31, }, end: Position { line: 28, column: 81, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 29, }, end: Position { line: 29, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodelist", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 31, column: 16, }, end: Position { line: 31, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 32, column: 21, }, end: Position { line: 32, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 32, column: 25, }, end: Position { line: 32, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Corosync nodelist: all cluster members.", span: Span { start: Position { line: 32, column: 32, }, end: Position { line: 32, column: 71, }, }, }, ), ], span: Span { start: Position { line: 32, column: 31, }, end: Position { line: 32, column: 72, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 14, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 33, column: 17, }, end: Position { line: 33, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 34, column: 24, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 34, column: 26, }, end: Position { line: 34, column: 32, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 34, column: 34, }, end: Position { line: 34, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodeid", span: Span { start: Position { line: 36, column: 11, }, end: Position { line: 36, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 36, column: 20, }, end: Position { line: 36, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 37, column: 13, }, end: Position { line: 37, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "int", span: Span { start: Position { line: 37, column: 20, }, end: Position { line: 37, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 38, column: 13, }, end: Position { line: 38, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 38, column: 27, }, end: Position { line: 38, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 38, column: 31, }, end: Position { line: 38, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Node ID number", span: Span { start: Position { line: 38, column: 38, }, end: Position { line: 38, column: 52, }, }, }, ), ], span: Span { start: Position { line: 38, column: 37, }, end: Position { line: 38, column: 53, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 36, column: 29, }, end: Position { line: 39, column: 12, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 40, column: 11, }, end: Position { line: 40, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 40, column: 18, }, end: Position { line: 40, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 41, column: 13, }, end: Position { line: 41, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "str", span: Span { start: Position { line: 41, column: 20, }, end: Position { line: 41, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 42, column: 13, }, end: Position { line: 42, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 42, column: 27, }, end: Position { line: 42, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 42, column: 31, }, end: Position { line: 42, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Node name", span: Span { start: Position { line: 42, column: 38, }, end: Position { line: 42, column: 47, }, }, }, ), ], span: Span { start: Position { line: 42, column: 37, }, end: Position { line: 42, column: 48, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 40, column: 27, }, end: Position { line: 43, column: 12, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ring_addrs", span: Span { start: Position { line: 44, column: 11, }, end: Position { line: 44, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 44, column: 24, }, end: Position { line: 44, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 45, column: 13, }, end: Position { line: 45, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 45, column: 20, }, end: Position { line: 45, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 45, column: 27, }, end: Position { line: 45, column: 30, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 46, column: 13, }, end: Position { line: 46, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 46, column: 27, }, end: Position { line: 46, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 46, column: 31, }, end: Position { line: 46, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of addresses, one for each ring.", span: Span { start: Position { line: 46, column: 38, }, end: Position { line: 46, column: 75, }, }, }, ), ], span: Span { start: Position { line: 46, column: 37, }, end: Position { line: 46, column: 76, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 44, column: 33, }, end: Position { line: 47, column: 12, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 35, column: 19, }, end: Position { line: 48, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 34, column: 44, }, end: Position { line: 49, column: 8, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 34, column: 14, }, end: Position { line: 49, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 31, column: 25, }, end: Position { line: 50, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 31, }, end: Position { line: 51, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 54, column: 3, }, end: Position { line: 54, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 54, column: 12, }, end: Position { line: 54, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 54, column: 17, }, end: Position { line: 54, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 54, column: 21, }, end: Position { line: 54, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 55, column: 5, }, end: Position { line: 55, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 55, column: 17, }, end: Position { line: 55, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 55, column: 36, }, end: Position { line: 55, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 55, column: 40, }, end: Position { line: 55, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 55, column: 34, }, end: Position { line: 55, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 57, column: 5, }, end: Position { line: 57, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 57, column: 17, }, end: Position { line: 57, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "corosync/corosync.conf", span: Span { start: Position { line: 57, column: 22, }, end: Position { line: 57, column: 44, }, }, }, ), ], span: Span { start: Position { line: 57, column: 21, }, end: Position { line: 57, column: 45, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 57, column: 46, }, end: Position { line: 57, column: 50, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "totem {\n version: 2\n secauth: on\n cluster_name: ", span: Span { start: Position { line: 58, column: 1, }, end: Position { line: 61, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 61, column: 25, }, end: Position { line: 61, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "clusterName", span: Span { start: Position { line: 61, column: 29, }, end: Position { line: 61, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n transport: knet\n}\n\nnodelist {\n ", span: Span { start: Position { line: 58, column: 1, }, end: Position { line: 66, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStrings", span: Span { start: Position { line: 66, column: 11, }, end: Position { line: 66, column: 27, }, }, }, ), arguments: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "nodeid", default: None, }, FunctionHeadDestructuredArgument { identifier: "name", default: None, }, FunctionHeadDestructuredArgument { identifier: "ring_addrs", default: None, }, ], }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "node {\n nodeid: ", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 68, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 68, column: 23, }, end: Position { line: 68, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "nodeid", span: Span { start: Position { line: 68, column: 32, }, end: Position { line: 68, column: 38, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n name: ", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 69, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 69, column: 21, }, end: Position { line: 69, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 70, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStrings", span: Span { start: Position { line: 70, column: 15, }, end: Position { line: 70, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "imap0", span: Span { start: Position { line: 70, column: 30, }, end: Position { line: 70, column: 35, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "i", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "addr", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ring", span: Span { start: Position { line: 71, column: 1, }, end: Position { line: 71, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 71, column: 21, }, end: Position { line: 71, column: 29, }, }, }, ), arguments: [ Identifier( Identifier { id: "i", span: Span { start: Position { line: 71, column: 30, }, end: Position { line: 71, column: 31, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "_addr: ", span: Span { start: Position { line: 71, column: 1, }, end: Position { line: 71, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "addr", span: Span { start: Position { line: 71, column: 41, }, end: Position { line: 71, column: 45, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 71, column: 1, }, end: Position { line: 72, column: 13, }, }, }, ), ], span: Span { start: Position { line: 70, column: 46, }, end: Position { line: 72, column: 15, }, }, }, ), span: Span { start: Position { line: 70, column: 40, }, end: Position { line: 72, column: 15, }, }, }, ), span: Span { start: Position { line: 70, column: 37, }, end: Position { line: 72, column: 15, }, }, }, ), Identifier( Identifier { id: "ring_addrs", span: Span { start: Position { line: 72, column: 17, }, end: Position { line: 72, column: 27, }, }, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\n}\n", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 74, column: 9, }, }, }, ), ], span: Span { start: Position { line: 66, column: 59, }, end: Position { line: 74, column: 11, }, }, }, ), span: Span { start: Position { line: 66, column: 29, }, end: Position { line: 74, column: 11, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 74, column: 13, }, end: Position { line: 74, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodelist", span: Span { start: Position { line: 74, column: 17, }, end: Position { line: 74, column: 25, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n}\n\nquorum {\n # only corosync_votequorum is supported\n provider: corosync_votequorum\n wait_for_all: 0\n ", span: Span { start: Position { line: 58, column: 1, }, end: Position { line: 81, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 81, column: 11, }, end: Position { line: 81, column: 25, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "length", span: Span { start: Position { line: 81, column: 36, }, end: Position { line: 81, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 81, column: 43, }, end: Position { line: 81, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodelist", span: Span { start: Position { line: 81, column: 47, }, end: Position { line: 81, column: 55, }, }, }, ), ], default: None, }, ), ], }, ), operator: LessThan, right: Integer( Integer { value: "3", span: Span { start: Position { line: 81, column: 58, }, end: Position { line: 81, column: 59, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "two_node: 1\n", span: Span { start: Position { line: 82, column: 1, }, end: Position { line: 83, column: 9, }, }, }, ), ], span: Span { start: Position { line: 81, column: 61, }, end: Position { line: 83, column: 11, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n}\n\nlogging {\n to_syslog: yes\n}\n", span: Span { start: Position { line: 58, column: 1, }, end: Position { line: 89, column: 5, }, }, }, ), ], span: Span { start: Position { line: 57, column: 53, }, end: Position { line: 89, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 91, column: 5, }, end: Position { line: 91, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 91, column: 17, }, end: Position { line: 91, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "corosync/uidgid.d/root", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 44, }, }, }, ), ], span: Span { start: Position { line: 91, column: 21, }, end: Position { line: 91, column: 45, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 91, column: 46, }, end: Position { line: 91, column: 50, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# allow pacemaker connection by root\nuidgid {\n uid: 0\n gid: 0\n}\n", span: Span { start: Position { line: 92, column: 1, }, end: Position { line: 97, column: 5, }, }, }, ), ], span: Span { start: Position { line: 91, column: 53, }, end: Position { line: 97, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 99, column: 5, }, end: Position { line: 99, column: 12, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 99, column: 13, }, end: Position { line: 99, column: 21, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 99, column: 26, }, end: Position { line: 99, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 99, column: 30, }, end: Position { line: 99, column: 37, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 99, column: 24, }, end: Position { line: 99, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 100, column: 5, }, end: Position { line: 100, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 100, column: 13, }, end: Position { line: 100, column: 21, }, }, }, ), Raw( PartRaw { content: "corosync", span: Span { start: Position { line: 100, column: 22, }, end: Position { line: 100, column: 30, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 101, column: 7, }, end: Position { line: 101, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 101, column: 21, }, end: Position { line: 101, column: 38, }, }, }, ), ], span: Span { start: Position { line: 101, column: 20, }, end: Position { line: 101, column: 39, }, }, }, ), ], span: Span { start: Position { line: 101, column: 18, }, end: Position { line: 101, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 102, column: 7, }, end: Position { line: 102, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "corosync", span: Span { start: Position { line: 103, column: 27, }, end: Position { line: 103, column: 35, }, }, }, ), ], span: Span { start: Position { line: 103, column: 26, }, end: Position { line: 103, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectoryMode", span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 104, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0700", span: Span { start: Position { line: 104, column: 31, }, end: Position { line: 104, column: 35, }, }, }, ), ], span: Span { start: Position { line: 104, column: 30, }, end: Position { line: 104, column: 36, }, }, }, ), }, ), ], span: Span { start: Position { line: 102, column: 23, }, end: Position { line: 105, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 100, column: 33, }, end: Position { line: 106, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 108, column: 5, }, end: Position { line: 108, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 108, column: 17, }, end: Position { line: 108, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "sysconfig/corosync", span: Span { start: Position { line: 108, column: 22, }, end: Position { line: 108, column: 40, }, }, }, ), ], span: Span { start: Position { line: 108, column: 21, }, end: Position { line: 108, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 108, column: 42, }, end: Position { line: 108, column: 46, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 108, column: 49, }, end: Position { line: 108, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 108, column: 53, }, end: Position { line: 108, column: 67, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 108, column: 69, }, end: Position { line: 108, column: 72, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 108, column: 73, }, end: Position { line: 108, column: 85, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 108, column: 89, }, end: Position { line: 108, column: 91, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "COROSYNC_OPTIONS=\"", span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 109, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 109, column: 27, }, end: Position { line: 109, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArgs", span: Span { start: Position { line: 109, column: 31, }, end: Position { line: 109, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 109, column: 47, }, end: Position { line: 109, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 109, column: 51, }, end: Position { line: 109, column: 63, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\"\n", span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 110, column: 5, }, }, }, ), ], span: Span { start: Position { line: 108, column: 93, }, end: Position { line: 110, column: 7, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 54, column: 28, }, end: Position { line: 111, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 112, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 112, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 112, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 112, column: 2, }, }, }, )