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: "heartbeat", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "heartbeatYml", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 8, column: 18, }, end: Position { line: 8, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 8, column: 23, }, end: Position { line: 8, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "heartbeat.yml", span: Span { start: Position { line: 8, column: 34, }, end: Position { line: 8, column: 47, }, }, }, ), ], span: Span { start: Position { line: 8, column: 33, }, end: Position { line: 8, column: 48, }, }, }, ), 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: 49, }, 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: "heartbeat", span: Span { start: Position { line: 19, column: 14, }, end: Position { line: 19, column: 23, }, }, }, ), ], 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: "heartbeat", span: Span { start: Position { line: 21, column: 43, }, end: Position { line: 21, column: 52, }, }, }, ), ], span: Span { start: Position { line: 21, column: 42, }, end: Position { line: 21, column: 53, }, }, }, ), ], }, ), ], }, ), }, ), 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: "heartbeat", span: Span { start: Position { line: 25, column: 24, }, end: Position { line: 25, column: 33, }, }, }, ), ], 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.heartbeat", span: Span { start: Position { line: 26, column: 42, }, end: Position { line: 26, column: 56, }, }, }, ), ], span: Span { start: Position { line: 26, column: 41, }, end: Position { line: 26, column: 57, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 27, column: 19, }, end: Position { line: 27, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.heartbeat7", span: Span { start: Position { line: 27, column: 38, }, end: Position { line: 27, column: 53, }, }, }, ), ], span: Span { start: Position { line: 27, column: 37, }, end: Position { line: 27, column: 54, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 23, }, end: Position { line: 28, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The heartbeat package to use.\n", span: Span { start: Position { line: 29, column: 1, }, end: Position { line: 30, column: 9, }, }, }, ), ], span: Span { start: Position { line: 28, column: 33, }, end: Position { line: 30, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 23, column: 26, }, end: Position { line: 31, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 33, column: 14, }, end: Position { line: 33, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 34, column: 16, }, end: Position { line: 34, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 34, column: 22, }, end: Position { line: 34, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "heartbeat", span: Span { start: Position { line: 35, column: 20, }, end: Position { line: 35, column: 29, }, }, }, ), ], span: Span { start: Position { line: 35, column: 19, }, end: Position { line: 35, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 36, column: 23, }, end: Position { line: 36, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 36, column: 27, }, end: Position { line: 36, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Name of the beat", span: Span { start: Position { line: 36, column: 34, }, end: Position { line: 36, column: 50, }, }, }, ), ], span: Span { start: Position { line: 36, column: 33, }, end: Position { line: 36, column: 51, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 33, column: 23, }, end: Position { line: 37, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 39, column: 7, }, end: Position { line: 39, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 39, column: 14, }, end: Position { line: 39, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 40, column: 16, }, end: Position { line: 40, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 40, column: 22, }, end: Position { line: 40, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 40, column: 29, }, end: Position { line: 40, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 40, column: 35, }, end: Position { line: 40, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 41, column: 19, }, end: Position { line: 41, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 42, column: 23, }, end: Position { line: 42, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 42, column: 27, }, end: Position { line: 42, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Tags to place on the shipped log messages", span: Span { start: Position { line: 42, column: 34, }, end: Position { line: 42, column: 75, }, }, }, ), ], span: Span { start: Position { line: 42, column: 33, }, end: Position { line: 42, column: 76, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 39, column: 23, }, end: Position { line: 43, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 18, }, end: Position { line: 45, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 46, column: 16, }, end: Position { line: 46, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 46, column: 22, }, end: Position { line: 46, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/heartbeat", span: Span { start: Position { line: 47, column: 20, }, end: Position { line: 47, column: 38, }, }, }, ), ], span: Span { start: Position { line: 47, column: 19, }, end: Position { line: 47, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 48, column: 23, }, end: Position { line: 48, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 48, column: 27, }, end: Position { line: 48, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The state directory. heartbeat's own logs and other data are stored here.", span: Span { start: Position { line: 48, column: 34, }, end: Position { line: 48, column: 107, }, }, }, ), ], span: Span { start: Position { line: 48, column: 33, }, end: Position { line: 48, column: 108, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 27, }, end: Position { line: 49, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 51, column: 21, }, end: Position { line: 51, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 52, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "heartbeat.monitors:\n- type: http\n urls: [\"http://localhost:9200\"]\n schedule: '@every 10s'\n", span: Span { start: Position { line: 54, column: 1, }, end: Position { line: 58, column: 9, }, }, }, ), ], span: Span { start: Position { line: 53, column: 19, }, end: Position { line: 58, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 59, column: 23, }, end: Position { line: 59, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 59, column: 27, }, end: Position { line: 59, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Any other configuration options you want to add", span: Span { start: Position { line: 59, column: 34, }, end: Position { line: 59, column: 81, }, }, }, ), ], span: Span { start: Position { line: 59, column: 33, }, end: Position { line: 59, column: 82, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 51, column: 30, }, end: Position { line: 60, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 26, }, end: Position { line: 62, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 63, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 65, column: 3, }, end: Position { line: 65, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 65, column: 12, }, end: Position { line: 65, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 65, column: 17, }, end: Position { line: 65, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 65, column: 21, }, end: Position { line: 65, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 67, column: 5, }, end: Position { line: 67, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 67, column: 13, }, end: Position { line: 67, column: 21, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 67, column: 22, }, end: Position { line: 67, column: 27, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 68, column: 8, }, end: Position { line: 68, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 68, column: 13, }, end: Position { line: 68, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 68, column: 17, }, end: Position { line: 68, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - nobody nogroup - -", span: Span { start: Position { line: 68, column: 8, }, end: Position { line: 68, column: 48, }, }, }, ), ], span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 49, }, }, }, ), ], span: Span { start: Position { line: 67, column: 30, }, end: Position { line: 69, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 71, column: 5, }, end: Position { line: 71, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 71, column: 13, }, end: Position { line: 71, column: 21, }, }, }, ), Raw( PartRaw { content: "heartbeat", span: Span { start: Position { line: 71, column: 22, }, end: Position { line: 71, column: 31, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 71, column: 39, }, end: Position { line: 71, column: 43, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 72, column: 7, }, end: Position { line: 72, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "heartbeat log shipper", span: Span { start: Position { line: 72, column: 22, }, end: Position { line: 72, column: 43, }, }, }, ), ], span: Span { start: Position { line: 72, column: 21, }, end: Position { line: 72, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 73, column: 21, }, end: Position { line: 73, column: 38, }, }, }, ), ], span: Span { start: Position { line: 73, column: 20, }, end: Position { line: 73, column: 39, }, }, }, ), ], span: Span { start: Position { line: 73, column: 18, }, end: Position { line: 73, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 74, column: 7, }, end: Position { line: 74, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p \"", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 75, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 75, column: 21, }, end: Position { line: 75, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 75, column: 25, }, end: Position { line: 75, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"/{data,logs}\n", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 76, column: 7, }, }, }, ), ], span: Span { start: Position { line: 74, column: 18, }, end: Position { line: 76, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nobody", span: Span { start: Position { line: 78, column: 17, }, end: Position { line: 78, column: 23, }, }, }, ), ], span: Span { start: Position { line: 78, column: 16, }, end: Position { line: 78, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "AmbientCapabilities", span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 28, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "cap_net_raw", span: Span { start: Position { line: 79, column: 32, }, end: Position { line: 79, column: 43, }, }, }, ), ], span: Span { start: Position { line: 79, column: 31, }, end: Position { line: 79, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 80, column: 24, }, end: Position { line: 80, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 80, column: 28, }, end: Position { line: 80, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/heartbeat -c \"", span: Span { start: Position { line: 80, column: 22, }, end: Position { line: 80, column: 56, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "heartbeatYml", span: Span { start: Position { line: 80, column: 58, }, end: Position { line: 80, column: 70, }, }, }, ), }, ), Raw( PartRaw { content: "\" -path.data \"", span: Span { start: Position { line: 80, column: 22, }, end: Position { line: 80, column: 87, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 80, column: 89, }, end: Position { line: 80, column: 92, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 80, column: 93, }, end: Position { line: 80, column: 101, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/data\" -path.logs \"", span: Span { start: Position { line: 80, column: 22, }, end: Position { line: 80, column: 123, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 80, column: 125, }, end: Position { line: 80, column: 128, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 80, column: 129, }, end: Position { line: 80, column: 137, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/logs\"", span: Span { start: Position { line: 80, column: 22, }, end: Position { line: 80, column: 145, }, }, }, ), ], span: Span { start: Position { line: 80, column: 21, }, end: Position { line: 80, column: 146, }, }, }, ), }, ), ], span: Span { start: Position { line: 77, column: 23, }, end: Position { line: 81, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 71, column: 45, }, end: Position { line: 82, column: 6, }, }, }, ), span: Span { start: Position { line: 71, column: 34, }, end: Position { line: 82, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 65, column: 28, }, end: Position { line: 83, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 1, }, end: Position { line: 84, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 84, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 84, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 84, column: 2, }, }, }, )