---
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: (7, 3),
       },
      ],
     },
     String {
      parts: [
       Expression {
        expression: FunctionApplication {
         function: Variable {
          identifier: "import",
          position: (7, 19),
         },
         arguments: [
          Path {
           parts: [
            Raw {
             content: "./conf.nix",
            },
           ],
           position: (7, 26),
          },
          Map {
           bindings: [
            Inherit(
             None,
             [
              Raw {
               content: "cfg",
               position: (7, 47),
              },
              Raw {
               content: "pkgs",
               position: (7, 51),
              },
              Raw {
               content: "lib",
               position: (7, 56),
              },
             ],
            ),
           ],
           recursive: false,
           position: (7, 37),
          },
         ],
        },
       },
       Raw {
        content: "/",
       },
      ],
      position: (7, 16),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "hadoopServiceOption",
        position: (10, 3),
       },
      ],
     },
     Function {
      argument: None,
      arguments: FunctionArguments {
       arguments: [
        FunctionArgument {
         identifier: "extraOpts",
         default: Some(
          Variable {
           identifier: "null",
           position: (10, 75),
          },
         ),
        },
        FunctionArgument {
         identifier: "firewallOption",
         default: Some(
          Variable {
           identifier: "true",
           position: (10, 57),
          },
         ),
        },
        FunctionArgument {
         identifier: "serviceName",
         default: None,
        },
       ],
       ellipsis: false,
      },
      definition: BinaryOperation {
       operator: Update,
       operands: [
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "enable",
              position: (11, 5),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkEnableOption",
             position: (11, 14),
            },
            arguments: [
             Variable {
              identifier: "serviceName",
              position: (11, 29),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "restartIfChanged",
              position: (12, 5),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkOption",
             position: (12, 24),
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "type",
                   position: (13, 7),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (13, 14),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "bool",
                    position: (13, 20),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (14, 7),
                  },
                 ],
                },
                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: (14, 21),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "default",
                   position: (20, 7),
                  },
                 ],
                },
                Variable {
                 identifier: "false",
                 position: (20, 17),
                },
               ),
              ],
              recursive: false,
              position: (12, 33),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "extraFlags",
              position: (22, 5),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkOption",
             position: (22, 18),
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "type",
                   position: (23, 7),
                  },
                 ],
                },
                With {
                 expression: Variable {
                  identifier: "types",
                  position: (23, 19),
                 },
                 target: FunctionApplication {
                  function: Variable {
                   identifier: "listOf",
                   position: (23, 26),
                  },
                  arguments: [
                   Variable {
                    identifier: "str",
                    position: (23, 33),
                   },
                  ],
                 },
                 position: (23, 14),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "default",
                   position: (24, 7),
                  },
                 ],
                },
                List {
                 elements: [],
                 position: (24, 17),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (25, 7),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "Extra command line flags to pass to ",
                  },
                  Expression {
                   expression: Variable {
                    identifier: "serviceName",
                    position: (25, 60),
                   },
                  },
                 ],
                 position: (25, 21),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "example",
                   position: (26, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "-Dcom.sun.management.jmxremote",
                    },
                   ],
                   position: (27, 9),
                  },
                  String {
                   parts: [
                    Raw {
                     content: "-Dcom.sun.management.jmxremote.port=8010",
                    },
                   ],
                   position: (28, 9),
                  },
                 ],
                 position: (26, 17),
                },
               ),
              ],
              recursive: false,
              position: (22, 26),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "extraEnv",
              position: (31, 5),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkOption",
             position: (31, 16),
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "type",
                   position: (32, 7),
                  },
                 ],
                },
                With {
                 expression: Variable {
                  identifier: "types",
                  position: (32, 19),
                 },
                 target: FunctionApplication {
                  function: Variable {
                   identifier: "attrsOf",
                   position: (32, 26),
                  },
                  arguments: [
                   Variable {
                    identifier: "str",
                    position: (32, 34),
                   },
                  ],
                 },
                 position: (32, 14),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "default",
                   position: (33, 7),
                  },
                 ],
                },
                Map {
                 bindings: [],
                 recursive: false,
                 position: (33, 17),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (34, 7),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "Extra environment variables for ",
                  },
                  Expression {
                   expression: Variable {
                    identifier: "serviceName",
                    position: (34, 56),
                   },
                  },
                 ],
                 position: (34, 21),
                },
               ),
              ],
              recursive: false,
              position: (31, 24),
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (10, 83),
        },
        BinaryOperation {
         operator: Update,
         operands: [
          FunctionApplication {
           function: Variable {
            identifier: "optionalAttrs",
            position: (36, 9),
           },
           arguments: [
            Variable {
             identifier: "firewallOption",
             position: (36, 23),
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "openFirewall",
                  position: (37, 5),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (37, 20),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (38, 7),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (38, 14),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "bool",
                        position: (38, 20),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (39, 7),
                      },
                     ],
                    },
                    Variable {
                     identifier: "false",
                     position: (39, 17),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (40, 7),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Open firewall ports for ",
                      },
                      Expression {
                       expression: Variable {
                        identifier: "serviceName",
                        position: (40, 48),
                       },
                      },
                      Raw {
                       content: ".",
                      },
                     ],
                     position: (40, 21),
                    },
                   ),
                  ],
                  recursive: false,
                  position: (37, 29),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (36, 38),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "optionalAttrs",
            position: (42, 10),
           },
           arguments: [
            BinaryOperation {
             operator: NotEqualTo,
             operands: [
              Variable {
               identifier: "extraOpts",
               position: (42, 25),
              },
              Variable {
               identifier: "null",
               position: (42, 38),
              },
             ],
             position: (42, 35),
            },
            Variable {
             identifier: "extraOpts",
             position: (42, 44),
            },
           ],
          },
         ],
         position: (42, 6),
        },
       ],
       position: (36, 5),
      },
      position: (10, 25),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "hadoopServiceConfig",
        position: (45, 3),
       },
      ],
     },
     Function {
      argument: None,
      arguments: FunctionArguments {
       arguments: [
        FunctionArgument {
         identifier: "extraConfig",
         default: Some(
          Map {
           bindings: [],
           recursive: false,
           position: (53, 21),
          },
         ),
        },
        FunctionArgument {
         identifier: "environment",
         default: Some(
          Map {
           bindings: [],
           recursive: false,
           position: (52, 21),
          },
         ),
        },
        FunctionArgument {
         identifier: "preStart",
         default: Some(
          String {
           parts: [],
           position: (51, 18),
          },
         ),
        },
        FunctionArgument {
         identifier: "allowedTCPPorts",
         default: Some(
          List {
           elements: [],
           position: (50, 25),
          },
         ),
        },
        FunctionArgument {
         identifier: "User",
         default: Some(
          String {
           parts: [
            Raw {
             content: "hdfs",
            },
           ],
           position: (49, 14),
          },
         ),
        },
        FunctionArgument {
         identifier: "description",
         default: Some(
          String {
           parts: [
            Raw {
             content: "Hadoop HDFS ",
            },
            Expression {
             expression: Variable {
              identifier: "name",
              position: (48, 36),
             },
            },
           ],
           position: (48, 21),
          },
         ),
        },
        FunctionArgument {
         identifier: "serviceOptions",
         default: Some(
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (47, 24),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "hdfs",
              position: (47, 28),
             },
             Expression {
              expression: __StringParts(
               [
                Expression {
                 expression: FunctionApplication {
                  function: Variable {
                   identifier: "toLower",
                   position: (47, 36),
                  },
                  arguments: [
                   Variable {
                    identifier: "name",
                    position: (47, 44),
                   },
                  ],
                 },
                },
               ],
              ),
             },
            ],
           },
           default: None,
          },
         ),
        },
        FunctionArgument {
         identifier: "name",
         default: None,
        },
       ],
       ellipsis: false,
      },
      definition: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (56, 7),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "serviceOptions",
          position: (56, 12),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (56, 27),
           },
          ],
         },
         default: None,
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkMerge",
          position: (56, 36),
         },
         arguments: [
          List {
           elements: [
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "systemd",
                  position: (57, 9),
                 },
                 Raw {
                  content: "services",
                  position: (57, 17),
                 },
                 Expression {
                  expression: __StringParts(
                   [
                    Raw {
                     content: "hdfs-",
                    },
                    Expression {
                     expression: FunctionApplication {
                      function: Variable {
                       identifier: "toLower",
                       position: (57, 34),
                      },
                      arguments: [
                       Variable {
                        identifier: "name",
                        position: (57, 42),
                       },
                      ],
                     },
                    },
                   ],
                  ),
                 },
                ],
               },
               Map {
                bindings: [
                 Inherit(
                  None,
                  [
                   Raw {
                    content: "description",
                    position: (58, 19),
                   },
                   Raw {
                    content: "preStart",
                    position: (58, 31),
                   },
                  ],
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "environment",
                     position: (59, 11),
                    },
                   ],
                  },
                  BinaryOperation {
                   operator: Update,
                   operands: [
                    Variable {
                     identifier: "environment",
                     position: (59, 25),
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "serviceOptions",
                      position: (59, 40),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "extraEnv",
                        position: (59, 55),
                       },
                      ],
                     },
                     default: None,
                    },
                   ],
                   position: (59, 37),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "wantedBy",
                     position: (60, 11),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "multi-user.target",
                      },
                     ],
                     position: (60, 24),
                    },
                   ],
                   position: (60, 22),
                  },
                 ),
                 Inherit(
                  Some(
                   Variable {
                    identifier: "serviceOptions",
                    position: (61, 20),
                   },
                  ),
                  [
                   Raw {
                    content: "restartIfChanged",
                    position: (61, 36),
                   },
                  ],
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "serviceConfig",
                     position: (62, 11),
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    Inherit(
                     None,
                     [
                      Raw {
                       content: "User",
                       position: (63, 21),
                      },
                     ],
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "SyslogIdentifier",
                        position: (64, 13),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs-",
                       },
                       Expression {
                        expression: FunctionApplication {
                         function: Variable {
                          identifier: "toLower",
                          position: (64, 40),
                         },
                         arguments: [
                          Variable {
                           identifier: "name",
                           position: (64, 48),
                          },
                         ],
                        },
                       },
                      ],
                      position: (64, 32),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "ExecStart",
                        position: (65, 13),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (65, 28),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "package",
                            position: (65, 32),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/hdfs --config ",
                       },
                       Expression {
                        expression: Variable {
                         identifier: "hadoopConf",
                         position: (65, 61),
                        },
                       },
                       Raw {
                        content: " ",
                       },
                       Expression {
                        expression: FunctionApplication {
                         function: Variable {
                          identifier: "toLower",
                          position: (65, 75),
                         },
                         arguments: [
                          Variable {
                           identifier: "name",
                           position: (65, 83),
                          },
                         ],
                        },
                       },
                       Raw {
                        content: " ",
                       },
                       Expression {
                        expression: FunctionApplication {
                         function: Variable {
                          identifier: "escapeShellArgs",
                          position: (65, 91),
                         },
                         arguments: [
                          PropertyAccess {
                           expression: Variable {
                            identifier: "serviceOptions",
                            position: (65, 107),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "extraFlags",
                              position: (65, 122),
                             },
                            ],
                           },
                           default: None,
                          },
                         ],
                        },
                       },
                      ],
                      position: (65, 25),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "Restart",
                        position: (66, 13),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "always",
                       },
                      ],
                      position: (66, 23),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (62, 27),
                  },
                 ),
                ],
                recursive: false,
                position: (57, 51),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "services",
                  position: (70, 9),
                 },
                 Raw {
                  content: "hadoop",
                  position: (70, 18),
                 },
                 Raw {
                  content: "gatewayRole",
                  position: (70, 25),
                 },
                 Raw {
                  content: "enable",
                  position: (70, 37),
                 },
                ],
               },
               Variable {
                identifier: "true",
                position: (70, 46),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "networking",
                  position: (72, 9),
                 },
                 Raw {
                  content: "firewall",
                  position: (72, 20),
                 },
                 Raw {
                  content: "allowedTCPPorts",
                  position: (72, 29),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkIf",
                 position: (72, 47),
                },
                arguments: [
                 BinaryOperation {
                  operator: LogicalAnd,
                  operands: [
                   FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "builtins",
                      position: (73, 13),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "hasAttr",
                        position: (73, 22),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     String {
                      parts: [
                       Raw {
                        content: "openFirewall",
                       },
                      ],
                      position: (73, 30),
                     },
                     Variable {
                      identifier: "serviceOptions",
                      position: (73, 45),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "serviceOptions",
                     position: (73, 64),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "openFirewall",
                       position: (73, 79),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                  position: (73, 61),
                 },
                 Variable {
                  identifier: "allowedTCPPorts",
                  position: (74, 11),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (56, 45),
            },
            Variable {
             identifier: "extraConfig",
             position: (75, 9),
            },
           ],
           position: (56, 44),
          },
         ],
        },
       ],
      },
      position: (46, 5),
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (80, 3),
        },
        Raw {
         content: "services",
         position: (80, 11),
        },
        Raw {
         content: "hadoop",
         position: (80, 20),
        },
        Raw {
         content: "hdfs",
         position: (80, 27),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "namenode",
            position: (82, 5),
           },
          ],
         },
         BinaryOperation {
          operator: Update,
          operands: [
           FunctionApplication {
            function: Variable {
             identifier: "hadoopServiceOption",
             position: (82, 16),
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "serviceName",
                   position: (82, 38),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "HDFS NameNode",
                  },
                 ],
                 position: (82, 52),
                },
               ),
              ],
              recursive: false,
              position: (82, 36),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "formatOnInit",
                 position: (83, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "mkOption",
                position: (83, 22),
               },
               arguments: [
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "type",
                      position: (84, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (84, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "bool",
                       position: (84, 22),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "default",
                      position: (85, 9),
                     },
                    ],
                   },
                   Variable {
                    identifier: "false",
                    position: (85, 19),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (86, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "Format HDFS namenode on first start. This is useful for quickly spinning up\nephemeral HDFS clusters with a single namenode.\nFor HA clusters, initialization involves multiple steps across multiple nodes.\nFollow this guide to initialize an HA cluster manually:\n<link xlink:href=\"https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html\"/>\n",
                     },
                    ],
                    position: (86, 23),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (83, 31),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (82, 74),
           },
          ],
          position: (82, 71),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "datanode",
            position: (96, 5),
           },
          ],
         },
         BinaryOperation {
          operator: Update,
          operands: [
           FunctionApplication {
            function: Variable {
             identifier: "hadoopServiceOption",
             position: (96, 16),
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "serviceName",
                   position: (96, 38),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "HDFS DataNode",
                  },
                 ],
                 position: (96, 52),
                },
               ),
              ],
              recursive: false,
              position: (96, 36),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "dataDirs",
                 position: (97, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "mkOption",
                position: (97, 18),
               },
               arguments: [
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "default",
                      position: (98, 9),
                     },
                    ],
                   },
                   Variable {
                    identifier: "null",
                    position: (98, 19),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (99, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "Tier and path definitions for datanode storage.",
                     },
                    ],
                    position: (99, 23),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "type",
                      position: (100, 9),
                     },
                    ],
                   },
                   With {
                    expression: Variable {
                     identifier: "types",
                     position: (100, 21),
                    },
                    target: FunctionApplication {
                     function: Variable {
                      identifier: "nullOr",
                      position: (100, 28),
                     },
                     arguments: [
                      FunctionApplication {
                       function: Variable {
                        identifier: "listOf",
                        position: (100, 36),
                       },
                       arguments: [
                        FunctionApplication {
                         function: Variable {
                          identifier: "submodule",
                          position: (100, 44),
                         },
                         arguments: [
                          Map {
                           bindings: [
                            KeyValue(
                             AttributePath {
                              attributes: [
                               Raw {
                                content: "options",
                                position: (101, 11),
                               },
                              ],
                             },
                             Map {
                              bindings: [
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "type",
                                   position: (102, 13),
                                  },
                                 ],
                                },
                                FunctionApplication {
                                 function: Variable {
                                  identifier: "mkOption",
                                  position: (102, 20),
                                 },
                                 arguments: [
                                  Map {
                                   bindings: [
                                    KeyValue(
                                     AttributePath {
                                      attributes: [
                                       Raw {
                                        content: "type",
                                        position: (103, 15),
                                       },
                                      ],
                                     },
                                     FunctionApplication {
                                      function: Variable {
                                       identifier: "enum",
                                       position: (103, 22),
                                      },
                                      arguments: [
                                       List {
                                        elements: [
                                         String {
                                          parts: [
                                           Raw {
                                            content: "SSD",
                                           },
                                          ],
                                          position: (103, 29),
                                         },
                                         String {
                                          parts: [
                                           Raw {
                                            content: "DISK",
                                           },
                                          ],
                                          position: (103, 35),
                                         },
                                         String {
                                          parts: [
                                           Raw {
                                            content: "ARCHIVE",
                                           },
                                          ],
                                          position: (103, 42),
                                         },
                                         String {
                                          parts: [
                                           Raw {
                                            content: "RAM_DISK",
                                           },
                                          ],
                                          position: (103, 52),
                                         },
                                        ],
                                        position: (103, 27),
                                       },
                                      ],
                                     },
                                    ),
                                    KeyValue(
                                     AttributePath {
                                      attributes: [
                                       Raw {
                                        content: "description",
                                        position: (104, 15),
                                       },
                                      ],
                                     },
                                     String {
                                      parts: [
                                       Raw {
                                        content: "Storage types ([SSD]/[DISK]/[ARCHIVE]/[RAM_DISK]) for HDFS storage policies.\n",
                                       },
                                      ],
                                      position: (104, 29),
                                     },
                                    ),
                                   ],
                                   recursive: false,
                                   position: (102, 29),
                                  },
                                 ],
                                },
                               ),
                               KeyValue(
                                AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "path",
                                   position: (108, 13),
                                  },
                                 ],
                                },
                                FunctionApplication {
                                 function: Variable {
                                  identifier: "mkOption",
                                  position: (108, 20),
                                 },
                                 arguments: [
                                  Map {
                                   bindings: [
                                    KeyValue(
                                     AttributePath {
                                      attributes: [
                                       Raw {
                                        content: "type",
                                        position: (109, 15),
                                       },
                                      ],
                                     },
                                     Variable {
                                      identifier: "path",
                                      position: (109, 22),
                                     },
                                    ),
                                    KeyValue(
                                     AttributePath {
                                      attributes: [
                                       Raw {
                                        content: "example",
                                        position: (110, 15),
                                       },
                                      ],
                                     },
                                     List {
                                      elements: [
                                       String {
                                        parts: [
                                         Raw {
                                          content: "/var/lib/hadoop/hdfs/dn",
                                         },
                                        ],
                                        position: (110, 27),
                                       },
                                      ],
                                      position: (110, 25),
                                     },
                                    ),
                                    KeyValue(
                                     AttributePath {
                                      attributes: [
                                       Raw {
                                        content: "description",
                                        position: (111, 15),
                                       },
                                      ],
                                     },
                                     String {
                                      parts: [
                                       Raw {
                                        content: "Determines where on the local filesystem a data node should store its blocks.",
                                       },
                                      ],
                                      position: (111, 29),
                                     },
                                    ),
                                   ],
                                   recursive: false,
                                   position: (108, 29),
                                  },
                                 ],
                                },
                               ),
                              ],
                              recursive: false,
                              position: (101, 21),
                             },
                            ),
                           ],
                           recursive: false,
                           position: (100, 54),
                          },
                         ],
                        },
                       ],
                      },
                     ],
                    },
                    position: (100, 16),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (97, 27),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (96, 74),
           },
          ],
          position: (96, 71),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "journalnode",
            position: (118, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "hadoopServiceOption",
           position: (118, 19),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceName",
                 position: (118, 41),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "HDFS JournalNode",
                },
               ],
               position: (118, 55),
              },
             ),
            ],
            recursive: false,
            position: (118, 39),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "zkfc",
            position: (120, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "hadoopServiceOption",
           position: (120, 12),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceName",
                 position: (121, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "HDFS ZooKeeper failover controller",
                },
               ],
               position: (121, 21),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "firewallOption",
                 position: (122, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (122, 24),
              },
             ),
            ],
            recursive: false,
            position: (120, 32),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "httpfs",
            position: (125, 5),
           },
          ],
         },
         BinaryOperation {
          operator: Update,
          operands: [
           FunctionApplication {
            function: Variable {
             identifier: "hadoopServiceOption",
             position: (125, 14),
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "serviceName",
                   position: (125, 36),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "HDFS JournalNode",
                  },
                 ],
                 position: (125, 50),
                },
               ),
              ],
              recursive: false,
              position: (125, 34),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "tempPath",
                 position: (126, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "mkOption",
                position: (126, 18),
               },
               arguments: [
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "type",
                      position: (127, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (127, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "path",
                       position: (127, 22),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "default",
                      position: (128, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "/tmp/hadoop/httpfs",
                     },
                    ],
                    position: (128, 19),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (129, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "HTTPFS_TEMP path used by HTTPFS",
                     },
                    ],
                    position: (129, 23),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (126, 27),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (125, 75),
           },
          ],
          position: (125, 72),
         },
        ),
       ],
       recursive: false,
       position: (80, 34),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (135, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkMerge",
        position: (135, 12),
       },
       arguments: [
        List {
         elements: [
          FunctionApplication {
           function: Variable {
            identifier: "hadoopServiceConfig",
            position: (136, 6),
           },
           arguments: [
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "name",
                  position: (137, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "NameNode",
                 },
                ],
                position: (137, 14),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "allowedTCPPorts",
                  position: (138, 7),
                 },
                ],
               },
               List {
                elements: [
                 Int {
                  value: 9870,
                  position: (139, 9),
                 },
                 Int {
                  value: 8020,
                  position: (140, 9),
                 },
                 Int {
                  value: 8022,
                  position: (141, 9),
                 },
                 Int {
                  value: 8019,
                  position: (142, 9),
                 },
                ],
                position: (138, 25),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "preStart",
                  position: (144, 7),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkIf",
                 position: (144, 19),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (144, 24),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "hdfs",
                     position: (144, 28),
                    },
                    Raw {
                     content: "namenode",
                     position: (144, 33),
                    },
                    Raw {
                     content: "formatOnInit",
                     position: (144, 42),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (145, 12),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "package",
                        position: (145, 16),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/bin/hdfs --config ",
                   },
                   Expression {
                    expression: Variable {
                     identifier: "hadoopConf",
                     position: (145, 45),
                    },
                   },
                   Raw {
                    content: " namenode -format -nonInteractive || true",
                   },
                  ],
                  position: (145, 9),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (136, 26),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "hadoopServiceConfig",
            position: (149, 6),
           },
           arguments: [
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "name",
                  position: (150, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "DataNode",
                 },
                ],
                position: (150, 14),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "allowedTCPPorts",
                  position: (152, 7),
                 },
                ],
               },
               IfThenElse {
                predicate: FunctionApplication {
                 function: Variable {
                  identifier: "versionAtLeast",
                  position: (152, 28),
                 },
                 arguments: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (152, 43),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "package",
                      position: (152, 47),
                     },
                     Raw {
                      content: "version",
                      position: (152, 55),
                     },
                    ],
                   },
                   default: None,
                  },
                  String {
                   parts: [
                    Raw {
                     content: "3",
                    },
                   ],
                   position: (152, 63),
                  },
                 ],
                },
                then: List {
                 elements: [
                  Int {
                   value: 9864,
                   position: (153, 9),
                  },
                  Int {
                   value: 9866,
                   position: (154, 9),
                  },
                  Int {
                   value: 9867,
                   position: (155, 9),
                  },
                 ],
                 position: (152, 72),
                },
                else_: List {
                 elements: [
                  Int {
                   value: 50075,
                   position: (157, 9),
                  },
                  Int {
                   value: 50010,
                   position: (158, 9),
                  },
                  Int {
                   value: 50020,
                   position: (159, 9),
                  },
                 ],
                 position: (156, 14),
                },
                position: (152, 25),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "extraConfig",
                  position: (161, 7),
                 },
                 Raw {
                  content: "services",
                  position: (161, 19),
                 },
                 Raw {
                  content: "hadoop",
                  position: (161, 28),
                 },
                 Raw {
                  content: "hdfsSiteInternal",
                  position: (161, 35),
                 },
                 Expression {
                  expression: __StringParts(
                   [
                    Raw {
                     content: "dfs.datanode.data.dir",
                    },
                   ],
                  ),
                 },
                ],
               },
               LetIn {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "d",
                     position: (161, 82),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (161, 86),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "hdfs",
                      position: (161, 90),
                     },
                     Raw {
                      content: "datanode",
                      position: (161, 95),
                     },
                     Raw {
                      content: "dataDirs",
                      position: (161, 104),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                ],
                target: IfThenElse {
                 predicate: BinaryOperation {
                  operator: NotEqualTo,
                  operands: [
                   Variable {
                    identifier: "d",
                    position: (162, 13),
                   },
                   Variable {
                    identifier: "null",
                    position: (162, 17),
                   },
                  ],
                  position: (162, 14),
                 },
                 then: FunctionApplication {
                  function: Variable {
                   identifier: "concatMapStringsSep",
                   position: (162, 29),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: ",",
                     },
                    ],
                    position: (162, 49),
                   },
                   Function {
                    argument: Some(
                     "x",
                    ),
                    arguments: FunctionArguments {
                     arguments: [],
                     ellipsis: false,
                    },
                    definition: BinaryOperation {
                     operator: Addition,
                     operands: [
                      BinaryOperation {
                       operator: Addition,
                       operands: [
                        BinaryOperation {
                         operator: Addition,
                         operands: [
                          String {
                           parts: [
                            Raw {
                             content: "[",
                            },
                           ],
                           position: (162, 57),
                          },
                          PropertyAccess {
                           expression: Variable {
                            identifier: "x",
                            position: (162, 61),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "type",
                              position: (162, 63),
                             },
                            ],
                           },
                           default: None,
                          },
                         ],
                         position: (162, 60),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "]file://",
                          },
                         ],
                         position: (162, 68),
                        },
                       ],
                       position: (162, 67),
                      },
                      PropertyAccess {
                       expression: Variable {
                        identifier: "x",
                        position: (162, 79),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "path",
                          position: (162, 81),
                         },
                        ],
                       },
                       default: None,
                      },
                     ],
                     position: (162, 78),
                    },
                    position: (162, 54),
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (162, 87),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "hdfs",
                       position: (162, 91),
                      },
                      Raw {
                       content: "datanode",
                       position: (162, 96),
                      },
                      Raw {
                       content: "dataDirs",
                       position: (162, 105),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                 else_: Variable {
                  identifier: "d",
                  position: (162, 120),
                 },
                 position: (162, 9),
                },
                position: (161, 78),
               },
              ),
             ],
             recursive: false,
             position: (149, 26),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "hadoopServiceConfig",
            position: (165, 6),
           },
           arguments: [
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "name",
                  position: (166, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "JournalNode",
                 },
                ],
                position: (166, 14),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "allowedTCPPorts",
                  position: (167, 7),
                 },
                ],
               },
               List {
                elements: [
                 Int {
                  value: 8480,
                  position: (168, 9),
                 },
                 Int {
                  value: 8485,
                  position: (169, 9),
                 },
                ],
                position: (167, 25),
               },
              ),
             ],
             recursive: false,
             position: (165, 26),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "hadoopServiceConfig",
            position: (173, 6),
           },
           arguments: [
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "name",
                  position: (174, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "zkfc",
                 },
                ],
                position: (174, 14),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "description",
                  position: (175, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "Hadoop HDFS ZooKeeper failover controller",
                 },
                ],
                position: (175, 21),
               },
              ),
             ],
             recursive: false,
             position: (173, 26),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "hadoopServiceConfig",
            position: (178, 6),
           },
           arguments: [
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "name",
                  position: (179, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "HTTPFS",
                 },
                ],
                position: (179, 14),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "environment",
                  position: (180, 7),
                 },
                 Raw {
                  content: "HTTPFS_TEMP",
                  position: (180, 19),
                 },
                ],
               },
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (180, 33),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "hdfs",
                   position: (180, 37),
                  },
                  Raw {
                   content: "httpfs",
                   position: (180, 42),
                  },
                  Raw {
                   content: "tempPath",
                   position: (180, 49),
                  },
                 ],
                },
                default: None,
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "preStart",
                  position: (181, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "mkdir -p $HTTPFS_TEMP",
                 },
                ],
                position: (181, 18),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "User",
                  position: (182, 7),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "httpfs",
                 },
                ],
                position: (182, 14),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "allowedTCPPorts",
                  position: (183, 7),
                 },
                ],
               },
               List {
                elements: [
                 Int {
                  value: 14000,
                  position: (184, 9),
                 },
                ],
                position: (183, 25),
               },
              ),
             ],
             recursive: false,
             position: (178, 26),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (188, 6),
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (188, 11),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "gatewayRole",
                position: (188, 15),
               },
               Raw {
                content: "enable",
                position: (188, 27),
               },
              ],
             },
             default: None,
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "users",
                  position: (189, 7),
                 },
                 Raw {
                  content: "users",
                  position: (189, 13),
                 },
                 Raw {
                  content: "hdfs",
                  position: (189, 19),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (190, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Hadoop HDFS user",
                    },
                   ],
                   position: (190, 23),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "group",
                     position: (191, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "hadoop",
                    },
                   ],
                   position: (191, 17),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "uid",
                     position: (192, 9),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "config",
                    position: (192, 15),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "ids",
                      position: (192, 22),
                     },
                     Raw {
                      content: "uids",
                      position: (192, 26),
                     },
                     Raw {
                      content: "hdfs",
                      position: (192, 31),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                ],
                recursive: false,
                position: (189, 26),
               },
              ),
             ],
             recursive: false,
             position: (188, 34),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (195, 6),
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (195, 11),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "hdfs",
                position: (195, 15),
               },
               Raw {
                content: "httpfs",
                position: (195, 20),
               },
               Raw {
                content: "enable",
                position: (195, 27),
               },
              ],
             },
             default: None,
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "users",
                  position: (196, 7),
                 },
                 Raw {
                  content: "users",
                  position: (196, 13),
                 },
                 Raw {
                  content: "httpfs",
                  position: (196, 19),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (197, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Hadoop HTTPFS user",
                    },
                   ],
                   position: (197, 23),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "group",
                     position: (198, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "hadoop",
                    },
                   ],
                   position: (198, 17),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "isSystemUser",
                     position: (199, 9),
                    },
                   ],
                  },
                  Variable {
                   identifier: "true",
                   position: (199, 24),
                  },
                 ),
                ],
                recursive: false,
                position: (196, 28),
               },
              ),
             ],
             recursive: false,
             position: (195, 34),
            },
           ],
          },
         ],
         position: (135, 20),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (79, 1),
   },
   position: (3, 1),
  },
  position: (2, 1),
 },
 position: (1, 1),
}