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: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "confFile", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 8, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 8, column: 19, }, end: Position { line: 8, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "graylog.conf", span: Span { start: Position { line: 8, column: 30, }, end: Position { line: 8, column: 42, }, }, }, ), ], span: Span { start: Position { line: 8, column: 29, }, end: Position { line: 8, column: 43, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "is_master = ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 9, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "boolToString", span: Span { start: Position { line: 9, column: 19, }, end: Position { line: 9, column: 31, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 9, column: 32, }, end: Position { line: 9, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isMaster", span: Span { start: Position { line: 9, column: 36, }, end: Position { line: 9, column: 44, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\nnode_id_file = ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 10, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 10, column: 22, }, end: Position { line: 10, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodeIdFile", span: Span { start: Position { line: 10, column: 26, }, end: Position { line: 10, column: 36, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\npassword_secret = ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 11, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 11, column: 25, }, end: Position { line: 11, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passwordSecret", span: Span { start: Position { line: 11, column: 29, }, end: Position { line: 11, column: 43, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nroot_username = ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 12, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 12, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "rootUsername", span: Span { start: Position { line: 12, column: 27, }, end: Position { line: 12, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nroot_password_sha2 = ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 13, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 13, column: 28, }, end: Position { line: 13, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "rootPasswordSha2", span: Span { start: Position { line: 13, column: 32, }, end: Position { line: 13, column: 48, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nelasticsearch_hosts = ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 14, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 14, column: 29, }, end: Position { line: 14, column: 45, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",", span: Span { start: Position { line: 14, column: 47, }, end: Position { line: 14, column: 48, }, }, }, ), ], span: Span { start: Position { line: 14, column: 46, }, end: Position { line: 14, column: 49, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 14, column: 50, }, end: Position { line: 14, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "elasticsearchHosts", span: Span { start: Position { line: 14, column: 54, }, end: Position { line: 14, column: 72, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\nmessage_journal_dir = ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 15, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 15, column: 29, }, end: Position { line: 15, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "messageJournalDir", span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 15, column: 50, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nmongodb_uri = ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 16, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mongodbUri", span: Span { start: Position { line: 16, column: 25, }, end: Position { line: 16, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nplugin_dir = /var/lib/graylog/plugins\n\n", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 19, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 19, column: 11, }, end: Position { line: 19, column: 22, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 20, column: 3, }, }, }, ), ], span: Span { start: Position { line: 8, column: 44, }, end: Position { line: 20, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "glPlugins", span: Span { start: Position { line: 22, column: 3, }, end: Position { line: 22, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 22, column: 15, }, end: Position { line: 22, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "buildEnv", span: Span { start: Position { line: 22, column: 20, }, end: Position { line: 22, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 23, column: 5, }, end: Position { line: 23, column: 9, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "graylog-plugins", span: Span { start: Position { line: 23, column: 13, }, end: Position { line: 23, column: 28, }, }, }, ), ], span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "paths", span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 24, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 24, column: 13, }, end: Position { line: 24, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "plugins", span: Span { start: Position { line: 24, column: 17, }, end: Position { line: 24, column: 24, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 22, column: 29, }, end: Position { line: 25, column: 4, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 32, column: 3, }, end: Position { line: 32, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 13, }, }, }, ), Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 34, column: 14, }, end: Position { line: 34, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 36, column: 16, }, end: Position { line: 36, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 36, column: 32, }, end: Position { line: 36, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 36, column: 36, }, end: Position { line: 36, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Graylog", span: Span { start: Position { line: 36, column: 43, }, end: Position { line: 36, column: 50, }, }, }, ), ], span: Span { start: Position { line: 36, column: 42, }, end: Position { line: 36, column: 51, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 38, column: 17, }, end: Position { line: 38, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 39, column: 16, }, end: Position { line: 39, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 39, column: 22, }, end: Position { line: 39, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 40, column: 19, }, end: Position { line: 40, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 40, column: 24, }, end: Position { line: 40, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 41, column: 23, }, end: Position { line: 41, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.graylog", span: Span { start: Position { line: 41, column: 42, }, end: Position { line: 41, column: 54, }, }, }, ), ], span: Span { start: Position { line: 41, column: 41, }, end: Position { line: 41, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 42, column: 23, }, end: Position { line: 42, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 42, column: 27, }, end: Position { line: 42, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Graylog package to use.", span: Span { start: Position { line: 42, column: 34, }, end: Position { line: 42, column: 57, }, }, }, ), ], span: Span { start: Position { line: 42, column: 33, }, end: Position { line: 42, column: 58, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 38, column: 26, }, end: Position { line: 43, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 14, }, end: Position { line: 45, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 46, column: 16, }, end: Position { line: 46, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 46, column: 22, }, end: Position { line: 46, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 47, column: 20, }, end: Position { line: 47, column: 27, }, }, }, ), ], span: Span { start: Position { line: 47, column: 19, }, end: Position { line: 47, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 48, column: 23, }, end: Position { line: 48, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 48, column: 27, }, end: Position { line: 48, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "User account under which graylog runs", span: Span { start: Position { line: 48, column: 34, }, end: Position { line: 48, column: 71, }, }, }, ), ], span: Span { start: Position { line: 48, column: 33, }, end: Position { line: 48, column: 72, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 23, }, end: Position { line: 49, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isMaster", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 51, column: 18, }, end: Position { line: 51, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 52, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 53, column: 19, }, end: Position { line: 53, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 54, column: 23, }, end: Position { line: 54, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 54, column: 27, }, end: Position { line: 54, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether this is the master instance of your Graylog cluster", span: Span { start: Position { line: 54, column: 34, }, end: Position { line: 54, column: 93, }, }, }, ), ], span: Span { start: Position { line: 54, column: 33, }, end: Position { line: 54, column: 94, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 51, column: 27, }, end: Position { line: 55, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodeIdFile", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 57, column: 20, }, end: Position { line: 57, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 58, column: 16, }, end: Position { line: 58, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 58, column: 22, }, end: Position { line: 58, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/graylog/server/node-id", span: Span { start: Position { line: 59, column: 20, }, end: Position { line: 59, column: 51, }, }, }, ), ], span: Span { start: Position { line: 59, column: 19, }, end: Position { line: 59, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 60, column: 23, }, end: Position { line: 60, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 60, column: 27, }, end: Position { line: 60, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Path of the file containing the graylog node-id", span: Span { start: Position { line: 60, column: 34, }, end: Position { line: 60, column: 81, }, }, }, ), ], span: Span { start: Position { line: 60, column: 33, }, end: Position { line: 60, column: 82, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 57, column: 29, }, end: Position { line: 61, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passwordSecret", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 63, column: 24, }, end: Position { line: 63, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 64, column: 16, }, end: Position { line: 64, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 64, column: 22, }, end: Position { line: 64, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 65, column: 23, }, end: Position { line: 65, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 65, column: 27, }, end: Position { line: 65, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters.\nGenerate one by using for example: pwgen -N 1 -s 96\n", span: Span { start: Position { line: 66, column: 1, }, end: Position { line: 68, column: 9, }, }, }, ), ], span: Span { start: Position { line: 65, column: 33, }, end: Position { line: 68, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 63, column: 33, }, end: Position { line: 69, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rootUsername", span: Span { start: Position { line: 71, column: 7, }, end: Position { line: 71, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 71, column: 22, }, end: Position { line: 71, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 72, column: 16, }, end: Position { line: 72, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 72, column: 22, }, end: Position { line: 72, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 73, column: 9, }, end: Position { line: 73, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "admin", span: Span { start: Position { line: 73, column: 20, }, end: Position { line: 73, column: 25, }, }, }, ), ], span: Span { start: Position { line: 73, column: 19, }, end: Position { line: 73, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 74, column: 23, }, end: Position { line: 74, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 74, column: 27, }, end: Position { line: 74, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Name of the default administrator user", span: Span { start: Position { line: 74, column: 34, }, end: Position { line: 74, column: 72, }, }, }, ), ], span: Span { start: Position { line: 74, column: 33, }, end: Position { line: 74, column: 73, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 71, column: 31, }, end: Position { line: 75, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rootPasswordSha2", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 77, column: 26, }, end: Position { line: 77, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 78, column: 16, }, end: Position { line: 78, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 78, column: 22, }, end: Position { line: 78, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "e3c652f0ba0b4801205814f8b6bc49672c4c74e25b497770bb89b22cdeb4e952", span: Span { start: Position { line: 79, column: 20, }, end: Position { line: 79, column: 84, }, }, }, ), ], span: Span { start: Position { line: 79, column: 19, }, end: Position { line: 79, column: 85, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 80, column: 23, }, end: Position { line: 80, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 80, column: 27, }, end: Position { line: 80, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "You MUST specify a hash password for the root user (which you only need to initially set up the\nsystem and in case you lose connectivity to your authentication backend)\nThis password cannot be changed using the API or via the web interface. If you need to change it,\nmodify it here.\nCreate one by using for example: echo -n yourpassword | shasum -a 256\nand use the resulting hash value as string for the option\n", span: Span { start: Position { line: 81, column: 1, }, end: Position { line: 87, column: 9, }, }, }, ), ], span: Span { start: Position { line: 80, column: 33, }, end: Position { line: 87, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 77, column: 35, }, end: Position { line: 88, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "elasticsearchHosts", span: Span { start: Position { line: 90, column: 7, }, end: Position { line: 90, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 90, column: 28, }, end: Position { line: 90, column: 36, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 91, column: 16, }, end: Position { line: 91, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 91, column: 29, }, end: Position { line: 91, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 91, column: 35, }, end: Position { line: 91, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 92, column: 19, }, end: Position { line: 92, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[ \"http://node1:9200\" \"http://user:password@node2:19200\" ]", span: Span { start: Position { line: 92, column: 39, }, end: Position { line: 92, column: 97, }, }, }, ), ], span: Span { start: Position { line: 92, column: 37, }, end: Position { line: 92, column: 99, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 93, column: 23, }, end: Position { line: 93, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 93, column: 27, }, end: Position { line: 93, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of valid URIs of the http ports of your elastic nodes. If one or more of your elasticsearch hosts require authentication, include the credentials in each node URI that requires authentication", span: Span { start: Position { line: 93, column: 34, }, end: Position { line: 93, column: 230, }, }, }, ), ], span: Span { start: Position { line: 93, column: 33, }, end: Position { line: 93, column: 231, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 90, column: 37, }, end: Position { line: 94, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "messageJournalDir", span: Span { start: Position { line: 96, column: 7, }, end: Position { line: 96, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 96, column: 27, }, end: Position { line: 96, column: 35, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 97, column: 16, }, end: Position { line: 97, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 97, column: 22, }, end: Position { line: 97, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/graylog/data/journal", span: Span { start: Position { line: 98, column: 20, }, end: Position { line: 98, column: 49, }, }, }, ), ], span: Span { start: Position { line: 98, column: 19, }, end: Position { line: 98, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 99, column: 23, }, end: Position { line: 99, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 99, column: 27, }, end: Position { line: 99, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The directory which will be used to store the message journal. The directory must be exclusively used by Graylog and must not contain any other files than the ones created by Graylog itself", span: Span { start: Position { line: 99, column: 34, }, end: Position { line: 99, column: 223, }, }, }, ), ], span: Span { start: Position { line: 99, column: 33, }, end: Position { line: 99, column: 224, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 96, column: 36, }, end: Position { line: 100, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mongodbUri", span: Span { start: Position { line: 102, column: 7, }, end: Position { line: 102, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 102, column: 20, }, end: Position { line: 102, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 103, column: 16, }, end: Position { line: 103, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 103, column: 22, }, end: Position { line: 103, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 104, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mongodb://localhost/graylog", span: Span { start: Position { line: 104, column: 20, }, end: Position { line: 104, column: 47, }, }, }, ), ], span: Span { start: Position { line: 104, column: 19, }, end: Position { line: 104, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 105, column: 9, }, end: Position { line: 105, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 105, column: 23, }, end: Position { line: 105, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 105, column: 27, }, end: Position { line: 105, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "MongoDB connection string. See http://docs.mongodb.org/manual/reference/connection-string/ for details", span: Span { start: Position { line: 105, column: 34, }, end: Position { line: 105, column: 136, }, }, }, ), ], span: Span { start: Position { line: 105, column: 33, }, end: Position { line: 105, column: 137, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 102, column: 29, }, end: Position { line: 106, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 108, column: 7, }, end: Position { line: 108, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 108, column: 21, }, end: Position { line: 108, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 109, column: 16, }, end: Position { line: 109, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 109, column: 22, }, end: Position { line: 109, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 110, column: 19, }, end: Position { line: 110, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 111, column: 23, }, end: Position { line: 111, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 111, column: 27, }, end: Position { line: 111, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Any other configuration options you might want to add", span: Span { start: Position { line: 111, column: 34, }, end: Position { line: 111, column: 87, }, }, }, ), ], span: Span { start: Position { line: 111, column: 33, }, end: Position { line: 111, column: 88, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 108, column: 30, }, end: Position { line: 112, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "plugins", span: Span { start: Position { line: 114, column: 7, }, end: Position { line: 114, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 114, column: 17, }, end: Position { line: 114, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 115, column: 9, }, end: Position { line: 115, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 115, column: 23, }, end: Position { line: 115, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 115, column: 27, }, end: Position { line: 115, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra graylog plugins", span: Span { start: Position { line: 115, column: 34, }, end: Position { line: 115, column: 55, }, }, }, ), ], span: Span { start: Position { line: 115, column: 33, }, end: Position { line: 115, column: 56, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 116, column: 19, }, end: Position { line: 116, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 117, column: 16, }, end: Position { line: 117, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 117, column: 22, }, end: Position { line: 117, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 117, column: 29, }, end: Position { line: 117, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 117, column: 35, }, end: Position { line: 117, column: 42, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 114, column: 26, }, end: Position { line: 118, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 34, column: 24, }, end: Position { line: 120, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 13, }, end: Position { line: 121, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 126, column: 3, }, end: Position { line: 126, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 126, column: 12, }, end: Position { line: 126, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 126, column: 17, }, end: Position { line: 126, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 126, column: 21, }, end: Position { line: 126, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 128, column: 5, }, end: Position { line: 128, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 128, column: 11, }, end: Position { line: 128, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 128, column: 19, }, end: Position { line: 128, column: 23, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 128, column: 25, }, end: Position { line: 128, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 128, column: 29, }, end: Position { line: 128, column: 33, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 128, column: 38, }, end: Position { line: 128, column: 45, }, }, }, ), ], span: Span { start: Position { line: 128, column: 37, }, end: Position { line: 128, column: 46, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 129, column: 7, }, end: Position { line: 129, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 130, column: 9, }, end: Position { line: 130, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 130, column: 24, }, end: Position { line: 130, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 131, column: 9, }, end: Position { line: 131, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 131, column: 18, }, end: Position { line: 131, column: 25, }, }, }, ), ], span: Span { start: Position { line: 131, column: 17, }, end: Position { line: 131, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 132, column: 9, }, end: Position { line: 132, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Graylog server daemon user", span: Span { start: Position { line: 132, column: 24, }, end: Position { line: 132, column: 50, }, }, }, ), ], span: Span { start: Position { line: 132, column: 23, }, end: Position { line: 132, column: 51, }, }, }, ), }, ), ], span: Span { start: Position { line: 129, column: 17, }, end: Position { line: 133, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 128, column: 48, }, end: Position { line: 134, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 135, column: 5, }, end: Position { line: 135, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 135, column: 11, }, end: Position { line: 135, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 135, column: 20, }, end: Position { line: 135, column: 24, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 135, column: 26, }, end: Position { line: 135, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 135, column: 30, }, end: Position { line: 135, column: 34, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 135, column: 39, }, end: Position { line: 135, column: 46, }, }, }, ), ], span: Span { start: Position { line: 135, column: 38, }, end: Position { line: 135, column: 47, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 135, column: 51, }, end: Position { line: 135, column: 58, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 135, column: 61, }, end: Position { line: 135, column: 63, }, }, }, ), }, ), ], span: Span { start: Position { line: 135, column: 49, }, end: Position { line: 135, column: 66, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 137, column: 5, }, end: Position { line: 137, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 137, column: 13, }, end: Position { line: 137, column: 21, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 137, column: 22, }, end: Position { line: 137, column: 27, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 138, column: 8, }, end: Position { line: 138, column: 35, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 138, column: 13, }, end: Position { line: 138, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "messageJournalDir", span: Span { start: Position { line: 138, column: 17, }, end: Position { line: 138, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - ", span: Span { start: Position { line: 138, column: 8, }, end: Position { line: 138, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 138, column: 41, }, end: Position { line: 138, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 138, column: 45, }, end: Position { line: 138, column: 49, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " - - -", span: Span { start: Position { line: 138, column: 8, }, end: Position { line: 138, column: 56, }, }, }, ), ], span: Span { start: Position { line: 138, column: 7, }, end: Position { line: 138, column: 57, }, }, }, ), ], span: Span { start: Position { line: 137, column: 30, }, end: Position { line: 139, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 141, column: 5, }, end: Position { line: 141, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 141, column: 13, }, end: Position { line: 141, column: 21, }, }, }, ), Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 141, column: 22, }, end: Position { line: 141, column: 29, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 142, column: 7, }, end: Position { line: 142, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Graylog Server", span: Span { start: Position { line: 142, column: 22, }, end: Position { line: 142, column: 36, }, }, }, ), ], span: Span { start: Position { line: 142, column: 21, }, end: Position { line: 142, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 143, column: 7, }, end: Position { line: 143, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 143, column: 21, }, end: Position { line: 143, column: 38, }, }, }, ), ], span: Span { start: Position { line: 143, column: 20, }, end: Position { line: 143, column: 39, }, }, }, ), ], span: Span { start: Position { line: 143, column: 18, }, end: Position { line: 143, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 144, column: 7, }, end: Position { line: 144, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "GRAYLOG_CONF", span: Span { start: Position { line: 145, column: 9, }, end: Position { line: 145, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "confFile", span: Span { start: Position { line: 145, column: 27, }, end: Position { line: 145, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 145, column: 24, }, end: Position { line: 145, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 144, column: 21, }, end: Position { line: 146, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 147, column: 7, }, end: Position { line: 147, column: 11, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 147, column: 16, }, end: Position { line: 147, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "which", span: Span { start: Position { line: 147, column: 21, }, end: Position { line: 147, column: 26, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 147, column: 27, }, end: Position { line: 147, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "procps", span: Span { start: Position { line: 147, column: 32, }, end: Position { line: 147, column: 38, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 147, column: 14, }, end: Position { line: 147, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "rm -rf /var/lib/graylog/plugins || true\nmkdir -p /var/lib/graylog/plugins -m 755\n\nmkdir -p \"$(dirname ", span: Span { start: Position { line: 149, column: 1, }, end: Position { line: 152, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 152, column: 31, }, end: Position { line: 152, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodeIdFile", span: Span { start: Position { line: 152, column: 35, }, end: Position { line: 152, column: 45, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ")\"\nchown -R ", span: Span { start: Position { line: 149, column: 1, }, end: Position { line: 153, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 153, column: 20, }, end: Position { line: 153, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 153, column: 24, }, end: Position { line: 153, column: 28, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \"$(dirname ", span: Span { start: Position { line: 149, column: 1, }, end: Position { line: 153, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 153, column: 43, }, end: Position { line: 153, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodeIdFile", span: Span { start: Position { line: 153, column: 47, }, end: Position { line: 153, column: 57, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ")\"\n\nfor declarativeplugin in `ls ", span: Span { start: Position { line: 149, column: 1, }, end: Position { line: 155, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "glPlugins", span: Span { start: Position { line: 155, column: 40, }, end: Position { line: 155, column: 49, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/`; do\n ln -sf ", span: Span { start: Position { line: 149, column: 1, }, end: Position { line: 156, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "glPlugins", span: Span { start: Position { line: 156, column: 20, }, end: Position { line: 156, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/$declarativeplugin /var/lib/graylog/plugins/$declarativeplugin\ndone\nfor includedplugin in `ls ", span: Span { start: Position { line: 149, column: 1, }, end: Position { line: 158, column: 35, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 158, column: 37, }, end: Position { line: 158, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 158, column: 41, }, end: Position { line: 158, column: 48, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/plugin/`; do\n ln -s ", span: Span { start: Position { line: 149, column: 1, }, end: Position { line: 159, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 159, column: 19, }, end: Position { line: 159, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 159, column: 23, }, end: Position { line: 159, column: 30, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/plugin/$includedplugin /var/lib/graylog/plugins/$includedplugin || true\ndone\n", span: Span { start: Position { line: 149, column: 1, }, end: Position { line: 161, column: 7, }, }, }, ), ], span: Span { start: Position { line: 148, column: 18, }, end: Position { line: 161, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 162, column: 7, }, end: Position { line: 162, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 163, column: 9, }, end: Position { line: 163, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 163, column: 17, }, end: Position { line: 163, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 163, column: 21, }, end: Position { line: 163, column: 25, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 163, column: 14, }, end: Position { line: 163, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 164, column: 9, }, end: Position { line: 164, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "graylog", span: Span { start: Position { line: 164, column: 27, }, end: Position { line: 164, column: 34, }, }, }, ), ], span: Span { start: Position { line: 164, column: 26, }, end: Position { line: 164, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 165, column: 9, }, end: Position { line: 165, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 165, column: 24, }, end: Position { line: 165, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 165, column: 28, }, end: Position { line: 165, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/graylogctl run", span: Span { start: Position { line: 165, column: 22, }, end: Position { line: 165, column: 55, }, }, }, ), ], span: Span { start: Position { line: 165, column: 21, }, end: Position { line: 165, column: 56, }, }, }, ), }, ), ], span: Span { start: Position { line: 162, column: 23, }, end: Position { line: 166, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 141, column: 32, }, end: Position { line: 167, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 126, column: 28, }, end: Position { line: 168, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 1, }, end: Position { line: 169, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 169, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 169, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 169, column: 2, }, }, }, )