Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 3, column: 3, }, end: Position { line: 3, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 3, column: 9, }, end: Position { line: 3, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 3, column: 16, }, end: Position { line: 3, column: 24, }, }, }, ), Raw( PartRaw { content: "spark", span: Span { start: Position { line: 3, column: 25, }, end: Position { line: 3, column: 30, }, }, }, ), ], default: None, }, ), }, ), ], target: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 6, }, end: Position { line: 5, column: 9, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 13, }, }, }, ), Raw( PartRaw { content: "spark", span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 8, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 9, column: 7, }, end: Position { line: 9, column: 13, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 10, column: 9, }, end: Position { line: 10, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 10, column: 18, }, end: Position { line: 10, column: 32, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 10, column: 34, }, end: Position { line: 10, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 10, column: 38, }, end: Position { line: 10, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Spark master service", span: Span { start: Position { line: 10, column: 45, }, end: Position { line: 10, column: 65, }, }, }, ), ], span: Span { start: Position { line: 10, column: 44, }, end: Position { line: 10, column: 66, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bind", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 12, column: 11, }, end: Position { line: 12, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 12, column: 18, }, end: Position { line: 12, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 12, column: 24, }, end: Position { line: 12, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 13, column: 11, }, end: Position { line: 13, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 13, column: 25, }, end: Position { line: 13, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 13, column: 29, }, end: Position { line: 13, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Address the spark master binds to.", span: Span { start: Position { line: 13, column: 36, }, end: Position { line: 13, column: 70, }, }, }, ), ], span: Span { start: Position { line: 13, column: 35, }, end: Position { line: 13, column: 71, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 14, column: 11, }, end: Position { line: 14, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "127.0.0.1", span: Span { start: Position { line: 14, column: 22, }, end: Position { line: 14, column: 31, }, }, }, ), ], span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 14, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 15, column: 11, }, end: Position { line: 15, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0.0.0.0", span: Span { start: Position { line: 15, column: 22, }, end: Position { line: 15, column: 29, }, }, }, ), ], span: Span { start: Position { line: 15, column: 21, }, end: Position { line: 15, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 11, column: 25, }, end: Position { line: 16, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 17, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 17, column: 29, }, end: Position { line: 17, column: 37, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 18, column: 11, }, end: Position { line: 18, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 18, column: 18, }, end: Position { line: 18, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 18, column: 24, }, end: Position { line: 18, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 19, column: 11, }, end: Position { line: 19, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 19, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 19, column: 29, }, end: Position { line: 19, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Automatically restart master service on config change.\nThis can be set to false to defer restarts on clusters running critical applications.\nPlease consider the security implications of inadvertently running an older version,\nand the possibility of unexpected behavior caused by inconsistent versions across a cluster when disabling this option.\n", span: Span { start: Position { line: 20, column: 1, }, end: Position { line: 24, column: 11, }, }, }, ), ], span: Span { start: Position { line: 19, column: 35, }, end: Position { line: 24, column: 13, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 25, column: 11, }, end: Position { line: 25, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 25, column: 21, }, end: Position { line: 25, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 17, column: 38, }, end: Position { line: 26, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraEnvironment", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 27, column: 28, }, end: Position { line: 27, column: 36, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 28, column: 11, }, end: Position { line: 28, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 28, column: 18, }, end: Position { line: 28, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 28, column: 24, }, end: Position { line: 28, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 28, column: 32, }, end: Position { line: 28, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 28, column: 38, }, end: Position { line: 28, column: 41, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 29, column: 11, }, end: Position { line: 29, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 29, column: 25, }, end: Position { line: 29, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 29, column: 29, }, end: Position { line: 29, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra environment variables to pass to spark master. See spark-standalone documentation.", span: Span { start: Position { line: 29, column: 36, }, end: Position { line: 29, column: 124, }, }, }, ), ], span: Span { start: Position { line: 29, column: 35, }, end: Position { line: 29, column: 125, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 30, column: 11, }, end: Position { line: 30, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 30, column: 21, }, end: Position { line: 30, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 31, column: 11, }, end: Position { line: 31, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_MASTER_WEBUI_PORT", span: Span { start: Position { line: 32, column: 13, }, end: Position { line: 32, column: 36, }, }, }, ), ], to: Integer( Integer { value: "8181", span: Span { start: Position { line: 32, column: 39, }, end: Position { line: 32, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_MASTER_OPTS", span: Span { start: Position { line: 33, column: 13, }, end: Position { line: 33, column: 30, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "-Dspark.deploy.defaultCores=5", span: Span { start: Position { line: 33, column: 34, }, end: Position { line: 33, column: 63, }, }, }, ), ], span: Span { start: Position { line: 33, column: 33, }, end: Position { line: 33, column: 64, }, }, }, ), }, ), ], span: Span { start: Position { line: 31, column: 21, }, end: Position { line: 34, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 27, column: 37, }, end: Position { line: 35, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 16, }, end: Position { line: 36, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "worker", span: Span { start: Position { line: 37, column: 7, }, end: Position { line: 37, column: 13, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 38, column: 18, }, end: Position { line: 38, column: 32, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 38, column: 34, }, end: Position { line: 38, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 38, column: 38, }, end: Position { line: 38, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Spark worker service", span: Span { start: Position { line: 38, column: 45, }, end: Position { line: 38, column: 65, }, }, }, ), ], span: Span { start: Position { line: 38, column: 44, }, end: Position { line: 38, column: 66, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "workDir", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 39, column: 19, }, end: Position { line: 39, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 40, column: 11, }, end: Position { line: 40, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 40, column: 18, }, end: Position { line: 40, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 40, column: 24, }, end: Position { line: 40, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 41, column: 11, }, end: Position { line: 41, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 41, column: 25, }, end: Position { line: 41, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 41, column: 29, }, end: Position { line: 41, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Spark worker work dir.", span: Span { start: Position { line: 41, column: 36, }, end: Position { line: 41, column: 58, }, }, }, ), ], span: Span { start: Position { line: 41, column: 35, }, end: Position { line: 41, column: 59, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 42, column: 11, }, end: Position { line: 42, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/spark", span: Span { start: Position { line: 42, column: 22, }, end: Position { line: 42, column: 36, }, }, }, ), ], span: Span { start: Position { line: 42, column: 21, }, end: Position { line: 42, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 39, column: 28, }, end: Position { line: 43, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 44, column: 9, }, 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: 11, }, end: Position { line: 45, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 45, column: 18, }, end: Position { line: 45, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 45, column: 24, }, end: Position { line: 45, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 46, column: 11, }, end: Position { line: 46, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 46, column: 25, }, end: Position { line: 46, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 46, column: 29, }, end: Position { line: 46, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Address of the spark master.", span: Span { start: Position { line: 46, column: 36, }, end: Position { line: 46, column: 64, }, }, }, ), ], span: Span { start: Position { line: 46, column: 35, }, end: Position { line: 46, column: 65, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 11, }, end: Position { line: 47, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "127.0.0.1:7077", span: Span { start: Position { line: 47, column: 22, }, end: Position { line: 47, column: 36, }, }, }, ), ], span: Span { start: Position { line: 47, column: 21, }, end: Position { line: 47, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 44, column: 27, }, end: Position { line: 48, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 49, column: 29, }, end: Position { line: 49, column: 37, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 50, column: 11, }, end: Position { line: 50, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 50, column: 18, }, end: Position { line: 50, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 50, column: 24, }, end: Position { line: 50, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 51, column: 11, }, end: Position { line: 51, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 51, column: 25, }, end: Position { line: 51, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 51, column: 29, }, end: Position { line: 51, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Automatically restart worker service on config change.\nThis can be set to false to defer restarts on clusters running critical applications.\nPlease consider the security implications of inadvertently running an older version,\nand the possibility of unexpected behavior caused by inconsistent versions across a cluster when disabling this option.\n", span: Span { start: Position { line: 52, column: 1, }, end: Position { line: 56, column: 11, }, }, }, ), ], span: Span { start: Position { line: 51, column: 35, }, end: Position { line: 56, column: 13, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 57, column: 11, }, end: Position { line: 57, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 57, column: 21, }, end: Position { line: 57, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 49, column: 38, }, end: Position { line: 58, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraEnvironment", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 59, column: 28, }, end: Position { line: 59, column: 36, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 60, column: 11, }, end: Position { line: 60, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 60, column: 18, }, end: Position { line: 60, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 60, column: 24, }, end: Position { line: 60, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 60, column: 32, }, end: Position { line: 60, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 60, column: 38, }, end: Position { line: 60, column: 41, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 61, column: 11, }, end: Position { line: 61, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 61, column: 25, }, end: Position { line: 61, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 61, column: 29, }, end: Position { line: 61, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra environment variables to pass to spark worker.", span: Span { start: Position { line: 61, column: 36, }, end: Position { line: 61, column: 88, }, }, }, ), ], span: Span { start: Position { line: 61, column: 35, }, end: Position { line: 61, column: 89, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 62, column: 11, }, end: Position { line: 62, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 62, column: 21, }, end: Position { line: 62, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 63, column: 11, }, end: Position { line: 63, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_WORKER_CORES", span: Span { start: Position { line: 64, column: 13, }, end: Position { line: 64, column: 31, }, }, }, ), ], to: Integer( Integer { value: "5", span: Span { start: Position { line: 64, column: 34, }, end: Position { line: 64, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_WORKER_MEMORY", span: Span { start: Position { line: 65, column: 13, }, end: Position { line: 65, column: 32, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "2g", span: Span { start: Position { line: 65, column: 36, }, end: Position { line: 65, column: 38, }, }, }, ), ], span: Span { start: Position { line: 65, column: 35, }, end: Position { line: 65, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 63, column: 21, }, end: Position { line: 66, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 59, column: 37, }, end: Position { line: 67, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 37, column: 16, }, end: Position { line: 68, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "confDir", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 69, column: 17, }, end: Position { line: 69, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 70, column: 16, }, end: Position { line: 70, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 70, column: 22, }, end: Position { line: 70, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 71, column: 23, }, end: Position { line: 71, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 71, column: 27, }, end: Position { line: 71, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Spark configuration directory. Spark will use the configuration files (spark-defaults.conf, spark-env.sh, log4j.properties, etc) from this directory.", span: Span { start: Position { line: 71, column: 34, }, end: Position { line: 71, column: 183, }, }, }, ), ], span: Span { start: Position { line: 71, column: 33, }, end: Position { line: 71, column: 184, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 72, column: 22, }, end: Position { line: 72, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 72, column: 26, }, end: Position { line: 72, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/", span: Span { start: Position { line: 72, column: 20, }, end: Position { line: 72, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 72, column: 41, }, end: Position { line: 72, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 72, column: 45, }, end: Position { line: 72, column: 52, }, }, }, ), Raw( PartRaw { content: "untarDir", span: Span { start: Position { line: 72, column: 53, }, end: Position { line: 72, column: 61, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/conf", span: Span { start: Position { line: 72, column: 20, }, end: Position { line: 72, column: 67, }, }, }, ), ], span: Span { start: Position { line: 72, column: 19, }, end: Position { line: 72, column: 68, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 73, column: 9, }, end: Position { line: 73, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 73, column: 23, }, end: Position { line: 73, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 73, column: 43, }, end: Position { line: 73, column: 44, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 73, column: 43, }, end: Position { line: 73, column: 47, }, }, }, ), Raw( PartRaw { content: "{package}/lib/", span: Span { start: Position { line: 73, column: 43, }, end: Position { line: 73, column: 61, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 73, column: 43, }, end: Position { line: 73, column: 64, }, }, }, ), Raw( PartRaw { content: "{package.untarDir}/conf\"", span: Span { start: Position { line: 73, column: 43, }, end: Position { line: 73, column: 88, }, }, }, ), ], span: Span { start: Position { line: 73, column: 41, }, end: Position { line: 73, column: 90, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 69, column: 26, }, end: Position { line: 74, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logDir", span: Span { start: Position { line: 75, column: 7, }, end: Position { line: 75, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 75, column: 16, }, end: Position { line: 75, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 76, column: 9, }, end: Position { line: 76, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 76, column: 16, }, end: Position { line: 76, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 76, column: 22, }, end: Position { line: 76, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 77, column: 9, }, end: Position { line: 77, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 77, column: 23, }, end: Position { line: 77, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 77, column: 27, }, end: Position { line: 77, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Spark log directory.", span: Span { start: Position { line: 77, column: 34, }, end: Position { line: 77, column: 54, }, }, }, ), ], span: Span { start: Position { line: 77, column: 33, }, end: Position { line: 77, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/log/spark", span: Span { start: Position { line: 78, column: 20, }, end: Position { line: 78, column: 34, }, }, }, ), ], span: Span { start: Position { line: 78, column: 19, }, end: Position { line: 78, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 75, column: 25, }, end: Position { line: 79, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 80, column: 17, }, end: Position { line: 80, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 81, column: 16, }, end: Position { line: 81, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 81, column: 22, }, end: Position { line: 81, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 82, column: 23, }, end: Position { line: 82, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 82, column: 27, }, end: Position { line: 82, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Spark package.", span: Span { start: Position { line: 82, column: 34, }, end: Position { line: 82, column: 48, }, }, }, ), ], span: Span { start: Position { line: 82, column: 33, }, end: Position { line: 82, column: 49, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 83, column: 19, }, end: Position { line: 83, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "spark", span: Span { start: Position { line: 83, column: 24, }, end: Position { line: 83, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 84, column: 23, }, end: Position { line: 84, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.spark", span: Span { start: Position { line: 84, column: 42, }, end: Position { line: 84, column: 52, }, }, }, ), ], span: Span { start: Position { line: 84, column: 41, }, end: Position { line: 84, column: 53, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 85, column: 19, }, end: Position { line: 85, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "pkgs.spark.overrideAttrs (super: rec {\n pname = \"spark\";\n version = \"2.4.4\";\n\n src = pkgs.fetchzip {\n url = \"mirror://apache/spark/\"", span: Span { start: Position { line: 85, column: 39, }, end: Position { line: 90, column: 46, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 85, column: 39, }, end: Position { line: 90, column: 49, }, }, }, ), Raw( PartRaw { content: "{pname}-", span: Span { start: Position { line: 85, column: 39, }, end: Position { line: 90, column: 57, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 85, column: 39, }, end: Position { line: 90, column: 60, }, }, }, ), Raw( PartRaw { content: "{version}/", span: Span { start: Position { line: 85, column: 39, }, end: Position { line: 90, column: 70, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 85, column: 39, }, end: Position { line: 90, column: 73, }, }, }, ), Raw( PartRaw { content: "{pname}-", span: Span { start: Position { line: 85, column: 39, }, end: Position { line: 90, column: 81, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 85, column: 39, }, end: Position { line: 90, column: 84, }, }, }, ), Raw( PartRaw { content: "{version}-bin-without-hadoop.tgz\";\n sha256 = \"1a9w5k0207fysgpxx6db3a00fs5hdc2ncx99x4ccy2s0v5ndc66g\";\n };\n })", span: Span { start: Position { line: 85, column: 39, }, end: Position { line: 93, column: 11, }, }, }, ), ], span: Span { start: Position { line: 85, column: 37, }, end: Position { line: 93, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 80, column: 26, }, end: Position { line: 94, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 22, }, end: Position { line: 95, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 96, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 97, column: 3, }, end: Position { line: 97, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 97, column: 12, }, end: Position { line: 97, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 97, column: 16, }, end: Position { line: 97, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 97, column: 22, }, end: Position { line: 97, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "worker", span: Span { start: Position { line: 97, column: 26, }, end: Position { line: 97, column: 32, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 97, column: 33, }, end: Position { line: 97, column: 39, }, }, }, ), ], default: None, }, ), operator: LogicalOr, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 97, column: 43, }, end: Position { line: 97, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 97, column: 47, }, end: Position { line: 97, column: 53, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 97, column: 54, }, end: Position { line: 97, column: 60, }, }, }, ), ], default: None, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 98, column: 5, }, end: Position { line: 98, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 98, column: 17, }, end: Position { line: 98, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 98, column: 36, }, end: Position { line: 98, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 98, column: 40, }, end: Position { line: 98, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 98, column: 34, }, end: Position { line: 98, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 99, column: 5, }, end: Position { line: 99, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 100, column: 7, }, end: Position { line: 100, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "spark-master", span: Span { start: Position { line: 101, column: 9, }, end: Position { line: 101, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 101, column: 24, }, end: Position { line: 101, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 101, column: 28, }, end: Position { line: 101, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 101, column: 33, }, end: Position { line: 101, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 101, column: 37, }, end: Position { line: 101, column: 43, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 101, column: 44, }, end: Position { line: 101, column: 50, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 102, column: 11, }, end: Position { line: 102, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 102, column: 23, }, end: Position { line: 102, column: 27, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "procps", span: Span { start: Position { line: 102, column: 31, }, end: Position { line: 102, column: 37, }, }, }, ), Identifier( Identifier { id: "openssh", span: Span { start: Position { line: 102, column: 38, }, end: Position { line: 102, column: 45, }, }, }, ), Identifier( Identifier { id: "nettools", span: Span { start: Position { line: 102, column: 46, }, end: Position { line: 102, column: 54, }, }, }, ), ], span: Span { start: Position { line: 102, column: 29, }, end: Position { line: 102, column: 56, }, }, }, ), span: Span { start: Position { line: 102, column: 18, }, end: Position { line: 102, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 103, column: 11, }, end: Position { line: 103, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "spark master service.", span: Span { start: Position { line: 103, column: 26, }, end: Position { line: 103, column: 47, }, }, }, ), ], span: Span { start: Position { line: 103, column: 25, }, end: Position { line: 103, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 104, column: 11, }, end: Position { line: 104, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 104, column: 22, }, end: Position { line: 104, column: 36, }, }, }, ), ], span: Span { start: Position { line: 104, column: 21, }, end: Position { line: 104, column: 37, }, }, }, ), ], span: Span { start: Position { line: 104, column: 19, }, end: Position { line: 104, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 105, column: 11, }, end: Position { line: 105, column: 19, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 105, column: 25, }, end: Position { line: 105, column: 42, }, }, }, ), ], span: Span { start: Position { line: 105, column: 24, }, end: Position { line: 105, column: 43, }, }, }, ), ], span: Span { start: Position { line: 105, column: 22, }, end: Position { line: 105, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 106, column: 11, }, end: Position { line: 106, column: 27, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 106, column: 30, }, end: Position { line: 106, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 106, column: 34, }, end: Position { line: 106, column: 40, }, }, }, ), Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 106, column: 41, }, end: Position { line: 106, column: 57, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 107, column: 11, }, end: Position { line: 107, column: 22, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 107, column: 25, }, end: Position { line: 107, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 107, column: 29, }, end: Position { line: 107, column: 35, }, }, }, ), Raw( PartRaw { content: "extraEnvironment", span: Span { start: Position { line: 107, column: 36, }, end: Position { line: 107, column: 52, }, }, }, ), ], default: None, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_MASTER_HOST", span: Span { start: Position { line: 108, column: 13, }, end: Position { line: 108, column: 30, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 108, column: 33, }, end: Position { line: 108, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "master", span: Span { start: Position { line: 108, column: 37, }, end: Position { line: 108, column: 43, }, }, }, ), Raw( PartRaw { content: "bind", span: Span { start: Position { line: 108, column: 44, }, end: Position { line: 108, column: 48, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_CONF_DIR", span: Span { start: Position { line: 109, column: 13, }, end: Position { line: 109, column: 27, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 109, column: 30, }, end: Position { line: 109, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "confDir", span: Span { start: Position { line: 109, column: 34, }, end: Position { line: 109, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_LOG_DIR", span: Span { start: Position { line: 110, column: 13, }, end: Position { line: 110, column: 26, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 110, column: 29, }, end: Position { line: 110, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logDir", span: Span { start: Position { line: 110, column: 33, }, end: Position { line: 110, column: 39, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 107, column: 56, }, end: Position { line: 111, column: 12, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 112, column: 11, }, end: Position { line: 112, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 113, column: 13, }, end: Position { line: 113, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "forking", span: Span { start: Position { line: 113, column: 21, }, end: Position { line: 113, column: 28, }, }, }, ), ], span: Span { start: Position { line: 113, column: 20, }, end: Position { line: 113, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 114, column: 13, }, end: Position { line: 114, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "spark", span: Span { start: Position { line: 114, column: 21, }, end: Position { line: 114, column: 26, }, }, }, ), ], span: Span { start: Position { line: 114, column: 20, }, end: Position { line: 114, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 115, column: 13, }, end: Position { line: 115, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "spark", span: Span { start: Position { line: 115, column: 22, }, end: Position { line: 115, column: 27, }, }, }, ), ], span: Span { start: Position { line: 115, column: 21, }, end: Position { line: 115, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 116, column: 13, }, end: Position { line: 116, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 116, column: 35, }, end: Position { line: 116, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 116, column: 39, }, end: Position { line: 116, column: 46, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/", span: Span { start: Position { line: 116, column: 33, }, end: Position { line: 116, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 116, column: 54, }, end: Position { line: 116, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 116, column: 58, }, end: Position { line: 116, column: 65, }, }, }, ), Raw( PartRaw { content: "untarDir", span: Span { start: Position { line: 116, column: 66, }, end: Position { line: 116, column: 74, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 116, column: 32, }, end: Position { line: 116, column: 76, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 117, column: 13, }, end: Position { line: 117, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 117, column: 28, }, end: Position { line: 117, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 117, column: 32, }, end: Position { line: 117, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/", span: Span { start: Position { line: 117, column: 26, }, end: Position { line: 117, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 117, column: 47, }, end: Position { line: 117, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 117, column: 51, }, end: Position { line: 117, column: 58, }, }, }, ), Raw( PartRaw { content: "untarDir", span: Span { start: Position { line: 117, column: 59, }, end: Position { line: 117, column: 67, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/sbin/start-master.sh", span: Span { start: Position { line: 117, column: 26, }, end: Position { line: 117, column: 89, }, }, }, ), ], span: Span { start: Position { line: 117, column: 25, }, end: Position { line: 117, column: 90, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStop", span: Span { start: Position { line: 118, column: 13, }, end: Position { line: 118, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 118, column: 28, }, end: Position { line: 118, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 118, column: 32, }, end: Position { line: 118, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/", span: Span { start: Position { line: 118, column: 26, }, end: Position { line: 118, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 118, column: 47, }, end: Position { line: 118, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 118, column: 51, }, end: Position { line: 118, column: 58, }, }, }, ), Raw( PartRaw { content: "untarDir", span: Span { start: Position { line: 118, column: 59, }, end: Position { line: 118, column: 67, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/sbin/stop-master.sh", span: Span { start: Position { line: 118, column: 26, }, end: Position { line: 118, column: 88, }, }, }, ), ], span: Span { start: Position { line: 118, column: 25, }, end: Position { line: 118, column: 89, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "TimeoutSec", span: Span { start: Position { line: 119, column: 13, }, end: Position { line: 119, column: 23, }, }, }, ), ], to: Integer( Integer { value: "300", span: Span { start: Position { line: 119, column: 26, }, end: Position { line: 119, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StartLimitBurst", span: Span { start: Position { line: 120, column: 13, }, end: Position { line: 120, column: 28, }, }, }, ), ], to: Integer( Integer { value: "10", span: Span { start: Position { line: 120, column: 29, }, end: Position { line: 120, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 121, column: 13, }, end: Position { line: 121, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 121, column: 24, }, end: Position { line: 121, column: 30, }, }, }, ), ], span: Span { start: Position { line: 121, column: 23, }, end: Position { line: 121, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 112, column: 27, }, end: Position { line: 122, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 101, column: 51, }, end: Position { line: 123, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "spark-worker", span: Span { start: Position { line: 124, column: 9, }, end: Position { line: 124, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 124, column: 24, }, end: Position { line: 124, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 124, column: 28, }, end: Position { line: 124, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 124, column: 33, }, end: Position { line: 124, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "worker", span: Span { start: Position { line: 124, column: 37, }, end: Position { line: 124, column: 43, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 124, column: 44, }, end: Position { line: 124, column: 50, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 125, column: 11, }, end: Position { line: 125, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 125, column: 23, }, end: Position { line: 125, column: 27, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "procps", span: Span { start: Position { line: 125, column: 31, }, end: Position { line: 125, column: 37, }, }, }, ), Identifier( Identifier { id: "openssh", span: Span { start: Position { line: 125, column: 38, }, end: Position { line: 125, column: 45, }, }, }, ), Identifier( Identifier { id: "nettools", span: Span { start: Position { line: 125, column: 46, }, end: Position { line: 125, column: 54, }, }, }, ), Identifier( Identifier { id: "rsync", span: Span { start: Position { line: 125, column: 55, }, end: Position { line: 125, column: 60, }, }, }, ), ], span: Span { start: Position { line: 125, column: 29, }, end: Position { line: 125, column: 62, }, }, }, ), span: Span { start: Position { line: 125, column: 18, }, end: Position { line: 125, column: 62, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 126, column: 11, }, end: Position { line: 126, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "spark master service.", span: Span { start: Position { line: 126, column: 26, }, end: Position { line: 126, column: 47, }, }, }, ), ], span: Span { start: Position { line: 126, column: 25, }, end: Position { line: 126, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 127, column: 11, }, end: Position { line: 127, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 127, column: 22, }, end: Position { line: 127, column: 36, }, }, }, ), ], span: Span { start: Position { line: 127, column: 21, }, end: Position { line: 127, column: 37, }, }, }, ), ], span: Span { start: Position { line: 127, column: 19, }, end: Position { line: 127, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 128, column: 11, }, end: Position { line: 128, column: 19, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 128, column: 25, }, end: Position { line: 128, column: 42, }, }, }, ), ], span: Span { start: Position { line: 128, column: 24, }, end: Position { line: 128, column: 43, }, }, }, ), ], span: Span { start: Position { line: 128, column: 22, }, end: Position { line: 128, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 129, column: 11, }, end: Position { line: 129, column: 27, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 129, column: 30, }, end: Position { line: 129, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "worker", span: Span { start: Position { line: 129, column: 34, }, end: Position { line: 129, column: 40, }, }, }, ), Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 129, column: 41, }, end: Position { line: 129, column: 57, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 130, column: 11, }, end: Position { line: 130, column: 22, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 130, column: 25, }, end: Position { line: 130, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "worker", span: Span { start: Position { line: 130, column: 29, }, end: Position { line: 130, column: 35, }, }, }, ), Raw( PartRaw { content: "extraEnvironment", span: Span { start: Position { line: 130, column: 36, }, end: Position { line: 130, column: 52, }, }, }, ), ], default: None, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_MASTER", span: Span { start: Position { line: 131, column: 13, }, end: Position { line: 131, column: 25, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 131, column: 28, }, end: Position { line: 131, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "worker", span: Span { start: Position { line: 131, column: 32, }, end: Position { line: 131, column: 38, }, }, }, ), Raw( PartRaw { content: "master", span: Span { start: Position { line: 131, column: 39, }, end: Position { line: 131, column: 45, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_CONF_DIR", span: Span { start: Position { line: 132, column: 13, }, end: Position { line: 132, column: 27, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 132, column: 30, }, end: Position { line: 132, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "confDir", span: Span { start: Position { line: 132, column: 34, }, end: Position { line: 132, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_LOG_DIR", span: Span { start: Position { line: 133, column: 13, }, end: Position { line: 133, column: 26, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 133, column: 29, }, end: Position { line: 133, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logDir", span: Span { start: Position { line: 133, column: 33, }, end: Position { line: 133, column: 39, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SPARK_WORKER_DIR", span: Span { start: Position { line: 134, column: 13, }, end: Position { line: 134, column: 29, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 134, column: 32, }, end: Position { line: 134, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "worker", span: Span { start: Position { line: 134, column: 36, }, end: Position { line: 134, column: 42, }, }, }, ), Raw( PartRaw { content: "workDir", span: Span { start: Position { line: 134, column: 43, }, end: Position { line: 134, column: 50, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 130, column: 56, }, end: Position { line: 135, column: 12, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 136, column: 11, }, end: Position { line: 136, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 137, column: 13, }, end: Position { line: 137, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "forking", span: Span { start: Position { line: 137, column: 21, }, end: Position { line: 137, column: 28, }, }, }, ), ], span: Span { start: Position { line: 137, column: 20, }, end: Position { line: 137, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 138, column: 13, }, end: Position { line: 138, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "spark", span: Span { start: Position { line: 138, column: 21, }, end: Position { line: 138, column: 26, }, }, }, ), ], span: Span { start: Position { line: 138, column: 20, }, end: Position { line: 138, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 139, column: 13, }, end: Position { line: 139, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 139, column: 35, }, end: Position { line: 139, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 139, column: 39, }, end: Position { line: 139, column: 46, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/", span: Span { start: Position { line: 139, column: 33, }, end: Position { line: 139, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 139, column: 54, }, end: Position { line: 139, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 139, column: 58, }, end: Position { line: 139, column: 65, }, }, }, ), Raw( PartRaw { content: "untarDir", span: Span { start: Position { line: 139, column: 66, }, end: Position { line: 139, column: 74, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 139, column: 32, }, end: Position { line: 139, column: 76, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 140, column: 13, }, end: Position { line: 140, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 140, column: 28, }, end: Position { line: 140, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 140, column: 32, }, end: Position { line: 140, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/", span: Span { start: Position { line: 140, column: 26, }, end: Position { line: 140, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 140, column: 47, }, end: Position { line: 140, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 140, column: 51, }, end: Position { line: 140, column: 58, }, }, }, ), Raw( PartRaw { content: "untarDir", span: Span { start: Position { line: 140, column: 59, }, end: Position { line: 140, column: 67, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/sbin/start-worker.sh spark://", span: Span { start: Position { line: 140, column: 26, }, end: Position { line: 140, column: 98, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 140, column: 100, }, end: Position { line: 140, column: 103, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "worker", span: Span { start: Position { line: 140, column: 104, }, end: Position { line: 140, column: 110, }, }, }, ), Raw( PartRaw { content: "master", span: Span { start: Position { line: 140, column: 111, }, end: Position { line: 140, column: 117, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 140, column: 25, }, end: Position { line: 140, column: 119, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStop", span: Span { start: Position { line: 141, column: 13, }, end: Position { line: 141, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 141, column: 28, }, end: Position { line: 141, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 141, column: 32, }, end: Position { line: 141, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/", span: Span { start: Position { line: 141, column: 26, }, end: Position { line: 141, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 141, column: 47, }, end: Position { line: 141, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 141, column: 51, }, end: Position { line: 141, column: 58, }, }, }, ), Raw( PartRaw { content: "untarDir", span: Span { start: Position { line: 141, column: 59, }, end: Position { line: 141, column: 67, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/sbin/stop-worker.sh", span: Span { start: Position { line: 141, column: 26, }, end: Position { line: 141, column: 88, }, }, }, ), ], span: Span { start: Position { line: 141, column: 25, }, end: Position { line: 141, column: 89, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "TimeoutSec", span: Span { start: Position { line: 142, column: 13, }, end: Position { line: 142, column: 23, }, }, }, ), ], to: Integer( Integer { value: "300", span: Span { start: Position { line: 142, column: 26, }, end: Position { line: 142, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StartLimitBurst", span: Span { start: Position { line: 143, column: 13, }, end: Position { line: 143, column: 28, }, }, }, ), ], to: Integer( Integer { value: "10", span: Span { start: Position { line: 143, column: 29, }, end: Position { line: 143, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 144, column: 13, }, end: Position { line: 144, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 144, column: 24, }, end: Position { line: 144, column: 30, }, }, }, ), ], span: Span { start: Position { line: 144, column: 23, }, end: Position { line: 144, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 136, column: 27, }, end: Position { line: 145, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 124, column: 51, }, end: Position { line: 146, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 100, column: 18, }, end: Position { line: 147, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 15, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 148, column: 16, }, end: Position { line: 148, column: 21, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 149, column: 10, }, end: Position { line: 149, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 149, column: 15, }, end: Position { line: 149, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "worker", span: Span { start: Position { line: 149, column: 19, }, end: Position { line: 149, column: 25, }, }, }, ), Raw( PartRaw { content: "workDir", span: Span { start: Position { line: 149, column: 26, }, end: Position { line: 149, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - spark spark - -", span: Span { start: Position { line: 149, column: 10, }, end: Position { line: 149, column: 53, }, }, }, ), ], span: Span { start: Position { line: 149, column: 9, }, end: Position { line: 149, column: 54, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 150, column: 10, }, end: Position { line: 150, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 150, column: 15, }, end: Position { line: 150, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logDir", span: Span { start: Position { line: 150, column: 19, }, end: Position { line: 150, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - spark spark - -", span: Span { start: Position { line: 150, column: 10, }, end: Position { line: 150, column: 45, }, }, }, ), ], span: Span { start: Position { line: 150, column: 9, }, end: Position { line: 150, column: 46, }, }, }, ), ], span: Span { start: Position { line: 148, column: 24, }, end: Position { line: 151, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 99, column: 15, }, end: Position { line: 152, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 153, column: 5, }, end: Position { line: 153, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 154, column: 7, }, end: Position { line: 154, column: 12, }, }, }, ), Raw( PartRaw { content: "spark", span: Span { start: Position { line: 154, column: 13, }, end: Position { line: 154, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 155, column: 9, }, end: Position { line: 155, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "spark user.", span: Span { start: Position { line: 155, column: 24, }, end: Position { line: 155, column: 35, }, }, }, ), ], span: Span { start: Position { line: 155, column: 23, }, end: Position { line: 155, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 156, column: 9, }, end: Position { line: 156, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "spark", span: Span { start: Position { line: 156, column: 18, }, end: Position { line: 156, column: 23, }, }, }, ), ], span: Span { start: Position { line: 156, column: 17, }, end: Position { line: 156, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 157, column: 9, }, end: Position { line: 157, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 157, column: 24, }, end: Position { line: 157, column: 28, }, }, }, ), }, ), ], span: Span { start: Position { line: 154, column: 21, }, end: Position { line: 158, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "groups", span: Span { start: Position { line: 159, column: 7, }, end: Position { line: 159, column: 13, }, }, }, ), Raw( PartRaw { content: "spark", span: Span { start: Position { line: 159, column: 14, }, end: Position { line: 159, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 159, column: 22, }, end: Position { line: 159, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 153, column: 13, }, end: Position { line: 160, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 97, column: 62, }, end: Position { line: 161, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 162, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 162, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 162, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 162, column: 2, }, }, }, )