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