---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (2, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (4, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (4, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (4, 16),
        },
        Raw {
         content: "hadoop",
         position: (4, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "hadoopConf",
        position: (5, 3),
       },
      ],
     },
     String {
      parts: [
       Expression {
        expression: FunctionApplication {
         function: Variable {
          identifier: "import",
          position: (5, 19),
         },
         arguments: [
          Path {
           parts: [
            Raw {
             content: "./conf.nix",
             position: (5, 26),
            },
           ],
          },
          Map {
           bindings: [
            Inherit(
             None,
             [
              Raw {
               content: "cfg",
               position: (5, 47),
              },
              Raw {
               content: "pkgs",
               position: (5, 51),
              },
              Raw {
               content: "lib",
               position: (5, 56),
              },
             ],
            ),
           ],
           recursive: false,
           position: (5, 37),
          },
         ],
        },
       },
       Raw {
        content: "/",
        position: (5, 63),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "restartIfChanged",
        position: (6, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkOption",
       position: (6, 23),
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "type",
             position: (7, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "types",
            position: (7, 12),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "bool",
              position: (7, 18),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "description",
             position: (8, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "Automatically restart the service on config change.\nThis can be set to false to defer restarts on clusters running critical applications.\nPlease consider the security implications of inadvertently running an older version,\nand the possibility of unexpected behavior caused by inconsistent versions across a cluster when disabling this option.\n",
             position: (9, 1),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "default",
             position: (14, 5),
            },
           ],
          },
          Variable {
           identifier: "false",
           position: (14, 15),
          },
         ),
        ],
        recursive: false,
        position: (6, 32),
       },
      ],
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (18, 3),
        },
        Raw {
         content: "services",
         position: (18, 11),
        },
        Raw {
         content: "hadoop",
         position: (18, 20),
        },
        Raw {
         content: "hdfs",
         position: (18, 27),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "namenode",
            position: (19, 5),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (20, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (20, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Whether to run the HDFS NameNode",
                 position: (20, 32),
                },
               ],
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "formatOnInit",
               position: (21, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (21, 22),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (22, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (22, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (22, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (23, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (23, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (24, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Format HDFS namenode on first start. This is useful for quickly spinning up ephemeral HDFS clusters with a single namenode.\nFor HA clusters, initialization involves multiple steps across multiple nodes. Follow [this guide](https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html)\nto initialize an HA cluster manually.\n",
                    position: (25, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (21, 31),
              },
             ],
            },
           ),
           Inherit(
            None,
            [
             Raw {
              content: "restartIfChanged",
              position: (30, 15),
             },
            ],
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "openFirewall",
               position: (31, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (31, 22),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (32, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (32, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (32, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (33, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (33, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (34, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Open firewall ports for namenode\n",
                    position: (35, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (31, 31),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (19, 16),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "datanode",
            position: (39, 5),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (40, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (40, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Whether to run the HDFS DataNode",
                 position: (40, 32),
                },
               ],
              },
             ],
            },
           ),
           Inherit(
            None,
            [
             Raw {
              content: "restartIfChanged",
              position: (41, 15),
             },
            ],
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "openFirewall",
               position: (42, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (42, 22),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (43, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (43, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (43, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (44, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (44, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (45, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Open firewall ports for datanode\n",
                    position: (46, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (42, 31),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (39, 16),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "journalnode",
            position: (50, 5),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (51, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (51, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Whether to run the HDFS JournalNode",
                 position: (51, 32),
                },
               ],
              },
             ],
            },
           ),
           Inherit(
            None,
            [
             Raw {
              content: "restartIfChanged",
              position: (52, 15),
             },
            ],
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "openFirewall",
               position: (53, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (53, 22),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (54, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (54, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (54, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (55, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (55, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (56, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Open firewall ports for journalnode\n",
                    position: (57, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (53, 31),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (50, 19),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "zkfc",
            position: (61, 5),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (62, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (62, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Whether to run the HDFS ZooKeeper failover controller",
                 position: (62, 32),
                },
               ],
              },
             ],
            },
           ),
           Inherit(
            None,
            [
             Raw {
              content: "restartIfChanged",
              position: (63, 15),
             },
            ],
           ),
          ],
          recursive: false,
          position: (61, 12),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "httpfs",
            position: (65, 5),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (66, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (66, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Whether to run the HDFS HTTPfs server",
                 position: (66, 32),
                },
               ],
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "tempPath",
               position: (67, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (67, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (68, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (68, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "path",
                     position: (68, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (69, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "/tmp/hadoop/httpfs",
                    position: (69, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (70, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "HTTPFS_TEMP path used by HTTPFS\n",
                    position: (71, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (67, 27),
              },
             ],
            },
           ),
           Inherit(
            None,
            [
             Raw {
              content: "restartIfChanged",
              position: (74, 15),
             },
            ],
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "openFirewall",
               position: (75, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (75, 22),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (76, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (76, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (76, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (77, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (77, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (78, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Open firewall ports for HTTPFS\n",
                    position: (79, 1),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (75, 31),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (65, 14),
         },
        ),
       ],
       recursive: false,
       position: (18, 34),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (85, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkMerge",
        position: (85, 12),
       },
       arguments: [
        List {
         elements: [
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (86, 6),
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (86, 11),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "hdfs",
                position: (86, 15),
               },
               Raw {
                content: "namenode",
                position: (86, 20),
               },
               Raw {
                content: "enable",
                position: (86, 29),
               },
              ],
             },
             default: None,
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "systemd",
                  position: (87, 7),
                 },
                 Raw {
                  content: "services",
                  position: (87, 15),
                 },
                 Raw {
                  content: "hdfs-namenode",
                  position: (87, 24),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (88, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Hadoop HDFS NameNode",
                     position: (88, 24),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "wantedBy",
                     position: (89, 9),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "multi-user.target",
                       position: (89, 23),
                      },
                     ],
                    },
                   ],
                   position: (89, 20),
                  },
                 ),
                 Inherit(
                  Some(
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (90, 18),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "hdfs",
                       position: (90, 22),
                      },
                      Raw {
                       content: "namenode",
                       position: (90, 27),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  [
                   Raw {
                    content: "restartIfChanged",
                    position: (90, 37),
                   },
                  ],
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "preStart",
                     position: (92, 9),
                    },
                   ],
                  },
                  FunctionApplication {
                   function: Variable {
                    identifier: "mkIf",
                    position: (92, 21),
                   },
                   arguments: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (92, 26),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "hdfs",
                        position: (92, 30),
                       },
                       Raw {
                        content: "namenode",
                        position: (92, 35),
                       },
                       Raw {
                        content: "formatOnInit",
                        position: (92, 44),
                       },
                      ],
                     },
                     default: None,
                    },
                    String {
                     parts: [
                      Raw {
                       content: "",
                       position: (93, 1),
                      },
                      Expression {
                       expression: PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (93, 13),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "package",
                           position: (93, 17),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Raw {
                       content: "/bin/hdfs --config ",
                       position: (93, 25),
                      },
                      Expression {
                       expression: Variable {
                        identifier: "hadoopConf",
                        position: (93, 46),
                       },
                      },
                      Raw {
                       content: " namenode -format -nonInteractive || true\n",
                       position: (93, 57),
                      },
                     ],
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "serviceConfig",
                     position: (96, 9),
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "User",
                        position: (97, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs",
                        position: (97, 19),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "SyslogIdentifier",
                        position: (98, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs-namenode",
                        position: (98, 31),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "ExecStart",
                        position: (99, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (99, 26),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "package",
                            position: (99, 30),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/hdfs --config ",
                        position: (99, 38),
                       },
                       Expression {
                        expression: Variable {
                         identifier: "hadoopConf",
                         position: (99, 59),
                        },
                       },
                       Raw {
                        content: " namenode",
                        position: (99, 70),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "Restart",
                        position: (100, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "always",
                        position: (100, 22),
                       },
                      ],
                     },
                    ),
                   ],
                   recursive: false,
                   position: (96, 25),
                  },
                 ),
                ],
                recursive: false,
                position: (87, 40),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "networking",
                  position: (104, 7),
                 },
                 Raw {
                  content: "firewall",
                  position: (104, 18),
                 },
                 Raw {
                  content: "allowedTCPPorts",
                  position: (104, 27),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkIf",
                 position: (104, 46),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (104, 51),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "hdfs",
                     position: (104, 55),
                    },
                    Raw {
                     content: "namenode",
                     position: (104, 60),
                    },
                    Raw {
                     content: "openFirewall",
                     position: (104, 69),
                    },
                   ],
                  },
                  default: None,
                 },
                 List {
                  elements: [
                   Int {
                    value: 9870,
                    position: (105, 9),
                   },
                   Int {
                    value: 8020,
                    position: (106, 9),
                   },
                   Int {
                    value: 8022,
                    position: (107, 9),
                   },
                  ],
                  position: (104, 82),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (86, 36),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (110, 6),
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (110, 11),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "hdfs",
                position: (110, 15),
               },
               Raw {
                content: "datanode",
                position: (110, 20),
               },
               Raw {
                content: "enable",
                position: (110, 29),
               },
              ],
             },
             default: None,
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "systemd",
                  position: (111, 7),
                 },
                 Raw {
                  content: "services",
                  position: (111, 15),
                 },
                 Raw {
                  content: "hdfs-datanode",
                  position: (111, 24),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (112, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Hadoop HDFS DataNode",
                     position: (112, 24),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "wantedBy",
                     position: (113, 9),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "multi-user.target",
                       position: (113, 23),
                      },
                     ],
                    },
                   ],
                   position: (113, 20),
                  },
                 ),
                 Inherit(
                  Some(
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (114, 18),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "hdfs",
                       position: (114, 22),
                      },
                      Raw {
                       content: "datanode",
                       position: (114, 27),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  [
                   Raw {
                    content: "restartIfChanged",
                    position: (114, 37),
                   },
                  ],
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "serviceConfig",
                     position: (116, 9),
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "User",
                        position: (117, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs",
                        position: (117, 19),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "SyslogIdentifier",
                        position: (118, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs-datanode",
                        position: (118, 31),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "ExecStart",
                        position: (119, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (119, 26),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "package",
                            position: (119, 30),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/hdfs --config ",
                        position: (119, 38),
                       },
                       Expression {
                        expression: Variable {
                         identifier: "hadoopConf",
                         position: (119, 59),
                        },
                       },
                       Raw {
                        content: " datanode",
                        position: (119, 70),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "Restart",
                        position: (120, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "always",
                        position: (120, 22),
                       },
                      ],
                     },
                    ),
                   ],
                   recursive: false,
                   position: (116, 25),
                  },
                 ),
                ],
                recursive: false,
                position: (111, 40),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "networking",
                  position: (124, 7),
                 },
                 Raw {
                  content: "firewall",
                  position: (124, 18),
                 },
                 Raw {
                  content: "allowedTCPPorts",
                  position: (124, 27),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkIf",
                 position: (124, 46),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (124, 51),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "hdfs",
                     position: (124, 55),
                    },
                    Raw {
                     content: "datanode",
                     position: (124, 60),
                    },
                    Raw {
                     content: "openFirewall",
                     position: (124, 69),
                    },
                   ],
                  },
                  default: None,
                 },
                 List {
                  elements: [
                   Int {
                    value: 9864,
                    position: (125, 9),
                   },
                   Int {
                    value: 9866,
                    position: (126, 9),
                   },
                   Int {
                    value: 9867,
                    position: (127, 9),
                   },
                  ],
                  position: (124, 82),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (110, 36),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (130, 6),
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (130, 11),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "hdfs",
                position: (130, 15),
               },
               Raw {
                content: "journalnode",
                position: (130, 20),
               },
               Raw {
                content: "enable",
                position: (130, 32),
               },
              ],
             },
             default: None,
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "systemd",
                  position: (131, 7),
                 },
                 Raw {
                  content: "services",
                  position: (131, 15),
                 },
                 Raw {
                  content: "hdfs-journalnode",
                  position: (131, 24),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (132, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Hadoop HDFS JournalNode",
                     position: (132, 24),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "wantedBy",
                     position: (133, 9),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "multi-user.target",
                       position: (133, 23),
                      },
                     ],
                    },
                   ],
                   position: (133, 20),
                  },
                 ),
                 Inherit(
                  Some(
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (134, 18),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "hdfs",
                       position: (134, 22),
                      },
                      Raw {
                       content: "journalnode",
                       position: (134, 27),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  [
                   Raw {
                    content: "restartIfChanged",
                    position: (134, 40),
                   },
                  ],
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "serviceConfig",
                     position: (136, 9),
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "User",
                        position: (137, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs",
                        position: (137, 19),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "SyslogIdentifier",
                        position: (138, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs-journalnode",
                        position: (138, 31),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "ExecStart",
                        position: (139, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (139, 26),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "package",
                            position: (139, 30),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/hdfs --config ",
                        position: (139, 38),
                       },
                       Expression {
                        expression: Variable {
                         identifier: "hadoopConf",
                         position: (139, 59),
                        },
                       },
                       Raw {
                        content: " journalnode",
                        position: (139, 70),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "Restart",
                        position: (140, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "always",
                        position: (140, 22),
                       },
                      ],
                     },
                    ),
                   ],
                   recursive: false,
                   position: (136, 25),
                  },
                 ),
                ],
                recursive: false,
                position: (131, 43),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "networking",
                  position: (144, 7),
                 },
                 Raw {
                  content: "firewall",
                  position: (144, 18),
                 },
                 Raw {
                  content: "allowedTCPPorts",
                  position: (144, 27),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkIf",
                 position: (144, 46),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (144, 51),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "hdfs",
                     position: (144, 55),
                    },
                    Raw {
                     content: "journalnode",
                     position: (144, 60),
                    },
                    Raw {
                     content: "openFirewall",
                     position: (144, 72),
                    },
                   ],
                  },
                  default: None,
                 },
                 List {
                  elements: [
                   Int {
                    value: 8480,
                    position: (145, 9),
                   },
                   Int {
                    value: 8485,
                    position: (146, 9),
                   },
                  ],
                  position: (144, 85),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (130, 39),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (149, 6),
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (149, 11),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "hdfs",
                position: (149, 15),
               },
               Raw {
                content: "zkfc",
                position: (149, 20),
               },
               Raw {
                content: "enable",
                position: (149, 25),
               },
              ],
             },
             default: None,
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "systemd",
                  position: (150, 7),
                 },
                 Raw {
                  content: "services",
                  position: (150, 15),
                 },
                 Raw {
                  content: "hdfs-zkfc",
                  position: (150, 24),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (151, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Hadoop HDFS ZooKeeper failover controller",
                     position: (151, 24),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "wantedBy",
                     position: (152, 9),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "multi-user.target",
                       position: (152, 23),
                      },
                     ],
                    },
                   ],
                   position: (152, 20),
                  },
                 ),
                 Inherit(
                  Some(
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (153, 18),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "hdfs",
                       position: (153, 22),
                      },
                      Raw {
                       content: "zkfc",
                       position: (153, 27),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  [
                   Raw {
                    content: "restartIfChanged",
                    position: (153, 33),
                   },
                  ],
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "serviceConfig",
                     position: (155, 9),
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "User",
                        position: (156, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs",
                        position: (156, 19),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "SyslogIdentifier",
                        position: (157, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs-zkfc",
                        position: (157, 31),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "ExecStart",
                        position: (158, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (158, 26),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "package",
                            position: (158, 30),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/hdfs --config ",
                        position: (158, 38),
                       },
                       Expression {
                        expression: Variable {
                         identifier: "hadoopConf",
                         position: (158, 59),
                        },
                       },
                       Raw {
                        content: " zkfc",
                        position: (158, 70),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "Restart",
                        position: (159, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "always",
                        position: (159, 22),
                       },
                      ],
                     },
                    ),
                   ],
                   recursive: false,
                   position: (155, 25),
                  },
                 ),
                ],
                recursive: false,
                position: (150, 36),
               },
              ),
             ],
             recursive: false,
             position: (149, 32),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (163, 6),
           },
           arguments: [
            PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (163, 11),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "hdfs",
                position: (163, 15),
               },
               Raw {
                content: "httpfs",
                position: (163, 20),
               },
               Raw {
                content: "enable",
                position: (163, 27),
               },
              ],
             },
             default: None,
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "systemd",
                  position: (164, 7),
                 },
                 Raw {
                  content: "services",
                  position: (164, 15),
                 },
                 Raw {
                  content: "hdfs-httpfs",
                  position: (164, 24),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "description",
                     position: (165, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "Hadoop httpfs",
                     position: (165, 24),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "wantedBy",
                     position: (166, 9),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "multi-user.target",
                       position: (166, 23),
                      },
                     ],
                    },
                   ],
                   position: (166, 20),
                  },
                 ),
                 Inherit(
                  Some(
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (167, 18),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "hdfs",
                       position: (167, 22),
                      },
                      Raw {
                       content: "httpfs",
                       position: (167, 27),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  [
                   Raw {
                    content: "restartIfChanged",
                    position: (167, 35),
                   },
                  ],
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "environment",
                     position: (169, 9),
                    },
                    Raw {
                     content: "HTTPFS_TEMP",
                     position: (169, 21),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (169, 35),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "hdfs",
                      position: (169, 39),
                     },
                     Raw {
                      content: "httpfs",
                      position: (169, 44),
                     },
                     Raw {
                      content: "tempPath",
                      position: (169, 51),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "preStart",
                     position: (171, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "mkdir -p $HTTPFS_TEMP\n",
                     position: (172, 1),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "serviceConfig",
                     position: (175, 9),
                    },
                   ],
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "User",
                        position: (176, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "httpfs",
                        position: (176, 19),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "SyslogIdentifier",
                        position: (177, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "hdfs-httpfs",
                        position: (177, 31),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "ExecStart",
                        position: (178, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (178, 26),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "package",
                            position: (178, 30),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/hdfs --config ",
                        position: (178, 38),
                       },
                       Expression {
                        expression: Variable {
                         identifier: "hadoopConf",
                         position: (178, 59),
                        },
                       },
                       Raw {
                        content: " httpfs",
                        position: (178, 70),
                       },
                      ],
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "Restart",
                        position: (179, 11),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "always",
                        position: (179, 22),
                       },
                      ],
                     },
                    ),
                   ],
                   recursive: false,
                   position: (175, 25),
                  },
                 ),
                ],
                recursive: false,
                position: (164, 38),
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "networking",
                  position: (182, 7),
                 },
                 Raw {
                  content: "firewall",
                  position: (182, 18),
                 },
                 Raw {
                  content: "allowedTCPPorts",
                  position: (182, 27),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkIf",
                 position: (182, 46),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (182, 51),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "hdfs",
                     position: (182, 55),
                    },
                    Raw {
                     content: "httpfs",
                     position: (182, 60),
                    },
                    Raw {
                     content: "openFirewall",
                     position: (182, 67),
                    },
                   ],
                  },
                  default: None,
                 },
                 List {
                  elements: [
                   Int {
                    value: 14000,
                    position: (183, 9),
                   },
                  ],
                  position: (182, 80),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (163, 34),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (186, 6),
           },
           arguments: [
            BinaryOperation {
             operator: LogicalOr,
             operands: [
              BinaryOperation {
               operator: LogicalOr,
               operands: [
                BinaryOperation {
                 operator: LogicalOr,
                 operands: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (187, 9),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "hdfs",
                      position: (187, 13),
                     },
                     Raw {
                      content: "namenode",
                      position: (187, 18),
                     },
                     Raw {
                      content: "enable",
                      position: (187, 27),
                     },
                    ],
                   },
                   default: None,
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (187, 37),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "hdfs",
                      position: (187, 41),
                     },
                     Raw {
                      content: "datanode",
                      position: (187, 46),
                     },
                     Raw {
                      content: "enable",
                      position: (187, 55),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                 position: (187, 34),
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (187, 65),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "hdfs",
                    position: (187, 69),
                   },
                   Raw {
                    content: "journalnode",
                    position: (187, 74),
                   },
                   Raw {
                    content: "enable",
                    position: (187, 86),
                   },
                  ],
                 },
                 default: None,
                },
               ],
               position: (187, 62),
              },
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (187, 96),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "hdfs",
                  position: (187, 100),
                 },
                 Raw {
                  content: "zkfc",
                  position: (187, 105),
                 },
                 Raw {
                  content: "enable",
                  position: (187, 110),
                 },
                ],
               },
               default: None,
              },
             ],
             position: (187, 93),
            },
            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, 24),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "group",
                     position: (191, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "hadoop",
                     position: (191, 18),
                    },
                   ],
                  },
                 ),
                 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, 7),
            },
           ],
          },
          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, 24),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "group",
                     position: (198, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "hadoop",
                     position: (198, 18),
                    },
                   ],
                  },
                 ),
                 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: (85, 20),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (17, 1),
   },
   position: (3, 1),
  },
  position: (2, 1),
 },
 position: (1, 1),
}