Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 2, column: 6, }, end: Position { line: 2, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 24, }, }, }, ), Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 4, column: 25, }, end: Position { line: 4, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultUser", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 5, column: 18, }, end: Position { line: 5, column: 25, }, }, }, ), ], span: Span { start: Position { line: 5, column: 17, }, end: Position { line: 5, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultGroup", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 6, column: 19, }, end: Position { line: 6, column: 26, }, }, }, ), ], span: Span { start: Position { line: 6, column: 18, }, end: Position { line: 6, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "format", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 7, column: 12, }, end: Position { line: 7, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 7, column: 17, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "yaml", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 7, column: 30, }, end: Position { line: 7, column: 33, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 10, column: 13, }, end: Position { line: 10, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 10, column: 18, }, end: Position { line: 10, column: 25, }, }, }, ), Raw( PartRaw { content: "override", span: Span { start: Position { line: 10, column: 26, }, end: Position { line: 10, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pythonPackages", span: Span { start: Position { line: 10, column: 37, }, end: Position { line: 10, column: 51, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 10, column: 54, }, end: Position { line: 10, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "python39Packages", span: Span { start: Position { line: 10, column: 59, }, end: Position { line: 10, column: 75, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 10, column: 35, }, end: Position { line: 10, column: 78, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFileName", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "patroni-", span: Span { start: Position { line: 12, column: 21, }, end: Position { line: 12, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 31, }, end: Position { line: 12, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "scope", span: Span { start: Position { line: 12, column: 35, }, end: Position { line: 12, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "-", span: Span { start: Position { line: 12, column: 21, }, end: Position { line: 12, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 44, }, end: Position { line: 12, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 12, column: 48, }, end: Position { line: 12, column: 52, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ".yaml", span: Span { start: Position { line: 12, column: 21, }, end: Position { line: 12, column: 58, }, }, }, ), ], span: Span { start: Position { line: 12, column: 20, }, end: Position { line: 12, column: 59, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "format", span: Span { start: Position { line: 13, column: 16, }, end: Position { line: 13, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "generate", span: Span { start: Position { line: 13, column: 23, }, end: Position { line: 13, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "configFileName", span: Span { start: Position { line: 13, column: 32, }, end: Position { line: 13, column: 46, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 13, column: 47, }, end: Position { line: 13, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 13, column: 51, }, end: Position { line: 13, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 16, column: 3, }, end: Position { line: 16, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 16, column: 11, }, end: Position { line: 16, column: 19, }, }, }, ), Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 16, column: 20, }, end: Position { line: 16, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 18, column: 14, }, end: Position { line: 18, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 18, column: 30, }, end: Position { line: 18, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 18, column: 34, }, end: Position { line: 18, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Patroni", span: Span { start: Position { line: 18, column: 41, }, end: Position { line: 18, column: 48, }, }, }, ), ], span: Span { start: Position { line: 18, column: 40, }, end: Position { line: 18, column: 49, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postgresqlPackage", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 20, column: 25, }, end: Position { line: 20, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 21, column: 14, }, end: Position { line: 21, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 21, column: 20, }, end: Position { line: 21, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 34, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.postgresql_14", span: Span { start: Position { line: 22, column: 36, }, end: Position { line: 22, column: 54, }, }, }, ), ], span: Span { start: Position { line: 22, column: 35, }, end: Position { line: 22, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 23, column: 21, }, end: Position { line: 23, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "PostgreSQL package to use.\nPlugins can be enabled like this `pkgs.postgresql_14.withPackages (p: [ p.pg_safeupdate p.postgis ])`.\n", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 26, column: 7, }, }, }, ), ], span: Span { start: Position { line: 23, column: 27, }, end: Position { line: 26, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 20, column: 34, }, end: Position { line: 27, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postgresqlDataDir", span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 29, column: 25, }, end: Position { line: 29, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 30, column: 14, }, end: Position { line: 30, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 30, column: 20, }, end: Position { line: 30, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 31, column: 21, }, end: Position { line: 31, column: 38, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"/var/lib/postgresql/", span: Span { start: Position { line: 31, column: 41, }, end: Position { line: 31, column: 62, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 31, column: 41, }, end: Position { line: 31, column: 65, }, }, }, ), Raw( PartRaw { content: "{config.services.patroni.postgresqlPackage.psqlSchema}\"", span: Span { start: Position { line: 31, column: 41, }, end: Position { line: 31, column: 120, }, }, }, ), ], span: Span { start: Position { line: 31, column: 39, }, end: Position { line: 31, column: 122, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/postgresql/14", span: Span { start: Position { line: 32, column: 18, }, end: Position { line: 32, column: 40, }, }, }, ), ], span: Span { start: Position { line: 32, column: 17, }, end: Position { line: 32, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/postgresql/", span: Span { start: Position { line: 33, column: 18, }, end: Position { line: 33, column: 73, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 33, column: 40, }, end: Position { line: 33, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresqlPackage", span: Span { start: Position { line: 33, column: 44, }, end: Position { line: 33, column: 61, }, }, }, ), Raw( PartRaw { content: "psqlSchema", span: Span { start: Position { line: 33, column: 62, }, end: Position { line: 33, column: 72, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 33, column: 17, }, end: Position { line: 33, column: 74, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 34, column: 21, }, end: Position { line: 34, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The data directory for PostgreSQL. If left as the default value\nthis directory will automatically be created before the PostgreSQL server starts, otherwise\nthe sysadmin is responsible for ensuring the directory exists with appropriate ownership\nand permissions.\n", span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 39, column: 7, }, }, }, ), ], span: Span { start: Position { line: 34, column: 27, }, end: Position { line: 39, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 34, }, end: Position { line: 40, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postgresqlPort", span: Span { start: Position { line: 42, column: 5, }, end: Position { line: 42, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 42, column: 22, }, end: Position { line: 42, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 43, column: 14, }, end: Position { line: 43, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 43, column: 20, }, end: Position { line: 43, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 14, }, }, }, ), ], to: Integer( Integer { value: "5432", span: Span { start: Position { line: 44, column: 17, }, end: Position { line: 44, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 45, column: 21, }, end: Position { line: 45, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The port on which PostgreSQL listens.\n", span: Span { start: Position { line: 46, column: 1, }, end: Position { line: 47, column: 7, }, }, }, ), ], span: Span { start: Position { line: 45, column: 27, }, end: Position { line: 47, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 42, column: 31, }, end: Position { line: 48, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 50, column: 12, }, end: Position { line: 50, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 51, column: 14, }, end: Position { line: 51, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 51, column: 20, }, end: Position { line: 51, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "defaultUser", span: Span { start: Position { line: 52, column: 17, }, end: Position { line: 52, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 53, column: 18, }, end: Position { line: 53, column: 26, }, }, }, ), ], span: Span { start: Position { line: 53, column: 17, }, end: Position { line: 53, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 54, column: 21, }, end: Position { line: 54, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The user for the service. If left as the default value this user will automatically be created,\notherwise the sysadmin is responsible for ensuring the user exists.\n", span: Span { start: Position { line: 55, column: 1, }, end: Position { line: 57, column: 7, }, }, }, ), ], span: Span { start: Position { line: 54, column: 27, }, end: Position { line: 57, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 50, column: 21, }, end: Position { line: 58, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 60, column: 5, }, end: Position { line: 60, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 13, }, end: Position { line: 60, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 61, column: 14, }, end: Position { line: 61, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 61, column: 20, }, end: Position { line: 61, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "defaultGroup", span: Span { start: Position { line: 62, column: 17, }, end: Position { line: 62, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 63, column: 18, }, end: Position { line: 63, column: 26, }, }, }, ), ], span: Span { start: Position { line: 63, column: 17, }, end: Position { line: 63, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 64, column: 21, }, end: Position { line: 64, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The group for the service. If left as the default value this group will automatically be created,\notherwise the sysadmin is responsible for ensuring the group exists.\n", span: Span { start: Position { line: 65, column: 1, }, end: Position { line: 67, column: 7, }, }, }, ), ], span: Span { start: Position { line: 64, column: 27, }, end: Position { line: 67, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 60, column: 22, }, end: Position { line: 68, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 70, column: 5, }, end: Position { line: 70, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 70, column: 15, }, end: Position { line: 70, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 71, column: 7, }, end: Position { line: 71, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 71, column: 14, }, end: Position { line: 71, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 71, column: 20, }, end: Position { line: 71, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 72, column: 7, }, end: Position { line: 72, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/patroni", span: Span { start: Position { line: 72, column: 18, }, end: Position { line: 72, column: 34, }, }, }, ), ], span: Span { start: Position { line: 72, column: 17, }, end: Position { line: 72, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 73, column: 21, }, end: Position { line: 73, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Folder where Patroni data will be written, used by Raft as well if enabled.\n", span: Span { start: Position { line: 74, column: 1, }, end: Position { line: 75, column: 7, }, }, }, ), ], span: Span { start: Position { line: 73, column: 27, }, end: Position { line: 75, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 70, column: 24, }, end: Position { line: 76, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "scope", span: Span { start: Position { line: 78, column: 5, }, end: Position { line: 78, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 78, column: 13, }, end: Position { line: 78, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 79, column: 14, }, end: Position { line: 79, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 79, column: 20, }, end: Position { line: 79, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "cluster1", span: Span { start: Position { line: 80, column: 18, }, end: Position { line: 80, column: 26, }, }, }, ), ], span: Span { start: Position { line: 80, column: 17, }, end: Position { line: 80, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 81, column: 7, }, end: Position { line: 81, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 81, column: 21, }, end: Position { line: 81, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Cluster name.\n", span: Span { start: Position { line: 82, column: 1, }, end: Position { line: 83, column: 7, }, }, }, ), ], span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 83, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 78, column: 22, }, end: Position { line: 84, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 86, column: 5, }, end: Position { line: 86, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 86, column: 12, }, end: Position { line: 86, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 87, column: 14, }, end: Position { line: 87, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 87, column: 20, }, end: Position { line: 87, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 88, column: 7, }, end: Position { line: 88, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "node1", span: Span { start: Position { line: 88, column: 18, }, end: Position { line: 88, column: 23, }, }, }, ), ], span: Span { start: Position { line: 88, column: 17, }, end: Position { line: 88, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 89, column: 7, }, end: Position { line: 89, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 89, column: 21, }, end: Position { line: 89, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The name of the host. Must be unique for the cluster.\n", span: Span { start: Position { line: 90, column: 1, }, end: Position { line: 91, column: 7, }, }, }, ), ], span: Span { start: Position { line: 89, column: 27, }, end: Position { line: 91, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 86, column: 21, }, end: Position { line: 92, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "namespace", span: Span { start: Position { line: 94, column: 5, }, end: Position { line: 94, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 94, column: 17, }, end: Position { line: 94, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 95, column: 7, }, end: Position { line: 95, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 95, column: 14, }, end: Position { line: 95, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 95, column: 20, }, end: Position { line: 95, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 96, column: 7, }, end: Position { line: 96, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/service", span: Span { start: Position { line: 96, column: 18, }, end: Position { line: 96, column: 26, }, }, }, ), ], span: Span { start: Position { line: 96, column: 17, }, end: Position { line: 96, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 97, column: 7, }, end: Position { line: 97, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 97, column: 21, }, end: Position { line: 97, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path within the configuration store where Patroni will keep information about the cluster.\n", span: Span { start: Position { line: 98, column: 1, }, end: Position { line: 99, column: 7, }, }, }, ), ], span: Span { start: Position { line: 97, column: 27, }, end: Position { line: 99, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 94, column: 26, }, end: Position { line: 100, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodeIp", span: Span { start: Position { line: 102, column: 5, }, end: Position { line: 102, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 102, column: 14, }, end: Position { line: 102, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 103, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 103, column: 14, }, end: Position { line: 103, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 103, column: 20, }, end: Position { line: 103, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 104, column: 7, }, end: Position { line: 104, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "192.168.1.1", span: Span { start: Position { line: 104, column: 18, }, end: Position { line: 104, column: 29, }, }, }, ), ], span: Span { start: Position { line: 104, column: 17, }, end: Position { line: 104, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 105, column: 7, }, end: Position { line: 105, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 105, column: 21, }, end: Position { line: 105, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "IP address of this node.\n", span: Span { start: Position { line: 106, column: 1, }, end: Position { line: 107, column: 7, }, }, }, ), ], span: Span { start: Position { line: 105, column: 27, }, end: Position { line: 107, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 102, column: 23, }, end: Position { line: 108, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "otherNodesIps", span: Span { start: Position { line: 110, column: 5, }, end: Position { line: 110, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 110, column: 21, }, end: Position { line: 110, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 111, column: 7, }, end: Position { line: 111, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 111, column: 14, }, end: Position { line: 111, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 111, column: 20, }, end: Position { line: 111, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 111, column: 27, }, end: Position { line: 111, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "string", span: Span { start: Position { line: 111, column: 33, }, end: Position { line: 111, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 112, column: 7, }, end: Position { line: 112, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "192.168.1.2", span: Span { start: Position { line: 112, column: 20, }, end: Position { line: 112, column: 31, }, }, }, ), ], span: Span { start: Position { line: 112, column: 19, }, end: Position { line: 112, column: 32, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "192.168.1.3", span: Span { start: Position { line: 112, column: 34, }, end: Position { line: 112, column: 45, }, }, }, ), ], span: Span { start: Position { line: 112, column: 33, }, end: Position { line: 112, column: 46, }, }, }, ), ], span: Span { start: Position { line: 112, column: 17, }, end: Position { line: 112, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 113, column: 7, }, end: Position { line: 113, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 113, column: 21, }, end: Position { line: 113, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "IP addresses of the other nodes.\n", span: Span { start: Position { line: 114, column: 1, }, end: Position { line: 115, column: 7, }, }, }, ), ], span: Span { start: Position { line: 113, column: 27, }, end: Position { line: 115, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 110, column: 30, }, end: Position { line: 116, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restApiPort", span: Span { start: Position { line: 118, column: 5, }, end: Position { line: 118, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 118, column: 19, }, end: Position { line: 118, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 119, column: 7, }, end: Position { line: 119, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 119, column: 14, }, end: Position { line: 119, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 119, column: 20, }, end: Position { line: 119, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 120, column: 7, }, end: Position { line: 120, column: 14, }, }, }, ), ], to: Integer( Integer { value: "8008", span: Span { start: Position { line: 120, column: 17, }, end: Position { line: 120, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 121, column: 7, }, end: Position { line: 121, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 121, column: 21, }, end: Position { line: 121, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The port on Patroni's REST api listens.\n", span: Span { start: Position { line: 122, column: 1, }, end: Position { line: 123, column: 7, }, }, }, ), ], span: Span { start: Position { line: 121, column: 27, }, end: Position { line: 123, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 118, column: 28, }, end: Position { line: 124, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "raft", span: Span { start: Position { line: 126, column: 5, }, end: Position { line: 126, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 126, column: 12, }, end: Position { line: 126, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 127, column: 7, }, end: Position { line: 127, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 127, column: 14, }, end: Position { line: 127, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 127, column: 20, }, end: Position { line: 127, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 128, column: 17, }, end: Position { line: 128, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 129, column: 7, }, end: Position { line: 129, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 129, column: 21, }, end: Position { line: 129, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "This will configure Patroni to use its own RAFT implementation instead of using a dedicated DCS.\n", span: Span { start: Position { line: 130, column: 1, }, end: Position { line: 131, column: 7, }, }, }, ), ], span: Span { start: Position { line: 129, column: 27, }, end: Position { line: 131, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 126, column: 21, }, end: Position { line: 132, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "raftPort", span: Span { start: Position { line: 134, column: 5, }, end: Position { line: 134, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 134, column: 16, }, end: Position { line: 134, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 135, column: 7, }, end: Position { line: 135, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 135, column: 14, }, end: Position { line: 135, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 135, column: 20, }, end: Position { line: 135, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 136, column: 7, }, end: Position { line: 136, column: 14, }, }, }, ), ], to: Integer( Integer { value: "5010", span: Span { start: Position { line: 136, column: 17, }, end: Position { line: 136, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 137, column: 7, }, end: Position { line: 137, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 137, column: 21, }, end: Position { line: 137, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The port on which RAFT listens.\n", span: Span { start: Position { line: 138, column: 1, }, end: Position { line: 139, column: 7, }, }, }, ), ], span: Span { start: Position { line: 137, column: 27, }, end: Position { line: 139, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 134, column: 25, }, end: Position { line: 140, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "softwareWatchdog", span: Span { start: Position { line: 142, column: 5, }, end: Position { line: 142, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 142, column: 24, }, end: Position { line: 142, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 143, column: 7, }, end: Position { line: 143, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 143, column: 14, }, end: Position { line: 143, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 143, column: 20, }, end: Position { line: 143, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 144, column: 7, }, end: Position { line: 144, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 144, column: 17, }, end: Position { line: 144, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 145, column: 7, }, end: Position { line: 145, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 145, column: 21, }, end: Position { line: 145, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "This will configure Patroni to use the software watchdog built into the Linux kernel\nas described in the [documentation](https://patroni.readthedocs.io/en/latest/watchdog.html#setting-up-software-watchdog-on-linux).\n", span: Span { start: Position { line: 146, column: 1, }, end: Position { line: 148, column: 7, }, }, }, ), ], span: Span { start: Position { line: 145, column: 27, }, end: Position { line: 148, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 142, column: 33, }, end: Position { line: 149, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 151, column: 5, }, end: Position { line: 151, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 151, column: 16, }, end: Position { line: 151, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 152, column: 7, }, end: Position { line: 152, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "format", span: Span { start: Position { line: 152, column: 14, }, end: Position { line: 152, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 152, column: 21, }, end: Position { line: 152, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 153, column: 7, }, end: Position { line: 153, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 153, column: 17, }, end: Position { line: 153, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 154, column: 7, }, end: Position { line: 154, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 154, column: 21, }, end: Position { line: 154, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The primary patroni configuration. See the [documentation](https://patroni.readthedocs.io/en/latest/SETTINGS.html)\nfor possible values.\nSecrets should be passed in by using the `environmentFiles` option.\n", span: Span { start: Position { line: 155, column: 1, }, end: Position { line: 158, column: 7, }, }, }, ), ], span: Span { start: Position { line: 154, column: 27, }, end: Position { line: 158, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 151, column: 25, }, end: Position { line: 159, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environmentFiles", span: Span { start: Position { line: 161, column: 5, }, end: Position { line: 161, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 161, column: 24, }, end: Position { line: 161, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 162, column: 7, }, end: Position { line: 162, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 162, column: 19, }, end: Position { line: 162, column: 24, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 162, column: 26, }, end: Position { line: 162, column: 33, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 162, column: 35, }, end: Position { line: 162, column: 41, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "oneOf", span: Span { start: Position { line: 162, column: 43, }, end: Position { line: 162, column: 48, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 162, column: 51, }, end: Position { line: 162, column: 54, }, }, }, ), Identifier( Identifier { id: "path", span: Span { start: Position { line: 162, column: 55, }, end: Position { line: 162, column: 59, }, }, }, ), Identifier( Identifier { id: "package", span: Span { start: Position { line: 162, column: 60, }, end: Position { line: 162, column: 67, }, }, }, ), ], span: Span { start: Position { line: 162, column: 49, }, end: Position { line: 162, column: 69, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 162, column: 14, }, end: Position { line: 162, column: 71, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 163, column: 7, }, end: Position { line: 163, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 163, column: 17, }, end: Position { line: 163, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 164, column: 7, }, end: Position { line: 164, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PATRONI_REPLICATION_PASSWORD", span: Span { start: Position { line: 165, column: 9, }, end: Position { line: 165, column: 37, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/secret/file", span: Span { start: Position { line: 165, column: 41, }, end: Position { line: 165, column: 53, }, }, }, ), ], span: Span { start: Position { line: 165, column: 40, }, end: Position { line: 165, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PATRONI_SUPERUSER_PASSWORD", span: Span { start: Position { line: 166, column: 9, }, end: Position { line: 166, column: 35, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/secret/file", span: Span { start: Position { line: 166, column: 39, }, end: Position { line: 166, column: 51, }, }, }, ), ], span: Span { start: Position { line: 166, column: 38, }, end: Position { line: 166, column: 52, }, }, }, ), }, ), ], span: Span { start: Position { line: 164, column: 17, }, end: Position { line: 167, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 168, column: 7, }, end: Position { line: 168, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 168, column: 21, }, end: Position { line: 168, column: 26, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Environment variables made available to Patroni as files content, useful for providing secrets from files.", span: Span { start: Position { line: 168, column: 28, }, end: Position { line: 168, column: 134, }, }, }, ), ], span: Span { start: Position { line: 168, column: 27, }, end: Position { line: 168, column: 135, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 161, column: 33, }, end: Position { line: 169, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 30, }, end: Position { line: 170, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 172, column: 3, }, end: Position { line: 172, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 172, column: 12, }, end: Position { line: 172, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 172, column: 17, }, end: Position { line: 172, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 172, column: 21, }, end: Position { line: 172, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 174, column: 5, }, end: Position { line: 174, column: 13, }, }, }, ), Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 174, column: 14, }, end: Position { line: 174, column: 21, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 174, column: 22, }, end: Position { line: 174, column: 30, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "scope", span: Span { start: Position { line: 175, column: 7, }, end: Position { line: 175, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 175, column: 15, }, end: Position { line: 175, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "scope", span: Span { start: Position { line: 175, column: 19, }, end: Position { line: 175, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 176, column: 7, }, end: Position { line: 176, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 176, column: 14, }, end: Position { line: 176, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 176, column: 18, }, end: Position { line: 176, column: 22, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "namespace", span: Span { start: Position { line: 177, column: 7, }, end: Position { line: 177, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 177, column: 19, }, end: Position { line: 177, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "namespace", span: Span { start: Position { line: 177, column: 23, }, end: Position { line: 177, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restapi", span: Span { start: Position { line: 179, column: 7, }, end: Position { line: 179, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 180, column: 9, }, end: Position { line: 180, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 180, column: 21, }, end: Position { line: 180, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodeIp", span: Span { start: Position { line: 180, column: 25, }, end: Position { line: 180, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 180, column: 19, }, end: Position { line: 180, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 180, column: 35, }, end: Position { line: 180, column: 43, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 180, column: 44, }, end: Position { line: 180, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "restApiPort", span: Span { start: Position { line: 180, column: 48, }, end: Position { line: 180, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 180, column: 18, }, end: Position { line: 180, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "connect_address", span: Span { start: Position { line: 181, column: 9, }, end: Position { line: 181, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 30, }, end: Position { line: 181, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodeIp", span: Span { start: Position { line: 181, column: 34, }, end: Position { line: 181, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 181, column: 28, }, end: Position { line: 181, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 181, column: 44, }, end: Position { line: 181, column: 52, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 53, }, end: Position { line: 181, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "restApiPort", span: Span { start: Position { line: 181, column: 57, }, end: Position { line: 181, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 181, column: 27, }, end: Position { line: 181, column: 70, }, }, }, ), }, ), ], span: Span { start: Position { line: 179, column: 17, }, end: Position { line: 182, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "raft", span: Span { start: Position { line: 184, column: 7, }, end: Position { line: 184, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 184, column: 14, }, end: Position { line: 184, column: 18, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 184, column: 19, }, end: Position { line: 184, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "raft", span: Span { start: Position { line: 184, column: 23, }, end: Position { line: 184, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "data_dir", span: Span { start: Position { line: 185, column: 9, }, end: Position { line: 185, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 185, column: 23, }, end: Position { line: 185, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 185, column: 27, }, end: Position { line: 185, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/raft", span: Span { start: Position { line: 185, column: 21, }, end: Position { line: 185, column: 40, }, }, }, ), ], span: Span { start: Position { line: 185, column: 20, }, end: Position { line: 185, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "self_addr", span: Span { start: Position { line: 186, column: 9, }, end: Position { line: 186, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 186, column: 24, }, end: Position { line: 186, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodeIp", span: Span { start: Position { line: 186, column: 28, }, end: Position { line: 186, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":5010", span: Span { start: Position { line: 186, column: 22, }, end: Position { line: 186, column: 40, }, }, }, ), ], span: Span { start: Position { line: 186, column: 21, }, end: Position { line: 186, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "partner_addrs", span: Span { start: Position { line: 187, column: 9, }, end: Position { line: 187, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 187, column: 25, }, end: Position { line: 187, column: 28, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "ip", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "ip", span: Span { start: Position { line: 187, column: 34, }, end: Position { line: 187, column: 36, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: ":5010", span: Span { start: Position { line: 187, column: 40, }, end: Position { line: 187, column: 45, }, }, }, ), ], span: Span { start: Position { line: 187, column: 39, }, end: Position { line: 187, column: 46, }, }, }, ), }, ), span: Span { start: Position { line: 187, column: 30, }, end: Position { line: 187, column: 46, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 187, column: 48, }, end: Position { line: 187, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "otherNodesIps", span: Span { start: Position { line: 187, column: 52, }, end: Position { line: 187, column: 65, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 184, column: 28, }, end: Position { line: 188, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 190, column: 7, }, end: Position { line: 190, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 191, column: 9, }, end: Position { line: 191, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 191, column: 21, }, end: Position { line: 191, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodeIp", span: Span { start: Position { line: 191, column: 25, }, end: Position { line: 191, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 191, column: 19, }, end: Position { line: 191, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 191, column: 35, }, end: Position { line: 191, column: 43, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 191, column: 44, }, end: Position { line: 191, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresqlPort", span: Span { start: Position { line: 191, column: 48, }, end: Position { line: 191, column: 62, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 191, column: 18, }, end: Position { line: 191, column: 64, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "connect_address", span: Span { start: Position { line: 192, column: 9, }, end: Position { line: 192, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 192, column: 30, }, end: Position { line: 192, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodeIp", span: Span { start: Position { line: 192, column: 34, }, end: Position { line: 192, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 192, column: 28, }, end: Position { line: 192, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 192, column: 44, }, end: Position { line: 192, column: 52, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 192, column: 53, }, end: Position { line: 192, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresqlPort", span: Span { start: Position { line: 192, column: 57, }, end: Position { line: 192, column: 71, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 192, column: 27, }, end: Position { line: 192, column: 73, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "data_dir", span: Span { start: Position { line: 193, column: 9, }, end: Position { line: 193, column: 17, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 193, column: 20, }, end: Position { line: 193, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresqlDataDir", span: Span { start: Position { line: 193, column: 24, }, end: Position { line: 193, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bin_dir", span: Span { start: Position { line: 194, column: 9, }, end: Position { line: 194, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 194, column: 22, }, end: Position { line: 194, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresqlPackage", span: Span { start: Position { line: 194, column: 26, }, end: Position { line: 194, column: 43, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin", span: Span { start: Position { line: 194, column: 20, }, end: Position { line: 194, column: 48, }, }, }, ), ], span: Span { start: Position { line: 194, column: 19, }, end: Position { line: 194, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pgpass", span: Span { start: Position { line: 195, column: 9, }, end: Position { line: 195, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 195, column: 21, }, end: Position { line: 195, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 195, column: 25, }, end: Position { line: 195, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/pgpass", span: Span { start: Position { line: 195, column: 19, }, end: Position { line: 195, column: 40, }, }, }, ), ], span: Span { start: Position { line: 195, column: 18, }, end: Position { line: 195, column: 41, }, }, }, ), }, ), ], span: Span { start: Position { line: 190, column: 20, }, end: Position { line: 196, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "watchdog", span: Span { start: Position { line: 198, column: 7, }, end: Position { line: 198, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 198, column: 18, }, end: Position { line: 198, column: 22, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 198, column: 23, }, end: Position { line: 198, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "softwareWatchdog", span: Span { start: Position { line: 198, column: 27, }, end: Position { line: 198, column: 43, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mode", span: Span { start: Position { line: 199, column: 9, }, end: Position { line: 199, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "required", span: Span { start: Position { line: 199, column: 17, }, end: Position { line: 199, column: 25, }, }, }, ), ], span: Span { start: Position { line: 199, column: 16, }, end: Position { line: 199, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 200, column: 9, }, end: Position { line: 200, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/dev/watchdog", span: Span { start: Position { line: 200, column: 19, }, end: Position { line: 200, column: 32, }, }, }, ), ], span: Span { start: Position { line: 200, column: 18, }, end: Position { line: 200, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "safety_margin", span: Span { start: Position { line: 201, column: 9, }, end: Position { line: 201, column: 22, }, }, }, ), ], to: Integer( Integer { value: "5", span: Span { start: Position { line: 201, column: 25, }, end: Position { line: 201, column: 26, }, }, }, ), }, ), ], span: Span { start: Position { line: 198, column: 44, }, end: Position { line: 202, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 174, column: 33, }, end: Position { line: 203, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 206, column: 5, }, end: Position { line: 206, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 207, column: 7, }, end: Position { line: 207, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 207, column: 15, }, end: Position { line: 207, column: 19, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 207, column: 21, }, end: Position { line: 207, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 207, column: 25, }, end: Position { line: 207, column: 29, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "defaultUser", span: Span { start: Position { line: 207, column: 33, }, end: Position { line: 207, column: 44, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 208, column: 9, }, end: Position { line: 208, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 209, column: 11, }, end: Position { line: 209, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 209, column: 19, }, end: Position { line: 209, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 209, column: 23, }, end: Position { line: 209, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 210, column: 11, }, end: Position { line: 210, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 210, column: 26, }, end: Position { line: 210, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 208, column: 19, }, end: Position { line: 211, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 207, column: 46, }, end: Position { line: 212, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "groups", span: Span { start: Position { line: 213, column: 7, }, end: Position { line: 213, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 213, column: 16, }, end: Position { line: 213, column: 20, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 213, column: 22, }, end: Position { line: 213, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 213, column: 26, }, end: Position { line: 213, column: 31, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "defaultGroup", span: Span { start: Position { line: 213, column: 35, }, end: Position { line: 213, column: 47, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 214, column: 9, }, end: Position { line: 214, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 214, column: 19, }, end: Position { line: 214, column: 22, }, }, }, ), }, ), ], span: Span { start: Position { line: 213, column: 49, }, end: Position { line: 215, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 206, column: 13, }, end: Position { line: 216, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 218, column: 5, }, end: Position { line: 218, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 218, column: 13, }, end: Position { line: 218, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "patroni", span: Span { start: Position { line: 219, column: 7, }, end: Position { line: 219, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 220, column: 9, }, end: Position { line: 220, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Runners to orchestrate a high-availability PostgreSQL", span: Span { start: Position { line: 220, column: 24, }, end: Position { line: 220, column: 77, }, }, }, ), ], span: Span { start: Position { line: 220, column: 23, }, end: Position { line: 220, column: 78, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 222, column: 9, }, end: Position { line: 222, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 222, column: 23, }, end: Position { line: 222, column: 40, }, }, }, ), ], span: Span { start: Position { line: 222, column: 22, }, end: Position { line: 222, column: 41, }, }, }, ), ], span: Span { start: Position { line: 222, column: 20, }, end: Position { line: 222, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 223, column: 9, }, end: Position { line: 223, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 223, column: 20, }, end: Position { line: 223, column: 34, }, }, }, ), ], span: Span { start: Position { line: 223, column: 19, }, end: Position { line: 223, column: 35, }, }, }, ), ], span: Span { start: Position { line: 223, column: 17, }, end: Position { line: 223, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 225, column: 9, }, end: Position { line: 225, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 226, column: 1, }, end: Position { line: 226, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 226, column: 13, }, end: Position { line: 226, column: 29, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 226, column: 31, }, end: Position { line: 226, column: 33, }, }, }, ), ], span: Span { start: Position { line: 226, column: 30, }, end: Position { line: 226, column: 34, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrValues", span: Span { start: Position { line: 226, column: 36, }, end: Position { line: 226, column: 46, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 226, column: 48, }, end: Position { line: 226, column: 56, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "path", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "export ", span: Span { start: Position { line: 226, column: 72, }, end: Position { line: 226, column: 79, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 226, column: 81, }, end: Position { line: 226, column: 85, }, }, }, ), }, ), Raw( PartRaw { content: "=\"$(< ", span: Span { start: Position { line: 226, column: 72, }, end: Position { line: 226, column: 92, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArg", span: Span { start: Position { line: 226, column: 94, }, end: Position { line: 226, column: 108, }, }, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 226, column: 109, }, end: Position { line: 226, column: 113, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ")\"", span: Span { start: Position { line: 226, column: 72, }, end: Position { line: 226, column: 116, }, }, }, ), ], span: Span { start: Position { line: 226, column: 70, }, end: Position { line: 226, column: 118, }, }, }, ), span: Span { start: Position { line: 226, column: 64, }, end: Position { line: 226, column: 118, }, }, }, ), span: Span { start: Position { line: 226, column: 58, }, end: Position { line: 226, column: 118, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 226, column: 120, }, end: Position { line: 226, column: 123, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environmentFiles", span: Span { start: Position { line: 226, column: 124, }, end: Position { line: 226, column: 140, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\nexec ", span: Span { start: Position { line: 226, column: 1, }, end: Position { line: 227, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "patroni", span: Span { start: Position { line: 227, column: 18, }, end: Position { line: 227, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/patroni ", span: Span { start: Position { line: 226, column: 1, }, end: Position { line: 227, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 227, column: 41, }, end: Position { line: 227, column: 51, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 226, column: 1, }, end: Position { line: 228, column: 9, }, }, }, ), ], span: Span { start: Position { line: 225, column: 18, }, end: Position { line: 228, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 230, column: 9, }, end: Position { line: 230, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 230, column: 25, }, end: Position { line: 230, column: 32, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 232, column: 13, }, end: Position { line: 232, column: 17, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 232, column: 20, }, end: Position { line: 232, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 232, column: 24, }, end: Position { line: 232, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 233, column: 13, }, end: Position { line: 233, column: 18, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 233, column: 21, }, end: Position { line: 233, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 233, column: 25, }, end: Position { line: 233, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 234, column: 13, }, end: Position { line: 234, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 234, column: 21, }, end: Position { line: 234, column: 27, }, }, }, ), ], span: Span { start: Position { line: 234, column: 20, }, end: Position { line: 234, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 235, column: 13, }, end: Position { line: 235, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 235, column: 24, }, end: Position { line: 235, column: 34, }, }, }, ), ], span: Span { start: Position { line: 235, column: 23, }, end: Position { line: 235, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "TimeoutSec", span: Span { start: Position { line: 236, column: 13, }, end: Position { line: 236, column: 23, }, }, }, ), ], to: Integer( Integer { value: "30", span: Span { start: Position { line: 236, column: 26, }, end: Position { line: 236, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecReload", span: Span { start: Position { line: 237, column: 13, }, end: Position { line: 237, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 237, column: 29, }, end: Position { line: 237, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coreutils", span: Span { start: Position { line: 237, column: 34, }, end: Position { line: 237, column: 43, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/kill -s HUP $MAINPID", span: Span { start: Position { line: 237, column: 27, }, end: Position { line: 237, column: 69, }, }, }, ), ], span: Span { start: Position { line: 237, column: 26, }, end: Position { line: 237, column: 70, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "KillMode", span: Span { start: Position { line: 238, column: 13, }, end: Position { line: 238, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "process", span: Span { start: Position { line: 238, column: 25, }, end: Position { line: 238, column: 32, }, }, }, ), ], span: Span { start: Position { line: 238, column: 24, }, end: Position { line: 238, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 231, column: 11, }, end: Position { line: 239, column: 12, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 240, column: 12, }, end: Position { line: 240, column: 16, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 240, column: 18, }, end: Position { line: 240, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresqlDataDir", span: Span { start: Position { line: 240, column: 22, }, end: Position { line: 240, column: 39, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/postgresql/", span: Span { start: Position { line: 240, column: 44, }, end: Position { line: 240, column: 99, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 240, column: 66, }, end: Position { line: 240, column: 69, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresqlPackage", span: Span { start: Position { line: 240, column: 70, }, end: Position { line: 240, column: 87, }, }, }, ), Raw( PartRaw { content: "psqlSchema", span: Span { start: Position { line: 240, column: 88, }, end: Position { line: 240, column: 98, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 240, column: 43, }, end: Position { line: 240, column: 100, }, }, }, ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 240, column: 104, }, end: Position { line: 240, column: 107, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 240, column: 108, }, end: Position { line: 240, column: 115, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/patroni", span: Span { start: Position { line: 240, column: 120, }, end: Position { line: 240, column: 136, }, }, }, ), ], span: Span { start: Position { line: 240, column: 119, }, end: Position { line: 240, column: 137, }, }, }, ), }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 241, column: 13, }, end: Position { line: 241, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "patroni patroni/raft postgresql postgresql/", span: Span { start: Position { line: 241, column: 31, }, end: Position { line: 241, column: 109, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 241, column: 76, }, end: Position { line: 241, column: 79, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresqlPackage", span: Span { start: Position { line: 241, column: 80, }, end: Position { line: 241, column: 97, }, }, }, ), Raw( PartRaw { content: "psqlSchema", span: Span { start: Position { line: 241, column: 98, }, end: Position { line: 241, column: 108, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 241, column: 30, }, end: Position { line: 241, column: 110, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectoryMode", span: Span { start: Position { line: 242, column: 13, }, end: Position { line: 242, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0750", span: Span { start: Position { line: 242, column: 35, }, end: Position { line: 242, column: 39, }, }, }, ), ], span: Span { start: Position { line: 242, column: 34, }, end: Position { line: 242, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 240, column: 139, }, end: Position { line: 243, column: 12, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 230, column: 33, }, end: Position { line: 244, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 219, column: 17, }, end: Position { line: 245, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 218, column: 24, }, end: Position { line: 246, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 248, column: 5, }, end: Position { line: 248, column: 9, }, }, }, ), Raw( PartRaw { content: "kernelModules", span: Span { start: Position { line: 248, column: 10, }, end: Position { line: 248, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 248, column: 26, }, end: Position { line: 248, column: 30, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 248, column: 31, }, end: Position { line: 248, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "softwareWatchdog", span: Span { start: Position { line: 248, column: 35, }, end: Position { line: 248, column: 51, }, }, }, ), ], default: None, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "softdog", span: Span { start: Position { line: 248, column: 55, }, end: Position { line: 248, column: 62, }, }, }, ), ], span: Span { start: Position { line: 248, column: 54, }, end: Position { line: 248, column: 63, }, }, }, ), ], span: Span { start: Position { line: 248, column: 52, }, end: Position { line: 248, column: 65, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 250, column: 5, }, end: Position { line: 250, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 250, column: 14, }, end: Position { line: 250, column: 18, }, }, }, ), Raw( PartRaw { content: "extraRules", span: Span { start: Position { line: 250, column: 19, }, end: Position { line: 250, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 250, column: 32, }, end: Position { line: 250, column: 36, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 250, column: 37, }, end: Position { line: 250, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "softwareWatchdog", span: Span { start: Position { line: 250, column: 41, }, end: Position { line: 250, column: 57, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "KERNEL==\"watchdog\", OWNER=\"", span: Span { start: Position { line: 251, column: 1, }, end: Position { line: 251, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 251, column: 36, }, end: Position { line: 251, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 251, column: 40, }, end: Position { line: 251, column: 44, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\", GROUP=\"", span: Span { start: Position { line: 251, column: 1, }, end: Position { line: 251, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 251, column: 57, }, end: Position { line: 251, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 251, column: 61, }, end: Position { line: 251, column: 66, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\", MODE=\"0600\"\n", span: Span { start: Position { line: 251, column: 1, }, end: Position { line: 252, column: 5, }, }, }, ), ], span: Span { start: Position { line: 250, column: 58, }, end: Position { line: 252, column: 7, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 254, column: 5, }, end: Position { line: 254, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 254, column: 17, }, end: Position { line: 254, column: 31, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "patroni", span: Span { start: Position { line: 255, column: 7, }, end: Position { line: 255, column: 14, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 256, column: 7, }, end: Position { line: 256, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresqlPackage", span: Span { start: Position { line: 256, column: 11, }, end: Position { line: 256, column: 28, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 257, column: 8, }, end: Position { line: 257, column: 12, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 257, column: 13, }, end: Position { line: 257, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "raft", span: Span { start: Position { line: 257, column: 17, }, end: Position { line: 257, column: 21, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 257, column: 22, }, end: Position { line: 257, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "python310Packages", span: Span { start: Position { line: 257, column: 27, }, end: Position { line: 257, column: 44, }, }, }, ), Raw( PartRaw { content: "pysyncobj", span: Span { start: Position { line: 257, column: 45, }, end: Position { line: 257, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), ], span: Span { start: Position { line: 254, column: 34, }, end: Position { line: 258, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 260, column: 5, }, end: Position { line: 260, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 260, column: 17, }, end: Position { line: 260, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFileName", span: Span { start: Position { line: 260, column: 24, }, end: Position { line: 260, column: 38, }, }, }, ), }, ), ], span: Span { start: Position { line: 260, column: 21, }, end: Position { line: 260, column: 40, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 260, column: 41, }, end: Position { line: 260, column: 47, }, }, }, ), ], to: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 260, column: 50, }, end: Position { line: 260, column: 60, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 262, column: 5, }, end: Position { line: 262, column: 16, }, }, }, ), Raw( PartRaw { content: "sessionVariables", span: Span { start: Position { line: 262, column: 17, }, end: Position { line: 262, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PATRONICTL_CONFIG_FILE", span: Span { start: Position { line: 263, column: 7, }, end: Position { line: 263, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/etc/", span: Span { start: Position { line: 263, column: 33, }, end: Position { line: 263, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFileName", span: Span { start: Position { line: 263, column: 40, }, end: Position { line: 263, column: 54, }, }, }, ), }, ), ], span: Span { start: Position { line: 263, column: 32, }, end: Position { line: 263, column: 56, }, }, }, ), }, ), ], span: Span { start: Position { line: 262, column: 36, }, end: Position { line: 264, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 172, column: 28, }, end: Position { line: 265, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 267, column: 3, }, end: Position { line: 267, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 267, column: 8, }, end: Position { line: 267, column: 19, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 267, column: 24, }, end: Position { line: 267, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "phfroidmont", span: Span { start: Position { line: 267, column: 36, }, end: Position { line: 267, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 267, column: 22, }, end: Position { line: 267, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 15, column: 1, }, end: Position { line: 268, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 268, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 268, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 268, column: 2, }, }, }, )