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