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: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "journalbeat", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 36, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "journalbeatYml", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 8, column: 20, }, end: Position { line: 8, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 8, column: 25, }, end: Position { line: 8, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "journalbeat.yml", span: Span { start: Position { line: 8, column: 36, }, end: Position { line: 8, column: 51, }, }, }, ), ], span: Span { start: Position { line: 8, column: 35, }, end: Position { line: 8, column: 52, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "name: ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 9, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 9, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 9, column: 17, }, end: Position { line: 9, column: 21, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\ntags: ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 10, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 10, column: 13, }, end: Position { line: 10, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 10, column: 22, }, end: Position { line: 10, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 10, column: 29, }, end: Position { line: 10, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 10, column: 33, }, end: Position { line: 10, column: 37, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 12, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 12, column: 11, }, end: Position { line: 12, column: 22, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 13, column: 3, }, }, }, ), ], span: Span { start: Position { line: 8, column: 53, }, end: Position { line: 13, column: 5, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 13, }, }, }, ), Raw( PartRaw { content: "journalbeat", span: Span { start: Position { line: 19, column: 14, }, end: Position { line: 19, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 21, column: 16, }, end: Position { line: 21, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 21, column: 32, }, end: Position { line: 21, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 21, column: 36, }, end: Position { line: 21, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "journalbeat", span: Span { start: Position { line: 21, column: 43, }, end: Position { line: 21, column: 54, }, }, }, ), ], span: Span { start: Position { line: 21, column: 42, }, end: Position { line: 21, column: 55, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 23, column: 17, }, end: Position { line: 23, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 24, column: 16, }, end: Position { line: 24, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 24, column: 22, }, end: Position { line: 24, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 25, column: 19, }, end: Position { line: 25, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "journalbeat", span: Span { start: Position { line: 25, column: 24, }, end: Position { line: 25, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 26, column: 23, }, end: Position { line: 26, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.journalbeat", span: Span { start: Position { line: 26, column: 42, }, end: Position { line: 26, column: 58, }, }, }, ), ], span: Span { start: Position { line: 26, column: 41, }, end: Position { line: 26, column: 59, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 27, column: 23, }, end: Position { line: 27, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 27, column: 27, }, end: Position { line: 27, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The journalbeat package to use\n", span: Span { start: Position { line: 28, column: 1, }, end: Position { line: 29, column: 9, }, }, }, ), ], span: Span { start: Position { line: 27, column: 33, }, end: Position { line: 29, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 23, column: 26, }, end: Position { line: 30, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 32, column: 14, }, end: Position { line: 32, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 16, }, end: Position { line: 33, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "journalbeat", span: Span { start: Position { line: 34, column: 20, }, end: Position { line: 34, column: 31, }, }, }, ), ], span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 34, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 35, column: 23, }, end: Position { line: 35, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 35, column: 27, }, end: Position { line: 35, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Name of the beat", span: Span { start: Position { line: 35, column: 34, }, end: Position { line: 35, column: 50, }, }, }, ), ], span: Span { start: Position { line: 35, column: 33, }, end: Position { line: 35, column: 51, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 32, column: 23, }, end: Position { line: 36, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 38, column: 14, }, end: Position { line: 38, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 39, column: 16, }, end: Position { line: 39, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 39, column: 22, }, end: Position { line: 39, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 39, column: 29, }, end: Position { line: 39, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 39, column: 35, }, end: Position { line: 39, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 40, column: 19, }, end: Position { line: 40, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 41, column: 23, }, end: Position { line: 41, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 41, column: 27, }, end: Position { line: 41, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Tags to place on the shipped log messages", span: Span { start: Position { line: 41, column: 34, }, end: Position { line: 41, column: 75, }, }, }, ), ], span: Span { start: Position { line: 41, column: 33, }, end: Position { line: 41, column: 76, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 38, column: 23, }, end: Position { line: 42, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 44, column: 18, }, end: Position { line: 44, column: 26, }, }, }, ), 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: "journalbeat", span: Span { start: Position { line: 46, column: 20, }, end: Position { line: 46, column: 31, }, }, }, ), ], span: Span { start: Position { line: 46, column: 19, }, end: Position { line: 46, column: 32, }, }, }, ), }, ), 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: "Directory below `/var/lib/` to store journalbeat's\nown logs and other data. This directory will be created automatically\nusing systemd's StateDirectory mechanism.\n", span: Span { start: Position { line: 48, column: 1, }, end: Position { line: 51, column: 9, }, }, }, ), ], span: Span { start: Position { line: 47, column: 33, }, end: Position { line: 51, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 44, column: 27, }, end: Position { line: 52, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 54, column: 21, }, end: Position { line: 54, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 55, column: 16, }, end: Position { line: 55, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 55, column: 22, }, end: Position { line: 55, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 56, column: 9, }, end: Position { line: 56, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 56, column: 19, }, end: Position { line: 56, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 57, column: 23, }, end: Position { line: 57, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 57, column: 27, }, end: Position { line: 57, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Any other configuration options you want to add", span: Span { start: Position { line: 57, column: 34, }, end: Position { line: 57, column: 81, }, }, }, ), ], span: Span { start: Position { line: 57, column: 33, }, end: Position { line: 57, column: 82, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 54, column: 30, }, end: Position { line: 58, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 28, }, end: Position { line: 60, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 61, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 63, column: 3, }, end: Position { line: 63, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 63, column: 12, }, end: Position { line: 63, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 63, column: 17, }, end: Position { line: 63, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 63, column: 21, }, end: Position { line: 63, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 65, column: 5, }, end: Position { line: 65, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 18, }, }, }, ), ], to: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasPrefix", span: Span { start: Position { line: 67, column: 22, }, end: Position { line: 67, column: 31, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 67, column: 33, }, end: Position { line: 67, column: 34, }, }, }, ), ], span: Span { start: Position { line: 67, column: 32, }, end: Position { line: 67, column: 35, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 67, column: 36, }, end: Position { line: 67, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 67, column: 40, }, end: Position { line: 67, column: 48, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 67, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 68, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "The option services.journalbeat.stateDir shouldn't be an absolute directory.", span: Span { start: Position { line: 69, column: 12, }, end: Position { line: 69, column: 88, }, }, }, ), ], span: Span { start: Position { line: 69, column: 11, }, end: Position { line: 69, column: 89, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: " It should be a directory relative to /var/lib/.", span: Span { start: Position { line: 70, column: 12, }, end: Position { line: 70, column: 60, }, }, }, ), ], span: Span { start: Position { line: 70, column: 11, }, end: Position { line: 70, column: 61, }, }, }, ), }, ), }, ), ], span: Span { start: Position { line: 66, column: 7, }, end: Position { line: 71, column: 8, }, }, }, ), ], span: Span { start: Position { line: 65, column: 18, }, end: Position { line: 72, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 74, column: 5, }, end: Position { line: 74, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 74, column: 13, }, end: Position { line: 74, column: 21, }, }, }, ), Raw( PartRaw { content: "journalbeat", span: Span { start: Position { line: 74, column: 22, }, end: Position { line: 74, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 75, column: 7, }, end: Position { line: 75, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Journalbeat log shipper", span: Span { start: Position { line: 75, column: 22, }, end: Position { line: 75, column: 45, }, }, }, ), ], span: Span { start: Position { line: 75, column: 21, }, end: Position { line: 75, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 76, column: 7, }, end: Position { line: 76, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 76, column: 21, }, end: Position { line: 76, column: 38, }, }, }, ), ], span: Span { start: Position { line: 76, column: 20, }, end: Position { line: 76, column: 39, }, }, }, ), ], span: Span { start: Position { line: 76, column: 18, }, end: Position { line: 76, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wants", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "elasticsearch.service", span: Span { start: Position { line: 77, column: 18, }, end: Position { line: 77, column: 39, }, }, }, ), ], span: Span { start: Position { line: 77, column: 17, }, end: Position { line: 77, column: 40, }, }, }, ), ], span: Span { start: Position { line: 77, column: 15, }, end: Position { line: 77, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "elasticsearch.service", span: Span { start: Position { line: 78, column: 18, }, end: Position { line: 78, column: 39, }, }, }, ), ], span: Span { start: Position { line: 78, column: 17, }, end: Position { line: 78, column: 40, }, }, }, ), ], span: Span { start: Position { line: 78, column: 15, }, end: Position { line: 78, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p ", span: Span { start: Position { line: 80, column: 1, }, end: Position { line: 80, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 80, column: 20, }, end: Position { line: 80, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 80, column: 24, }, end: Position { line: 80, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/data\nmkdir -p ", span: Span { start: Position { line: 80, column: 1, }, end: Position { line: 81, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 81, column: 20, }, end: Position { line: 81, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 81, column: 24, }, end: Position { line: 81, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/logs\n", span: Span { start: Position { line: 80, column: 1, }, end: Position { line: 82, column: 7, }, }, }, ), ], span: Span { start: Position { line: 79, column: 18, }, end: Position { line: 82, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 23, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 84, column: 26, }, end: Position { line: 84, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 84, column: 30, }, end: Position { line: 84, column: 38, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 86, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 86, column: 13, }, end: Position { line: 86, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 86, column: 17, }, end: Position { line: 86, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/journalbeat \\\n -c ", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 87, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "journalbeatYml", span: Span { start: Position { line: 87, column: 18, }, end: Position { line: 87, column: 32, }, }, }, ), }, ), Raw( PartRaw { content: " \\\n -path.data /var/lib/", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 88, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 88, column: 35, }, end: Position { line: 88, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 88, column: 39, }, end: Position { line: 88, column: 47, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/data \\\n -path.logs /var/lib/", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 89, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 89, column: 35, }, end: Position { line: 89, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 89, column: 39, }, end: Position { line: 89, column: 47, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/logs", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 89, column: 53, }, }, }, ), ], span: Span { start: Position { line: 85, column: 21, }, end: Position { line: 89, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 90, column: 20, }, end: Position { line: 90, column: 26, }, }, }, ), ], span: Span { start: Position { line: 90, column: 19, }, end: Position { line: 90, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 83, column: 23, }, end: Position { line: 91, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 74, column: 36, }, end: Position { line: 92, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 63, column: 28, }, end: Position { line: 93, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 1, }, end: Position { line: 94, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 94, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 94, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 94, column: 2, }, }, }, )