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: 2, column: 6, }, end: Position { line: 2, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 24, }, }, }, ), Raw( PartRaw { content: "hadoop", span: Span { start: Position { line: 4, column: 25, }, end: Position { line: 4, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hadoopConf", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 5, column: 19, }, end: Position { line: 5, column: 25, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./conf.nix", span: Span { start: Position { line: 5, column: 26, }, end: Position { line: 5, column: 36, }, }, }, ), ], span: Span { start: Position { line: 5, column: 26, }, end: Position { line: 5, column: 36, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 5, column: 47, }, end: Position { line: 5, column: 50, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 5, column: 51, }, end: Position { line: 5, column: 55, }, }, }, ), Raw( PartRaw { content: "lib", span: Span { start: Position { line: 5, column: 56, }, end: Position { line: 5, column: 59, }, }, }, ), ], span: Span { start: Position { line: 5, column: 38, }, end: Position { line: 5, column: 60, }, }, }, ), ], span: Span { start: Position { line: 5, column: 37, }, end: Position { line: 5, column: 62, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 5, column: 17, }, end: Position { line: 5, column: 64, }, }, }, ), ], span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 6, column: 23, }, end: Position { line: 6, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 9, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 7, column: 12, }, end: Position { line: 7, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 7, column: 18, }, end: Position { line: 7, column: 22, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 8, column: 19, }, end: Position { line: 8, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 8, column: 23, }, end: Position { line: 8, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Automatically restart the 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: 9, column: 1, }, end: Position { line: 13, column: 5, }, }, }, ), ], span: Span { start: Position { line: 8, column: 29, }, end: Position { line: 13, column: 7, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 14, column: 15, }, end: Position { line: 14, column: 20, }, }, }, ), }, ), ], span: Span { start: Position { line: 6, column: 32, }, end: Position { line: 15, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 16, column: 3, }, end: Position { line: 16, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 16, column: 16, }, end: Position { line: 16, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 9, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 17, column: 17, }, end: Position { line: 17, column: 22, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 17, column: 24, }, end: Position { line: 17, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 17, column: 31, }, end: Position { line: 17, column: 34, }, }, }, ), ], }, ), span: Span { start: Position { line: 17, column: 12, }, end: Position { line: 17, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 12, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 18, column: 15, }, end: Position { line: 18, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 19, column: 19, }, end: Position { line: 19, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 19, column: 23, }, end: Position { line: 19, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra command line flags to pass to the service", span: Span { start: Position { line: 19, column: 30, }, end: Position { line: 19, column: 77, }, }, }, ), ], span: Span { start: Position { line: 19, column: 29, }, end: Position { line: 19, column: 78, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "-Dcom.sun.management.jmxremote", span: Span { start: Position { line: 21, column: 8, }, end: Position { line: 21, column: 38, }, }, }, ), ], span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 39, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-Dcom.sun.management.jmxremote.port=8010", span: Span { start: Position { line: 22, column: 8, }, end: Position { line: 22, column: 48, }, }, }, ), ], span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 49, }, }, }, ), ], span: Span { start: Position { line: 20, column: 15, }, end: Position { line: 23, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 16, column: 24, }, end: Position { line: 24, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraEnv", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 14, }, end: Position { line: 25, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 5, }, end: Position { line: 26, column: 9, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 17, }, end: Position { line: 26, column: 22, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 26, column: 24, }, end: Position { line: 26, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 26, column: 32, }, end: Position { line: 26, column: 35, }, }, }, ), ], }, ), span: Span { start: Position { line: 26, column: 12, }, end: Position { line: 26, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 27, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 27, column: 15, }, end: Position { line: 27, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 19, }, end: Position { line: 28, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 28, column: 23, }, end: Position { line: 28, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra environment variables", span: Span { start: Position { line: 28, column: 30, }, end: Position { line: 28, column: 57, }, }, }, ), ], span: Span { start: Position { line: 28, column: 29, }, end: Position { line: 28, column: 58, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 22, }, end: Position { line: 29, column: 4, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 32, column: 3, }, end: Position { line: 32, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 32, column: 11, }, end: Position { line: 32, column: 19, }, }, }, ), Raw( PartRaw { content: "hadoop", span: Span { start: Position { line: 32, column: 20, }, end: Position { line: 32, column: 26, }, }, }, ), Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 32, column: 27, }, end: Position { line: 32, column: 31, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "resourcemanager", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 34, column: 16, }, end: Position { line: 34, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 32, }, end: Position { line: 34, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 34, column: 36, }, end: Position { line: 34, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Hadoop YARN ResourceManager", span: Span { start: Position { line: 34, column: 43, }, end: Position { line: 34, column: 70, }, }, }, ), ], span: Span { start: Position { line: 34, column: 42, }, end: Position { line: 34, column: 71, }, }, }, ), ], }, ), ], }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 35, column: 15, }, end: Position { line: 35, column: 31, }, }, }, ), Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 35, column: 32, }, end: Position { line: 35, column: 42, }, }, }, ), Raw( PartRaw { content: "extraEnv", span: Span { start: Position { line: 35, column: 43, }, end: Position { line: 35, column: 51, }, }, }, ), ], span: Span { start: Position { line: 33, column: 24, }, end: Position { line: 35, column: 52, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 37, column: 7, }, end: Position { line: 37, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 37, column: 22, }, end: Position { line: 37, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 38, column: 16, }, end: Position { line: 38, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 38, column: 22, }, end: Position { line: 38, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 39, column: 19, }, end: Position { line: 39, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 40, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 40, column: 27, }, end: Position { line: 40, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Open firewall ports for resourcemanager\n", span: Span { start: Position { line: 41, column: 1, }, end: Position { line: 42, column: 9, }, }, }, ), ], span: Span { start: Position { line: 40, column: 33, }, end: Position { line: 42, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 37, column: 31, }, end: Position { line: 43, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 33, column: 23, }, end: Position { line: 44, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodemanager", span: Span { start: Position { line: 45, column: 5, }, end: Position { line: 45, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 46, column: 16, }, end: Position { line: 46, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 46, column: 32, }, end: Position { line: 46, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 46, column: 36, }, end: Position { line: 46, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Hadoop YARN NodeManager", span: Span { start: Position { line: 46, column: 43, }, end: Position { line: 46, column: 66, }, }, }, ), ], span: Span { start: Position { line: 46, column: 42, }, end: Position { line: 46, column: 67, }, }, }, ), ], }, ), ], }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 47, column: 15, }, end: Position { line: 47, column: 31, }, }, }, ), Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 47, column: 32, }, end: Position { line: 47, column: 42, }, }, }, ), Raw( PartRaw { content: "extraEnv", span: Span { start: Position { line: 47, column: 43, }, end: Position { line: 47, column: 51, }, }, }, ), ], span: Span { start: Position { line: 45, column: 20, }, end: Position { line: 47, column: 52, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "resource", span: Span { start: Position { line: 49, column: 7, }, end: Position { line: 49, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cpuVCores", span: Span { start: Position { line: 50, column: 9, }, end: Position { line: 50, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 50, column: 21, }, end: Position { line: 50, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ 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: [ String( String_ { parts: [ Raw( PartRaw { content: "Number of vcores that can be allocated for containers.", span: Span { start: Position { line: 51, column: 36, }, end: Position { line: 51, column: 90, }, }, }, ), ], span: Span { start: Position { line: 51, column: 35, }, end: Position { line: 51, column: 91, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 52, column: 11, }, end: Position { line: 52, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 23, }, end: Position { line: 52, column: 28, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 52, column: 30, }, end: Position { line: 52, column: 36, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ints", span: Span { start: Position { line: 52, column: 37, }, end: Position { line: 52, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "positive", span: Span { start: Position { line: 52, column: 42, }, end: Position { line: 52, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 52, column: 18, }, end: Position { line: 52, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 53, column: 11, }, end: Position { line: 53, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 53, column: 21, }, end: Position { line: 53, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 50, column: 30, }, end: Position { line: 54, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maximumAllocationVCores", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 55, column: 35, }, end: Position { line: 55, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 56, column: 11, }, end: Position { line: 56, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 56, column: 25, }, end: Position { line: 56, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 56, column: 29, }, end: Position { line: 56, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The maximum virtual CPU cores any container can be allocated.", span: Span { start: Position { line: 56, column: 36, }, end: Position { line: 56, column: 97, }, }, }, ), ], span: Span { start: Position { line: 56, column: 35, }, end: Position { line: 56, column: 98, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 57, column: 11, }, end: Position { line: 57, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 57, column: 23, }, end: Position { line: 57, column: 28, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 57, column: 30, }, end: Position { line: 57, column: 36, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ints", span: Span { start: Position { line: 57, column: 37, }, end: Position { line: 57, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "positive", span: Span { start: Position { line: 57, column: 42, }, end: Position { line: 57, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 57, column: 18, }, end: Position { line: 57, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 58, column: 11, }, end: Position { line: 58, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 58, column: 21, }, end: Position { line: 58, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 55, column: 44, }, end: Position { line: 59, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "memoryMB", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 20, }, end: Position { line: 60, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ 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: "Amount of physical memory, in MB, that can be allocated for containers.", span: Span { start: Position { line: 61, column: 36, }, end: Position { line: 61, column: 107, }, }, }, ), ], span: Span { start: Position { line: 61, column: 35, }, end: Position { line: 61, column: 108, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 62, column: 11, }, end: Position { line: 62, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 62, column: 23, }, end: Position { line: 62, column: 28, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 62, column: 30, }, end: Position { line: 62, column: 36, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ints", span: Span { start: Position { line: 62, column: 37, }, end: Position { line: 62, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "positive", span: Span { start: Position { line: 62, column: 42, }, end: Position { line: 62, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 62, column: 18, }, end: Position { line: 62, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 63, column: 11, }, end: Position { line: 63, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 63, column: 21, }, end: Position { line: 63, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 60, column: 29, }, end: Position { line: 64, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maximumAllocationMB", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 65, column: 31, }, end: Position { line: 65, column: 39, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 66, column: 11, }, end: Position { line: 66, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 66, column: 25, }, end: Position { line: 66, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 66, column: 29, }, end: Position { line: 66, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The maximum physical memory any container can be allocated.", span: Span { start: Position { line: 66, column: 36, }, end: Position { line: 66, column: 95, }, }, }, ), ], span: Span { start: Position { line: 66, column: 35, }, end: Position { line: 66, column: 96, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 67, column: 11, }, end: Position { line: 67, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 67, column: 23, }, end: Position { line: 67, column: 28, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 67, column: 30, }, end: Position { line: 67, column: 36, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ints", span: Span { start: Position { line: 67, column: 37, }, end: Position { line: 67, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "positive", span: Span { start: Position { line: 67, column: 42, }, end: Position { line: 67, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 67, column: 18, }, end: Position { line: 67, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 68, column: 11, }, end: Position { line: 68, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 68, column: 21, }, end: Position { line: 68, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 65, column: 40, }, end: Position { line: 69, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 49, column: 18, }, end: Position { line: 70, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useCGroups", span: Span { start: Position { line: 72, column: 7, }, end: Position { line: 72, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 72, column: 20, }, end: Position { line: 72, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 73, column: 9, }, end: Position { line: 73, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 73, column: 16, }, end: Position { line: 73, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 73, column: 22, }, end: Position { line: 73, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 74, column: 19, }, end: Position { line: 74, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 75, column: 23, }, end: Position { line: 75, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 75, column: 27, }, end: Position { line: 75, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Use cgroups to enforce resource limits on containers\n", span: Span { start: Position { line: 76, column: 1, }, end: Position { line: 77, column: 9, }, }, }, ), ], span: Span { start: Position { line: 75, column: 33, }, end: Position { line: 77, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 72, column: 29, }, end: Position { line: 78, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "localDir", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 80, column: 18, }, end: Position { line: 80, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 81, column: 23, }, end: Position { line: 81, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of directories to store localized files in.", span: Span { start: Position { line: 81, column: 34, }, end: Position { line: 81, column: 82, }, }, }, ), ], span: Span { start: Position { line: 81, column: 33, }, end: Position { line: 81, column: 83, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 82, column: 21, }, end: Position { line: 82, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 82, column: 28, }, end: Position { line: 82, column: 34, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 82, column: 36, }, end: Position { line: 82, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 82, column: 43, }, end: Position { line: 82, column: 47, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 82, column: 16, }, end: Position { line: 82, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/hadoop/yarn/nm", span: Span { start: Position { line: 83, column: 22, }, end: Position { line: 83, column: 45, }, }, }, ), ], span: Span { start: Position { line: 83, column: 21, }, end: Position { line: 83, column: 46, }, }, }, ), ], span: Span { start: Position { line: 83, column: 19, }, end: Position { line: 83, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 84, column: 19, }, end: Position { line: 84, column: 23, }, }, }, ), }, ), ], span: Span { start: Position { line: 80, column: 27, }, end: Position { line: 85, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "addBinBash", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 87, column: 20, }, end: Position { line: 87, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 88, column: 16, }, end: Position { line: 88, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 88, column: 22, }, end: Position { line: 88, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 89, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 89, column: 19, }, end: Position { line: 89, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 90, column: 23, }, end: Position { line: 90, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 90, column: 27, }, end: Position { line: 90, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Add /bin/bash. This is needed by the linux container executor's launch script.\n", span: Span { start: Position { line: 91, column: 1, }, end: Position { line: 92, column: 9, }, }, }, ), ], span: Span { start: Position { line: 90, column: 33, }, end: Position { line: 92, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 87, column: 29, }, end: Position { line: 93, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 94, column: 7, }, end: Position { line: 94, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 94, column: 22, }, end: Position { line: 94, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 95, column: 9, }, end: Position { line: 95, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 95, column: 16, }, end: Position { line: 95, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 95, column: 22, }, end: Position { line: 95, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 96, column: 9, }, end: Position { line: 96, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 96, column: 19, }, end: Position { line: 96, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 97, column: 23, }, end: Position { line: 97, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 97, column: 27, }, end: Position { line: 97, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Open firewall ports for nodemanager.\nBecause containers can listen on any ephemeral port, TCP ports 1024–65535 will be opened.\n", span: Span { start: Position { line: 98, column: 1, }, end: Position { line: 100, column: 9, }, }, }, ), ], span: Span { start: Position { line: 97, column: 33, }, end: Position { line: 100, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 94, column: 31, }, end: Position { line: 101, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 19, }, end: Position { line: 102, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 34, }, end: Position { line: 103, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 105, column: 3, }, end: Position { line: 105, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 105, column: 12, }, end: Position { line: 105, column: 19, }, }, }, ), arguments: [ List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 106, column: 6, }, end: Position { line: 106, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 106, column: 11, }, end: Position { line: 106, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gatewayRole", span: Span { start: Position { line: 106, column: 15, }, end: Position { line: 106, column: 26, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 106, column: 27, }, end: Position { line: 106, column: 33, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 107, column: 7, }, end: Position { line: 107, column: 12, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 107, column: 13, }, end: Position { line: 107, column: 18, }, }, }, ), Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 107, column: 19, }, end: Position { line: 107, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 108, column: 9, }, end: Position { line: 108, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Hadoop YARN user", span: Span { start: Position { line: 108, column: 24, }, end: Position { line: 108, column: 40, }, }, }, ), ], span: Span { start: Position { line: 108, column: 23, }, end: Position { line: 108, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hadoop", span: Span { start: Position { line: 109, column: 18, }, end: Position { line: 109, column: 24, }, }, }, ), ], span: Span { start: Position { line: 109, column: 17, }, end: Position { line: 109, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 110, column: 15, }, end: Position { line: 110, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 110, column: 22, }, end: Position { line: 110, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 110, column: 26, }, end: Position { line: 110, column: 30, }, }, }, ), Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 110, column: 31, }, end: Position { line: 110, column: 35, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 107, column: 26, }, end: Position { line: 111, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 106, column: 34, }, end: Position { line: 112, column: 6, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 114, column: 6, }, end: Position { line: 114, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 114, column: 11, }, end: Position { line: 114, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 114, column: 15, }, end: Position { line: 114, column: 19, }, }, }, ), Raw( PartRaw { content: "resourcemanager", span: Span { start: Position { line: 114, column: 20, }, end: Position { line: 114, column: 35, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 114, column: 36, }, end: Position { line: 114, column: 42, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 115, column: 7, }, end: Position { line: 115, column: 14, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 115, column: 15, }, end: Position { line: 115, column: 23, }, }, }, ), Raw( PartRaw { content: "yarn-resourcemanager", span: Span { start: Position { line: 115, column: 24, }, end: Position { line: 115, column: 44, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Hadoop YARN ResourceManager", span: Span { start: Position { line: 116, column: 24, }, end: Position { line: 116, column: 51, }, }, }, ), ], span: Span { start: Position { line: 116, column: 23, }, end: Position { line: 116, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 117, column: 23, }, end: Position { line: 117, column: 40, }, }, }, ), ], span: Span { start: Position { line: 117, column: 22, }, end: Position { line: 117, column: 41, }, }, }, ), ], span: Span { start: Position { line: 117, column: 20, }, end: Position { line: 117, column: 43, }, }, }, ), }, ), Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 118, column: 18, }, end: Position { line: 118, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 118, column: 22, }, end: Position { line: 118, column: 26, }, }, }, ), Raw( PartRaw { content: "resourcemanager", span: Span { start: Position { line: 118, column: 27, }, end: Position { line: 118, column: 42, }, }, }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 118, column: 44, }, end: Position { line: 118, column: 60, }, }, }, ), ], span: Span { start: Position { line: 115, column: 48, }, end: Position { line: 118, column: 61, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 119, column: 9, }, end: Position { line: 119, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 119, column: 23, }, end: Position { line: 119, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 119, column: 27, }, end: Position { line: 119, column: 31, }, }, }, ), Raw( PartRaw { content: "resourcemanager", span: Span { start: Position { line: 119, column: 32, }, end: Position { line: 119, column: 47, }, }, }, ), Raw( PartRaw { content: "extraEnv", span: Span { start: Position { line: 119, column: 48, }, end: Position { line: 119, column: 56, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 121, column: 9, }, end: Position { line: 121, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 122, column: 11, }, end: Position { line: 122, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 122, column: 19, }, end: Position { line: 122, column: 23, }, }, }, ), ], span: Span { start: Position { line: 122, column: 18, }, end: Position { line: 122, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SyslogIdentifier", span: Span { start: Position { line: 123, column: 11, }, end: Position { line: 123, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "yarn-resourcemanager", span: Span { start: Position { line: 123, column: 31, }, end: Position { line: 123, column: 51, }, }, }, ), ], span: Span { start: Position { line: 123, column: 30, }, end: Position { line: 123, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 124, column: 11, }, end: Position { line: 124, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 124, column: 26, }, end: Position { line: 124, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 124, column: 30, }, end: Position { line: 124, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/yarn --config ", span: Span { start: Position { line: 124, column: 24, }, end: Position { line: 124, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hadoopConf", span: Span { start: Position { line: 124, column: 59, }, end: Position { line: 124, column: 69, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 124, column: 24, }, end: Position { line: 124, column: 71, }, }, }, ), ], span: Span { start: Position { line: 124, column: 23, }, end: Position { line: 124, column: 72, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: " resourcemanager ", span: Span { start: Position { line: 125, column: 24, }, end: Position { line: 125, column: 95, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArgs", span: Span { start: Position { line: 125, column: 43, }, end: Position { line: 125, column: 58, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 125, column: 59, }, end: Position { line: 125, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 125, column: 63, }, end: Position { line: 125, column: 67, }, }, }, ), Raw( PartRaw { content: "resourcemanager", span: Span { start: Position { line: 125, column: 68, }, end: Position { line: 125, column: 83, }, }, }, ), Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 125, column: 84, }, end: Position { line: 125, column: 94, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 125, column: 23, }, end: Position { line: 125, column: 96, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 126, column: 11, }, end: Position { line: 126, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 126, column: 22, }, end: Position { line: 126, column: 28, }, }, }, ), ], span: Span { start: Position { line: 126, column: 21, }, end: Position { line: 126, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 121, column: 25, }, end: Position { line: 127, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 115, column: 47, }, end: Position { line: 128, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 130, column: 7, }, end: Position { line: 130, column: 15, }, }, }, ), Raw( PartRaw { content: "hadoop", span: Span { start: Position { line: 130, column: 16, }, end: Position { line: 130, column: 22, }, }, }, ), Raw( PartRaw { content: "gatewayRole", span: Span { start: Position { line: 130, column: 23, }, end: Position { line: 130, column: 34, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 130, column: 35, }, end: Position { line: 130, column: 41, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 130, column: 44, }, end: Position { line: 130, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 132, column: 7, }, end: Position { line: 132, column: 17, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 132, column: 18, }, end: Position { line: 132, column: 26, }, }, }, ), Raw( PartRaw { content: "allowedTCPPorts", span: Span { start: Position { line: 132, column: 27, }, end: Position { line: 132, column: 42, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 132, column: 46, }, end: Position { line: 132, column: 50, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 132, column: 51, }, end: Position { line: 132, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 132, column: 55, }, end: Position { line: 132, column: 59, }, }, }, ), Raw( PartRaw { content: "resourcemanager", span: Span { start: Position { line: 132, column: 60, }, end: Position { line: 132, column: 75, }, }, }, ), Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 132, column: 76, }, end: Position { line: 132, column: 88, }, }, }, ), ], default: None, }, ), List( List { elements: [ Integer( Integer { value: "8088", span: Span { start: Position { line: 133, column: 9, }, end: Position { line: 133, column: 13, }, }, }, ), Integer( Integer { value: "8030", span: Span { start: Position { line: 134, column: 9, }, end: Position { line: 134, column: 13, }, }, }, ), Integer( Integer { value: "8031", span: Span { start: Position { line: 135, column: 9, }, end: Position { line: 135, column: 13, }, }, }, ), Integer( Integer { value: "8032", span: Span { start: Position { line: 136, column: 9, }, end: Position { line: 136, column: 13, }, }, }, ), Integer( Integer { value: "8033", span: Span { start: Position { line: 137, column: 9, }, end: Position { line: 137, column: 13, }, }, }, ), ], span: Span { start: Position { line: 132, column: 89, }, end: Position { line: 138, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 114, column: 43, }, end: Position { line: 139, column: 6, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 141, column: 6, }, end: Position { line: 141, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 141, column: 11, }, end: Position { line: 141, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 141, column: 15, }, end: Position { line: 141, column: 19, }, }, }, ), Raw( PartRaw { content: "nodemanager", span: Span { start: Position { line: 141, column: 20, }, end: Position { line: 141, column: 31, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 141, column: 32, }, end: Position { line: 141, column: 38, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 144, column: 7, }, end: Position { line: 144, column: 14, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 144, column: 15, }, end: Position { line: 144, column: 23, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 144, column: 24, }, end: Position { line: 144, column: 29, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 145, column: 10, }, end: Position { line: 145, column: 14, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 145, column: 15, }, end: Position { line: 145, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 145, column: 19, }, end: Position { line: 145, column: 23, }, }, }, ), Raw( PartRaw { content: "nodemanager", span: Span { start: Position { line: 145, column: 24, }, end: Position { line: 145, column: 35, }, }, }, ), Raw( PartRaw { content: "addBinBash", span: Span { start: Position { line: 145, column: 36, }, end: Position { line: 145, column: 46, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "L /bin/bash - - - - /run/current-system/sw/bin/bash", span: Span { start: Position { line: 145, column: 48, }, end: Position { line: 145, column: 99, }, }, }, ), ], span: Span { start: Position { line: 145, column: 47, }, end: Position { line: 145, column: 100, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 144, column: 32, }, end: Position { line: 146, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 14, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 148, column: 15, }, end: Position { line: 148, column: 23, }, }, }, ), Raw( PartRaw { content: "yarn-nodemanager", span: Span { start: Position { line: 148, column: 24, }, end: Position { line: 148, column: 40, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 149, column: 9, }, end: Position { line: 149, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Hadoop YARN NodeManager", span: Span { start: Position { line: 149, column: 24, }, end: Position { line: 149, column: 47, }, }, }, ), ], span: Span { start: Position { line: 149, column: 23, }, end: Position { line: 149, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 150, column: 9, }, end: Position { line: 150, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 150, column: 23, }, end: Position { line: 150, column: 40, }, }, }, ), ], span: Span { start: Position { line: 150, column: 22, }, end: Position { line: 150, column: 41, }, }, }, ), ], span: Span { start: Position { line: 150, column: 20, }, end: Position { line: 150, column: 43, }, }, }, ), }, ), Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 151, column: 18, }, end: Position { line: 151, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 151, column: 22, }, end: Position { line: 151, column: 26, }, }, }, ), Raw( PartRaw { content: "nodemanager", span: Span { start: Position { line: 151, column: 27, }, end: Position { line: 151, column: 38, }, }, }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 151, column: 40, }, end: Position { line: 151, column: 56, }, }, }, ), ], span: Span { start: Position { line: 148, column: 44, }, end: Position { line: 151, column: 57, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 152, column: 9, }, end: Position { line: 152, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 152, column: 23, }, end: Position { line: 152, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 152, column: 27, }, end: Position { line: 152, column: 31, }, }, }, ), Raw( PartRaw { content: "nodemanager", span: Span { start: Position { line: 152, column: 32, }, end: Position { line: 152, column: 43, }, }, }, ), Raw( PartRaw { content: "extraEnv", span: Span { start: Position { line: 152, column: 44, }, end: Position { line: 152, column: 52, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 154, column: 9, }, end: Position { line: 154, column: 17, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# create log dir\nmkdir -p /var/log/hadoop/yarn/nodemanager\nchown yarn:hadoop /var/log/hadoop/yarn/nodemanager\n\n# set up setuid container executor binary\numount /run/wrappers/yarn-nodemanager/cgroup/cpu || true\nrm -rf /run/wrappers/yarn-nodemanager/ || true\nmkdir -p /run/wrappers/yarn-nodemanager/{bin,etc/hadoop,cgroup/cpu}\ncp ", span: Span { start: Position { line: 155, column: 1, }, end: Position { line: 163, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 163, column: 16, }, end: Position { line: 163, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 163, column: 20, }, end: Position { line: 163, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/", span: Span { start: Position { line: 155, column: 1, }, end: Position { line: 163, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 163, column: 35, }, end: Position { line: 163, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 163, column: 39, }, end: Position { line: 163, column: 46, }, }, }, ), Raw( PartRaw { content: "untarDir", span: Span { start: Position { line: 163, column: 47, }, end: Position { line: 163, column: 55, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/container-executor /run/wrappers/yarn-nodemanager/bin/\nchgrp hadoop /run/wrappers/yarn-nodemanager/bin/container-executor\nchmod 6050 /run/wrappers/yarn-nodemanager/bin/container-executor\ncp ", span: Span { start: Position { line: 155, column: 1, }, end: Position { line: 166, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hadoopConf", span: Span { start: Position { line: 166, column: 16, }, end: Position { line: 166, column: 26, }, }, }, ), }, ), Raw( PartRaw { content: "/container-executor.cfg /run/wrappers/yarn-nodemanager/etc/hadoop/\n", span: Span { start: Position { line: 155, column: 1, }, end: Position { line: 167, column: 9, }, }, }, ), ], span: Span { start: Position { line: 154, column: 20, }, end: Position { line: 167, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 169, column: 9, }, end: Position { line: 169, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 170, column: 11, }, end: Position { line: 170, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 170, column: 19, }, end: Position { line: 170, column: 23, }, }, }, ), ], span: Span { start: Position { line: 170, column: 18, }, end: Position { line: 170, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SyslogIdentifier", span: Span { start: Position { line: 171, column: 11, }, end: Position { line: 171, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "yarn-nodemanager", span: Span { start: Position { line: 171, column: 31, }, end: Position { line: 171, column: 47, }, }, }, ), ], span: Span { start: Position { line: 171, column: 30, }, end: Position { line: 171, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PermissionsStartOnly", span: Span { start: Position { line: 172, column: 11, }, end: Position { line: 172, column: 31, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 172, column: 34, }, end: Position { line: 172, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 173, column: 11, }, end: Position { line: 173, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 173, column: 26, }, end: Position { line: 173, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 173, column: 30, }, end: Position { line: 173, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/yarn --config ", span: Span { start: Position { line: 173, column: 24, }, end: Position { line: 173, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hadoopConf", span: Span { start: Position { line: 173, column: 59, }, end: Position { line: 173, column: 69, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 173, column: 24, }, end: Position { line: 173, column: 71, }, }, }, ), ], span: Span { start: Position { line: 173, column: 23, }, end: Position { line: 173, column: 72, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: " nodemanager ", span: Span { start: Position { line: 174, column: 24, }, end: Position { line: 174, column: 87, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArgs", span: Span { start: Position { line: 174, column: 39, }, end: Position { line: 174, column: 54, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 174, column: 55, }, end: Position { line: 174, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 174, column: 59, }, end: Position { line: 174, column: 63, }, }, }, ), Raw( PartRaw { content: "nodemanager", span: Span { start: Position { line: 174, column: 64, }, end: Position { line: 174, column: 75, }, }, }, ), Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 174, column: 76, }, end: Position { line: 174, column: 86, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 174, column: 23, }, end: Position { line: 174, column: 88, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 175, column: 11, }, end: Position { line: 175, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 175, column: 22, }, end: Position { line: 175, column: 28, }, }, }, ), ], span: Span { start: Position { line: 175, column: 21, }, end: Position { line: 175, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 169, column: 25, }, end: Position { line: 176, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 148, column: 43, }, end: Position { line: 177, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 179, column: 7, }, end: Position { line: 179, column: 15, }, }, }, ), Raw( PartRaw { content: "hadoop", span: Span { start: Position { line: 179, column: 16, }, end: Position { line: 179, column: 22, }, }, }, ), Raw( PartRaw { content: "gatewayRole", span: Span { start: Position { line: 179, column: 23, }, end: Position { line: 179, column: 34, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 179, column: 35, }, end: Position { line: 179, column: 41, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 179, column: 44, }, end: Position { line: 179, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 181, column: 7, }, end: Position { line: 181, column: 15, }, }, }, ), Raw( PartRaw { content: "hadoop", span: Span { start: Position { line: 181, column: 16, }, end: Position { line: 181, column: 22, }, }, }, ), Raw( PartRaw { content: "yarnSiteInternal", span: Span { start: Position { line: 181, column: 23, }, end: Position { line: 181, column: 39, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 47, }, end: Position { line: 181, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 181, column: 51, }, end: Position { line: 181, column: 55, }, }, }, ), Raw( PartRaw { content: "nodemanager", span: Span { start: Position { line: 181, column: 56, }, end: Position { line: 181, column: 67, }, }, }, ), ], default: None, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 181, column: 69, }, end: Position { line: 181, column: 76, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "yarn.nodemanager.local-dirs", span: Span { start: Position { line: 182, column: 10, }, end: Position { line: 182, column: 37, }, }, }, ), ], span: Span { start: Position { line: 182, column: 9, }, end: Position { line: 182, column: 38, }, }, }, ), }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 182, column: 41, }, end: Position { line: 182, column: 45, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "localDir", span: Span { start: Position { line: 182, column: 47, }, end: Position { line: 182, column: 55, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 182, column: 58, }, end: Position { line: 182, column: 62, }, }, }, ), }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 182, column: 65, }, end: Position { line: 182, column: 81, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",", span: Span { start: Position { line: 182, column: 83, }, end: Position { line: 182, column: 84, }, }, }, ), ], span: Span { start: Position { line: 182, column: 82, }, end: Position { line: 182, column: 85, }, }, }, ), Identifier( Identifier { id: "localDir", span: Span { start: Position { line: 182, column: 86, }, end: Position { line: 182, column: 94, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "yarn.scheduler.maximum-allocation-vcores", span: Span { start: Position { line: 183, column: 10, }, end: Position { line: 183, column: 50, }, }, }, ), ], span: Span { start: Position { line: 183, column: 9, }, end: Position { line: 183, column: 51, }, }, }, ), }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "resource", span: Span { start: Position { line: 183, column: 54, }, end: Position { line: 183, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maximumAllocationVCores", span: Span { start: Position { line: 183, column: 63, }, end: Position { line: 183, column: 86, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "yarn.scheduler.maximum-allocation-mb", span: Span { start: Position { line: 184, column: 10, }, end: Position { line: 184, column: 46, }, }, }, ), ], span: Span { start: Position { line: 184, column: 9, }, end: Position { line: 184, column: 47, }, }, }, ), }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "resource", span: Span { start: Position { line: 184, column: 50, }, end: Position { line: 184, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maximumAllocationMB", span: Span { start: Position { line: 184, column: 59, }, end: Position { line: 184, column: 78, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "yarn.nodemanager.resource.cpu-vcores", span: Span { start: Position { line: 185, column: 10, }, end: Position { line: 185, column: 46, }, }, }, ), ], span: Span { start: Position { line: 185, column: 9, }, end: Position { line: 185, column: 47, }, }, }, ), }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "resource", span: Span { start: Position { line: 185, column: 50, }, end: Position { line: 185, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cpuVCores", span: Span { start: Position { line: 185, column: 59, }, end: Position { line: 185, column: 68, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "yarn.nodemanager.resource.memory-mb", span: Span { start: Position { line: 186, column: 10, }, end: Position { line: 186, column: 45, }, }, }, ), ], span: Span { start: Position { line: 186, column: 9, }, end: Position { line: 186, column: 46, }, }, }, ), }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "resource", span: Span { start: Position { line: 186, column: 49, }, end: Position { line: 186, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "memoryMB", span: Span { start: Position { line: 186, column: 58, }, end: Position { line: 186, column: 66, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 181, column: 80, }, end: Position { line: 187, column: 8, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 187, column: 11, }, end: Position { line: 187, column: 15, }, }, }, ), arguments: [ Identifier( Identifier { id: "useCGroups", span: Span { start: Position { line: 187, column: 16, }, end: Position { line: 187, column: 26, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "yarn.nodemanager.linux-container-executor.cgroups.hierarchy", span: Span { start: Position { line: 188, column: 10, }, end: Position { line: 188, column: 69, }, }, }, ), ], span: Span { start: Position { line: 188, column: 9, }, end: Position { line: 188, column: 70, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/hadoop-yarn", span: Span { start: Position { line: 188, column: 74, }, end: Position { line: 188, column: 86, }, }, }, ), ], span: Span { start: Position { line: 188, column: 73, }, end: Position { line: 188, column: 87, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "yarn.nodemanager.linux-container-executor.resources-handler.class", span: Span { start: Position { line: 189, column: 10, }, end: Position { line: 189, column: 75, }, }, }, ), ], span: Span { start: Position { line: 189, column: 9, }, end: Position { line: 189, column: 76, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler", span: Span { start: Position { line: 189, column: 80, }, end: Position { line: 189, column: 153, }, }, }, ), ], span: Span { start: Position { line: 189, column: 79, }, end: Position { line: 189, column: 154, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "yarn.nodemanager.linux-container-executor.cgroups.mount", span: Span { start: Position { line: 190, column: 10, }, end: Position { line: 190, column: 65, }, }, }, ), ], span: Span { start: Position { line: 190, column: 9, }, end: Position { line: 190, column: 66, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "true", span: Span { start: Position { line: 190, column: 70, }, end: Position { line: 190, column: 74, }, }, }, ), ], span: Span { start: Position { line: 190, column: 69, }, end: Position { line: 190, column: 75, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "yarn.nodemanager.linux-container-executor.cgroups.mount-path", span: Span { start: Position { line: 191, column: 10, }, end: Position { line: 191, column: 70, }, }, }, ), ], span: Span { start: Position { line: 191, column: 9, }, end: Position { line: 191, column: 71, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/wrappers/yarn-nodemanager/cgroup", span: Span { start: Position { line: 191, column: 75, }, end: Position { line: 191, column: 112, }, }, }, ), ], span: Span { start: Position { line: 191, column: 74, }, end: Position { line: 191, column: 113, }, }, }, ), }, ), ], span: Span { start: Position { line: 187, column: 27, }, end: Position { line: 192, column: 8, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 181, column: 77, }, end: Position { line: 192, column: 10, }, }, }, ), ], }, ), span: Span { start: Position { line: 181, column: 42, }, end: Position { line: 192, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 194, column: 7, }, end: Position { line: 194, column: 17, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 194, column: 18, }, end: Position { line: 194, column: 26, }, }, }, ), Raw( PartRaw { content: "allowedTCPPortRanges", span: Span { start: Position { line: 194, column: 27, }, end: Position { line: 194, column: 47, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 195, column: 10, }, end: Position { line: 195, column: 14, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 195, column: 16, }, end: Position { line: 195, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "yarn", span: Span { start: Position { line: 195, column: 20, }, end: Position { line: 195, column: 24, }, }, }, ), Raw( PartRaw { content: "nodemanager", span: Span { start: Position { line: 195, column: 25, }, end: Position { line: 195, column: 36, }, }, }, ), Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 195, column: 37, }, end: Position { line: 195, column: 49, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "from", span: Span { start: Position { line: 195, column: 52, }, end: Position { line: 195, column: 56, }, }, }, ), ], to: Integer( Integer { value: "1024", span: Span { start: Position { line: 195, column: 59, }, end: Position { line: 195, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "to", span: Span { start: Position { line: 195, column: 65, }, end: Position { line: 195, column: 67, }, }, }, ), ], to: Integer( Integer { value: "65535", span: Span { start: Position { line: 195, column: 70, }, end: Position { line: 195, column: 75, }, }, }, ), }, ), ], span: Span { start: Position { line: 195, column: 51, }, end: Position { line: 195, column: 77, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 194, column: 50, }, end: Position { line: 196, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 141, column: 39, }, end: Position { line: 197, column: 6, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 105, column: 20, }, end: Position { line: 199, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 31, column: 1, }, end: Position { line: 200, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 200, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 200, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 200, column: 2, }, }, }, )