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: "logcheck", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultRules", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 8, column: 18, }, end: Position { line: 8, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 8, column: 23, }, end: Position { line: 8, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "logcheck-default-rules", span: Span { start: Position { line: 8, column: 35, }, end: Position { line: 8, column: 57, }, }, }, ), ], span: Span { start: Position { line: 8, column: 34, }, end: Position { line: 8, column: 58, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preferLocalBuild", span: Span { start: Position { line: 8, column: 61, }, end: Position { line: 8, column: 77, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 8, column: 80, }, end: Position { line: 8, column: 84, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 59, }, end: Position { line: 8, column: 87, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cp -prd ", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 9, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 9, column: 30, }, end: Position { line: 9, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 9, column: 35, }, end: Position { line: 9, column: 43, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/etc/logcheck $out\nchmod u+w $out\nrm -r $out/logcheck.*\n", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 12, column: 18, }, }, }, ), ], span: Span { start: Position { line: 8, column: 88, }, end: Position { line: 12, column: 20, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rulesDir", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "symlinkJoin", span: Span { start: Position { line: 14, column: 19, }, end: Position { line: 14, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 11, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "logcheck-rules-dir", span: Span { start: Position { line: 15, column: 15, }, end: Position { line: 15, column: 33, }, }, }, ), ], span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "paths", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "defaultRules", span: Span { start: Position { line: 16, column: 18, }, end: Position { line: 16, column: 30, }, }, }, ), ], span: Span { start: Position { line: 16, column: 16, }, end: Position { line: 16, column: 32, }, }, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 36, }, end: Position { line: 16, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraRulesDirs", span: Span { start: Position { line: 16, column: 40, }, end: Position { line: 16, column: 54, }, }, }, ), ], default: None, }, ), }, ), }, ), ], span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 17, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 19, column: 21, }, end: Position { line: 19, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "logcheck.conf", span: Span { start: Position { line: 19, column: 32, }, end: Position { line: 19, column: 45, }, }, }, ), ], span: Span { start: Position { line: 19, column: 31, }, end: Position { line: 19, column: 46, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 19, column: 47, }, end: Position { line: 19, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 19, column: 51, }, end: Position { line: 19, column: 57, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logFiles", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 21, column: 14, }, end: Position { line: 21, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 21, column: 19, }, end: Position { line: 21, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "logcheck.logfiles", span: Span { start: Position { line: 21, column: 30, }, end: Position { line: 21, column: 47, }, }, }, ), ], span: Span { start: Position { line: 21, column: 29, }, end: Position { line: 21, column: 48, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 21, column: 49, }, end: Position { line: 21, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "files", span: Span { start: Position { line: 21, column: 53, }, end: Position { line: 21, column: 58, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "flags", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 8, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "-r ", span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "rulesDir", span: Span { start: Position { line: 23, column: 17, }, end: Position { line: 23, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: " -c ", span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 23, column: 32, }, end: Position { line: 23, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: " -L ", span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 47, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "logFiles", span: Span { start: Position { line: 23, column: 49, }, end: Position { line: 23, column: 57, }, }, }, ), }, ), Raw( PartRaw { content: " -", span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 60, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "levelFlag", span: Span { start: Position { line: 23, column: 62, }, end: Position { line: 23, column: 71, }, }, }, ), }, ), Raw( PartRaw { content: " -m ", span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 76, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 23, column: 78, }, end: Position { line: 23, column: 81, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mailTo", span: Span { start: Position { line: 23, column: 82, }, end: Position { line: 23, column: 88, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 23, column: 11, }, end: Position { line: 23, column: 90, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "levelFlag", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getAttrFromPath", span: Span { start: Position { line: 25, column: 15, }, end: Position { line: 25, column: 30, }, }, }, ), arguments: [ List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 25, column: 32, }, end: Position { line: 25, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "level", span: Span { start: Position { line: 25, column: 36, }, end: Position { line: 25, column: 41, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 25, column: 31, }, end: Position { line: 25, column: 42, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "paranoid", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "p", span: Span { start: Position { line: 26, column: 22, }, end: Position { line: 26, column: 23, }, }, }, ), ], span: Span { start: Position { line: 26, column: 21, }, end: Position { line: 26, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "server", span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "s", span: Span { start: Position { line: 27, column: 22, }, end: Position { line: 27, column: 23, }, }, }, ), ], span: Span { start: Position { line: 27, column: 21, }, end: Position { line: 27, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "workstation", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "w", span: Span { start: Position { line: 28, column: 22, }, end: Position { line: 28, column: 23, }, }, }, ), ], span: Span { start: Position { line: 28, column: 21, }, end: Position { line: 28, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 26, column: 5, }, end: Position { line: 29, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cronJob", span: Span { start: Position { line: 31, column: 3, }, end: Position { line: 31, column: 10, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "@reboot logcheck env PATH=/run/wrappers/bin:$PATH nice -n10 ", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 32, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 32, column: 69, }, end: Position { line: 32, column: 73, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 32, column: 74, }, end: Position { line: 32, column: 82, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/sbin/logcheck -R ", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 32, column: 101, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "flags", span: Span { start: Position { line: 32, column: 103, }, end: Position { line: 32, column: 108, }, }, }, ), }, ), Raw( PartRaw { content: "\n2 ", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 33, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "timeOfDay", span: Span { start: Position { line: 33, column: 13, }, end: Position { line: 33, column: 22, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " * * * logcheck env PATH=/run/wrappers/bin:$PATH nice -n10 ", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 33, column: 82, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 33, column: 84, }, end: Position { line: 33, column: 88, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 33, column: 89, }, end: Position { line: 33, column: 97, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/sbin/logcheck ", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 33, column: 113, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "flags", span: Span { start: Position { line: 33, column: 115, }, end: Position { line: 33, column: 120, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 34, column: 3, }, }, }, ), ], span: Span { start: Position { line: 31, column: 13, }, end: Position { line: 34, column: 5, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "writeIgnoreRule", span: Span { start: Position { line: 36, column: 3, }, end: Position { line: 36, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "level", default: None, }, FunctionHeadDestructuredArgument { identifier: "regex", default: None, }, ], }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeTextFile", span: Span { start: Position { line: 37, column: 10, }, end: Position { line: 37, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 38, column: 17, }, end: Position { line: 38, column: 21, }, }, }, ), ], span: Span { start: Position { line: 38, column: 8, }, end: Position { line: 38, column: 22, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "destination", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/ignore.d.", span: Span { start: Position { line: 39, column: 24, }, end: Position { line: 39, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "level", span: Span { start: Position { line: 39, column: 36, }, end: Position { line: 39, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 39, column: 24, }, end: Position { line: 39, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 39, column: 45, }, end: Position { line: 39, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 39, column: 23, }, end: Position { line: 39, column: 51, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 13, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "^\\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ ", span: Span { start: Position { line: 41, column: 1, }, end: Position { line: 41, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "regex", span: Span { start: Position { line: 41, column: 54, }, end: Position { line: 41, column: 59, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 41, column: 1, }, end: Position { line: 42, column: 9, }, }, }, ), ], span: Span { start: Position { line: 40, column: 16, }, end: Position { line: 42, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 43, column: 8, }, }, }, ), ], }, ), span: Span { start: Position { line: 36, column: 27, }, end: Position { line: 43, column: 8, }, }, }, ), span: Span { start: Position { line: 36, column: 21, }, end: Position { line: 43, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "writeIgnoreCronRule", span: Span { start: Position { line: 45, column: 3, }, end: Position { line: 45, column: 22, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "level", default: None, }, FunctionHeadDestructuredArgument { identifier: "user", default: None, }, FunctionHeadDestructuredArgument { identifier: "regex", default: None, }, FunctionHeadDestructuredArgument { identifier: "cmdline", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "escapeRegex", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escape", span: Span { start: Position { line: 46, column: 23, }, end: Position { line: 46, column: 29, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "stringToCharacters", span: Span { start: Position { line: 46, column: 31, }, end: Position { line: 46, column: 49, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\\[]{}()^$?*+|.", span: Span { start: Position { line: 46, column: 51, }, end: Position { line: 46, column: 66, }, }, }, ), ], span: Span { start: Position { line: 46, column: 50, }, end: Position { line: 46, column: 67, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cmdline_", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 47, column: 20, }, end: Position { line: 47, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unsafeDiscardStringContext", span: Span { start: Position { line: 47, column: 29, }, end: Position { line: 47, column: 55, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "cmdline", span: Span { start: Position { line: 47, column: 56, }, end: Position { line: 47, column: 63, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "re", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 11, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "regex", span: Span { start: Position { line: 48, column: 17, }, end: Position { line: 48, column: 22, }, }, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 48, column: 26, }, end: Position { line: 48, column: 28, }, }, }, ), }, ), then: Identifier( Identifier { id: "regex", span: Span { start: Position { line: 48, column: 34, }, end: Position { line: 48, column: 39, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "cmdline_", span: Span { start: Position { line: 48, column: 48, }, end: Position { line: 48, column: 56, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 48, column: 60, }, end: Position { line: 48, column: 62, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: ".*", span: Span { start: Position { line: 48, column: 69, }, end: Position { line: 48, column: 71, }, }, }, ), ], span: Span { start: Position { line: 48, column: 68, }, end: Position { line: 48, column: 72, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeRegex", span: Span { start: Position { line: 48, column: 78, }, end: Position { line: 48, column: 89, }, }, }, ), arguments: [ Identifier( Identifier { id: "cmdline_", span: Span { start: Position { line: 48, column: 90, }, end: Position { line: 48, column: 98, }, }, }, ), ], }, ), span: Span { start: Position { line: 48, column: 45, }, end: Position { line: 48, column: 98, }, }, }, ), span: Span { start: Position { line: 48, column: 14, }, end: Position { line: 48, column: 98, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "writeIgnoreRule", span: Span { start: Position { line: 49, column: 8, }, end: Position { line: 49, column: 23, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "cron-", span: Span { start: Position { line: 49, column: 25, }, end: Position { line: 49, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 49, column: 32, }, end: Position { line: 49, column: 36, }, }, }, ), }, ), ], span: Span { start: Position { line: 49, column: 24, }, end: Position { line: 49, column: 38, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "level", span: Span { start: Position { line: 50, column: 15, }, end: Position { line: 50, column: 20, }, }, }, ), ], span: Span { start: Position { line: 49, column: 40, }, end: Position { line: 50, column: 21, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "regex", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 12, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "(/usr/bin/)?cron\\[[0-9]+\\]: \\(", span: Span { start: Position { line: 52, column: 1, }, end: Position { line: 52, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 52, column: 41, }, end: Position { line: 52, column: 45, }, }, }, ), }, ), Raw( PartRaw { content: "\\) CMD \\(", span: Span { start: Position { line: 52, column: 1, }, end: Position { line: 52, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "re", span: Span { start: Position { line: 52, column: 57, }, end: Position { line: 52, column: 59, }, }, }, ), }, ), Raw( PartRaw { content: "\\)$\n", span: Span { start: Position { line: 52, column: 1, }, end: Position { line: 53, column: 7, }, }, }, ), ], span: Span { start: Position { line: 51, column: 15, }, end: Position { line: 53, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 49, column: 39, }, end: Position { line: 54, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 46, column: 5, }, end: Position { line: 54, column: 6, }, }, }, ), span: Span { start: Position { line: 45, column: 31, }, end: Position { line: 54, column: 6, }, }, }, ), span: Span { start: Position { line: 45, column: 25, }, end: Position { line: 54, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "levelOption", span: Span { start: Position { line: 56, column: 3, }, end: Position { line: 56, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 56, column: 17, }, end: Position { line: 56, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 57, column: 5, }, end: Position { line: 57, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "server", span: Span { start: Position { line: 57, column: 16, }, end: Position { line: 57, column: 22, }, }, }, ), ], span: Span { start: Position { line: 57, column: 15, }, end: Position { line: 57, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 58, column: 5, }, end: Position { line: 58, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 58, column: 12, }, end: Position { line: 58, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 58, column: 18, }, end: Position { line: 58, column: 22, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "workstation", span: Span { start: Position { line: 58, column: 26, }, end: Position { line: 58, column: 37, }, }, }, ), ], span: Span { start: Position { line: 58, column: 25, }, end: Position { line: 58, column: 38, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "server", span: Span { start: Position { line: 58, column: 40, }, end: Position { line: 58, column: 46, }, }, }, ), ], span: Span { start: Position { line: 58, column: 39, }, end: Position { line: 58, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "paranoid", span: Span { start: Position { line: 58, column: 49, }, end: Position { line: 58, column: 57, }, }, }, ), ], span: Span { start: Position { line: 58, column: 48, }, end: Position { line: 58, column: 58, }, }, }, ), ], span: Span { start: Position { line: 58, column: 23, }, end: Position { line: 58, column: 60, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 59, column: 5, }, end: Position { line: 59, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 59, column: 19, }, end: Position { line: 59, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 59, column: 23, }, end: Position { line: 59, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Set the logcheck level.\n", span: Span { start: Position { line: 60, column: 1, }, end: Position { line: 61, column: 5, }, }, }, ), ], span: Span { start: Position { line: 59, column: 29, }, end: Position { line: 61, column: 7, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 56, column: 26, }, end: Position { line: 62, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ignoreOptions", span: Span { start: Position { line: 64, column: 3, }, end: Position { line: 64, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 65, column: 5, }, end: Position { line: 65, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "level", span: Span { start: Position { line: 66, column: 7, }, end: Position { line: 66, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "levelOption", span: Span { start: Position { line: 66, column: 15, }, end: Position { line: 66, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "regex", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 68, column: 15, }, end: Position { line: 68, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 69, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 69, column: 19, }, end: Position { line: 69, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 70, column: 16, }, end: Position { line: 70, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 70, column: 22, }, end: Position { line: 70, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 71, column: 23, }, end: Position { line: 71, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 71, column: 27, }, end: Position { line: 71, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Regex specifying which log lines to ignore.\n", span: Span { start: Position { line: 72, column: 1, }, end: Position { line: 73, column: 9, }, }, }, ), ], span: Span { start: Position { line: 71, column: 33, }, end: Position { line: 73, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 68, column: 24, }, end: Position { line: 74, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 65, column: 15, }, end: Position { line: 75, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 64, column: 19, }, end: Position { line: 76, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ignoreCronOptions", span: Span { start: Position { line: 78, column: 3, }, end: Position { line: 78, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 79, column: 5, }, end: Position { line: 79, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 80, column: 14, }, end: Position { line: 80, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "root", span: Span { start: Position { line: 81, column: 20, }, end: Position { line: 81, column: 24, }, }, }, ), ], span: Span { start: Position { line: 81, column: 19, }, end: Position { line: 81, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 82, column: 16, }, end: Position { line: 82, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 82, column: 22, }, end: Position { line: 82, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 83, column: 23, }, end: Position { line: 83, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 83, column: 27, }, end: Position { line: 83, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "User that runs the cronjob.\n", span: Span { start: Position { line: 84, column: 1, }, end: Position { line: 85, column: 9, }, }, }, ), ], span: Span { start: Position { line: 83, column: 33, }, end: Position { line: 85, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 80, column: 23, }, end: Position { line: 86, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cmdline", span: Span { start: Position { line: 88, column: 7, }, end: Position { line: 88, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 88, column: 17, }, end: Position { line: 88, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 89, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 89, column: 19, }, end: Position { line: 89, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 90, column: 16, }, end: Position { line: 90, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 90, column: 22, }, end: Position { line: 90, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 91, column: 23, }, end: Position { line: 91, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 91, column: 27, }, end: Position { line: 91, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Command line for the cron job. Will be turned into a regex for the logcheck ignore rule.\n", span: Span { start: Position { line: 92, column: 1, }, end: Position { line: 93, column: 9, }, }, }, ), ], span: Span { start: Position { line: 91, column: 33, }, end: Position { line: 93, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 88, column: 26, }, end: Position { line: 94, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "timeArgs", span: Span { start: Position { line: 96, column: 7, }, end: Position { line: 96, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 96, column: 18, }, end: Position { line: 96, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 97, column: 19, }, end: Position { line: 97, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 98, column: 16, }, end: Position { line: 98, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 98, column: 22, }, end: Position { line: 98, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 98, column: 30, }, end: Position { line: 98, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 98, column: 36, }, end: Position { line: 98, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "02 06 * * *", span: Span { start: Position { line: 99, column: 20, }, end: Position { line: 99, column: 31, }, }, }, ), ], span: Span { start: Position { line: 99, column: 19, }, end: Position { line: 99, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 100, column: 9, }, end: Position { line: 100, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 100, column: 23, }, end: Position { line: 100, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 100, column: 27, }, end: Position { line: 100, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"min hr dom mon dow\" crontab time args, to auto-create a cronjob too.\nLeave at null to not do this and just add a logcheck ignore rule.\n", span: Span { start: Position { line: 101, column: 1, }, end: Position { line: 103, column: 9, }, }, }, ), ], span: Span { start: Position { line: 100, column: 33, }, end: Position { line: 103, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 96, column: 27, }, end: Position { line: 104, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 79, column: 15, }, end: Position { line: 105, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 78, column: 23, }, end: Position { line: 106, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 110, column: 3, }, end: Position { line: 110, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 111, column: 5, }, end: Position { line: 111, column: 13, }, }, }, ), Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 111, column: 14, }, end: Position { line: 111, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 112, column: 7, }, end: Position { line: 112, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 112, column: 16, }, end: Position { line: 112, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 113, column: 9, }, end: Position { line: 113, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 113, column: 19, }, end: Position { line: 113, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 114, column: 9, }, end: Position { line: 114, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 114, column: 16, }, end: Position { line: 114, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 114, column: 22, }, end: Position { line: 114, column: 26, }, }, }, ), ], default: None, }, ), }, ), 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: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable the logcheck cron job.\n", span: Span { start: Position { line: 116, column: 1, }, end: Position { line: 117, column: 9, }, }, }, ), ], span: Span { start: Position { line: 115, column: 33, }, end: Position { line: 117, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 112, column: 25, }, end: Position { line: 118, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 120, column: 7, }, end: Position { line: 120, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 120, column: 14, }, end: Position { line: 120, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 121, column: 9, }, end: Position { line: 121, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 121, column: 20, }, end: Position { line: 121, column: 28, }, }, }, ), ], span: Span { start: Position { line: 121, column: 19, }, end: Position { line: 121, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 122, column: 9, }, end: Position { line: 122, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 122, column: 16, }, end: Position { line: 122, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 122, column: 22, }, end: Position { line: 122, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 123, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 123, column: 23, }, end: Position { line: 123, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 123, column: 27, }, end: Position { line: 123, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Username for the logcheck user.\n", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 125, column: 9, }, }, }, ), ], span: Span { start: Position { line: 123, column: 33, }, end: Position { line: 125, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 120, column: 23, }, end: Position { line: 126, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "timeOfDay", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 128, column: 19, }, end: Position { line: 128, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 129, column: 9, }, end: Position { line: 129, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "*", span: Span { start: Position { line: 129, column: 20, }, end: Position { line: 129, column: 21, }, }, }, ), ], span: Span { start: Position { line: 129, column: 19, }, end: Position { line: 129, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 130, column: 9, }, end: Position { line: 130, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "6", span: Span { start: Position { line: 130, column: 20, }, end: Position { line: 130, column: 21, }, }, }, ), ], span: Span { start: Position { line: 130, column: 19, }, end: Position { line: 130, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 131, column: 9, }, end: Position { line: 131, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 131, column: 16, }, end: Position { line: 131, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 131, column: 22, }, end: Position { line: 131, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 132, column: 9, }, end: Position { line: 132, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 132, column: 23, }, end: Position { line: 132, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 132, column: 27, }, end: Position { line: 132, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Time of day to run logcheck. A logcheck will be scheduled at xx:02 each day.\nLeave default (*) to run every hour. Of course when nothing special was logged,\nlogcheck will be silent.\n", span: Span { start: Position { line: 133, column: 1, }, end: Position { line: 136, column: 9, }, }, }, ), ], span: Span { start: Position { line: 132, column: 33, }, end: Position { line: 136, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 128, column: 28, }, end: Position { line: 137, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mailTo", span: Span { start: Position { line: 139, column: 7, }, end: Position { line: 139, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 139, column: 16, }, end: Position { line: 139, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 140, column: 9, }, end: Position { line: 140, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "root", span: Span { start: Position { line: 140, column: 20, }, end: Position { line: 140, column: 24, }, }, }, ), ], span: Span { start: Position { line: 140, column: 19, }, end: Position { line: 140, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "you@domain.com", span: Span { start: Position { line: 141, column: 20, }, end: Position { line: 141, column: 34, }, }, }, ), ], span: Span { start: Position { line: 141, column: 19, }, end: Position { line: 141, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 142, column: 9, }, end: Position { line: 142, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 142, column: 16, }, end: Position { line: 142, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 142, column: 22, }, end: Position { line: 142, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 143, column: 23, }, end: Position { line: 143, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 143, column: 27, }, end: Position { line: 143, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Email address to send reports to.\n", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 145, column: 9, }, }, }, ), ], span: Span { start: Position { line: 143, column: 33, }, end: Position { line: 145, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 139, column: 25, }, end: Position { line: 146, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "level", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 148, column: 15, }, end: Position { line: 148, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 149, column: 9, }, end: Position { line: 149, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "server", span: Span { start: Position { line: 149, column: 20, }, end: Position { line: 149, column: 26, }, }, }, ), ], span: Span { start: Position { line: 149, column: 19, }, end: Position { line: 149, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 150, column: 9, }, end: Position { line: 150, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 150, column: 16, }, end: Position { line: 150, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 150, column: 22, }, end: Position { line: 150, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 151, column: 9, }, end: Position { line: 151, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 151, column: 23, }, end: Position { line: 151, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 151, column: 27, }, end: Position { line: 151, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Set the logcheck level. Either \"workstation\", \"server\", or \"paranoid\".\n", span: Span { start: Position { line: 152, column: 1, }, end: Position { line: 153, column: 9, }, }, }, ), ], span: Span { start: Position { line: 151, column: 33, }, end: Position { line: 153, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 148, column: 24, }, end: Position { line: 154, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 156, column: 7, }, end: Position { line: 156, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 156, column: 16, }, end: Position { line: 156, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 157, column: 9, }, end: Position { line: 157, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "FQDN=1", span: Span { start: Position { line: 157, column: 20, }, end: Position { line: 157, column: 26, }, }, }, ), ], span: Span { start: Position { line: 157, column: 19, }, end: Position { line: 157, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 158, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 158, column: 16, }, end: Position { line: 158, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 158, column: 22, }, end: Position { line: 158, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 159, column: 23, }, end: Position { line: 159, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 159, column: 27, }, end: Position { line: 159, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Config options that you would like in logcheck.conf.\n", span: Span { start: Position { line: 160, column: 1, }, end: Position { line: 161, column: 9, }, }, }, ), ], span: Span { start: Position { line: 159, column: 33, }, end: Position { line: 161, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 156, column: 25, }, end: Position { line: 162, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "files", span: Span { start: Position { line: 164, column: 7, }, end: Position { line: 164, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 164, column: 15, }, end: Position { line: 164, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 165, column: 9, }, end: Position { line: 165, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/var/log/messages", span: Span { start: Position { line: 165, column: 22, }, end: Position { line: 165, column: 39, }, }, }, ), ], span: Span { start: Position { line: 165, column: 21, }, end: Position { line: 165, column: 40, }, }, }, ), ], span: Span { start: Position { line: 165, column: 19, }, end: Position { line: 165, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 166, column: 9, }, end: Position { line: 166, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 166, column: 16, }, end: Position { line: 166, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 166, column: 22, }, end: Position { line: 166, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 166, column: 29, }, end: Position { line: 166, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 166, column: 35, }, end: Position { line: 166, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 167, column: 9, }, end: Position { line: 167, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/var/log/messages", span: Span { start: Position { line: 167, column: 22, }, end: Position { line: 167, column: 39, }, }, }, ), ], span: Span { start: Position { line: 167, column: 21, }, end: Position { line: 167, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/var/log/mail", span: Span { start: Position { line: 167, column: 42, }, end: Position { line: 167, column: 55, }, }, }, ), ], span: Span { start: Position { line: 167, column: 41, }, end: Position { line: 167, column: 56, }, }, }, ), ], span: Span { start: Position { line: 167, column: 19, }, end: Position { line: 167, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 168, column: 9, }, end: Position { line: 168, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 168, column: 23, }, end: Position { line: 168, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 168, column: 27, }, end: Position { line: 168, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Which log files to check.\n", span: Span { start: Position { line: 169, column: 1, }, end: Position { line: 170, column: 9, }, }, }, ), ], span: Span { start: Position { line: 168, column: 33, }, end: Position { line: 170, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 164, column: 24, }, end: Position { line: 171, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraRulesDirs", span: Span { start: Position { line: 173, column: 7, }, end: Position { line: 173, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 173, column: 24, }, end: Position { line: 173, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 174, column: 9, }, end: Position { line: 174, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 174, column: 19, }, end: Position { line: 174, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 175, column: 9, }, end: Position { line: 175, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/etc/logcheck", span: Span { start: Position { line: 175, column: 22, }, end: Position { line: 175, column: 35, }, }, }, ), ], span: Span { start: Position { line: 175, column: 21, }, end: Position { line: 175, column: 36, }, }, }, ), ], span: Span { start: Position { line: 175, column: 19, }, end: Position { line: 175, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 176, column: 9, }, end: Position { line: 176, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 176, column: 16, }, end: Position { line: 176, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 176, column: 22, }, end: Position { line: 176, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 176, column: 29, }, end: Position { line: 176, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 176, column: 35, }, end: Position { line: 176, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 177, column: 9, }, end: Position { line: 177, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 177, column: 23, }, end: Position { line: 177, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 177, column: 27, }, end: Position { line: 177, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Directories with extra rules.\n", span: Span { start: Position { line: 178, column: 1, }, end: Position { line: 179, column: 9, }, }, }, ), ], span: Span { start: Position { line: 177, column: 33, }, end: Position { line: 179, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 173, column: 33, }, end: Position { line: 180, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ignore", span: Span { start: Position { line: 182, column: 7, }, end: Position { line: 182, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 182, column: 16, }, end: Position { line: 182, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 183, column: 9, }, end: Position { line: 183, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 183, column: 19, }, end: Position { line: 183, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 184, column: 9, }, end: Position { line: 184, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 184, column: 23, }, end: Position { line: 184, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 184, column: 27, }, end: Position { line: 184, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "This option defines extra ignore rules.\n", span: Span { start: Position { line: 185, column: 1, }, end: Position { line: 186, column: 9, }, }, }, ), ], span: Span { start: Position { line: 184, column: 33, }, end: Position { line: 186, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 187, column: 9, }, end: Position { line: 187, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 187, column: 21, }, end: Position { line: 187, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 187, column: 28, }, end: Position { line: 187, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 187, column: 37, }, end: Position { line: 187, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "ignoreOptions", span: Span { start: Position { line: 187, column: 47, }, end: Position { line: 187, column: 60, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 187, column: 16, }, end: Position { line: 187, column: 61, }, }, }, ), }, ), ], span: Span { start: Position { line: 182, column: 25, }, end: Position { line: 188, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ignoreCron", span: Span { start: Position { line: 190, column: 7, }, end: Position { line: 190, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 190, column: 20, }, end: Position { line: 190, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 191, column: 9, }, end: Position { line: 191, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 191, column: 19, }, end: Position { line: 191, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 192, column: 9, }, end: Position { line: 192, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 192, column: 23, }, end: Position { line: 192, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 192, column: 27, }, end: Position { line: 192, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "This option defines extra ignore rules for cronjobs.\n", span: Span { start: Position { line: 193, column: 1, }, end: Position { line: 194, column: 9, }, }, }, ), ], span: Span { start: Position { line: 192, column: 33, }, end: Position { line: 194, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 195, column: 9, }, end: Position { line: 195, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 195, column: 21, }, end: Position { line: 195, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 195, column: 28, }, end: Position { line: 195, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 195, column: 37, }, end: Position { line: 195, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "ignoreCronOptions", span: Span { start: Position { line: 195, column: 47, }, end: Position { line: 195, column: 64, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 195, column: 16, }, end: Position { line: 195, column: 65, }, }, }, ), }, ), ], span: Span { start: Position { line: 190, column: 29, }, end: Position { line: 196, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraGroups", span: Span { start: Position { line: 198, column: 7, }, end: Position { line: 198, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 198, column: 21, }, end: Position { line: 198, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 199, column: 9, }, end: Position { line: 199, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 199, column: 19, }, end: Position { line: 199, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 200, column: 9, }, end: Position { line: 200, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 200, column: 16, }, end: Position { line: 200, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 200, column: 22, }, end: Position { line: 200, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 200, column: 29, }, end: Position { line: 200, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 200, column: 35, }, end: Position { line: 200, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 201, column: 9, }, end: Position { line: 201, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "postdrop", span: Span { start: Position { line: 201, column: 22, }, end: Position { line: 201, column: 30, }, }, }, ), ], span: Span { start: Position { line: 201, column: 21, }, end: Position { line: 201, column: 31, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mongodb", span: Span { start: Position { line: 201, column: 33, }, end: Position { line: 201, column: 40, }, }, }, ), ], span: Span { start: Position { line: 201, column: 32, }, end: Position { line: 201, column: 41, }, }, }, ), ], span: Span { start: Position { line: 201, column: 19, }, end: Position { line: 201, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 202, column: 9, }, end: Position { line: 202, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 202, column: 23, }, end: Position { line: 202, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 202, column: 27, }, end: Position { line: 202, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra groups for the logcheck user, for example to be able to use sendmail,\nor to access certain log files.\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 205, column: 9, }, }, }, ), ], span: Span { start: Position { line: 202, column: 33, }, end: Position { line: 205, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 198, column: 30, }, end: Position { line: 206, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 111, column: 25, }, end: Position { line: 208, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 110, column: 13, }, end: Position { line: 209, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 211, column: 3, }, end: Position { line: 211, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 211, column: 12, }, end: Position { line: 211, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 211, column: 17, }, end: Position { line: 211, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 211, column: 21, }, end: Position { line: 211, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 212, column: 5, }, end: Position { line: 212, column: 13, }, }, }, ), Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 212, column: 14, }, end: Position { line: 212, column: 22, }, }, }, ), Raw( PartRaw { content: "extraRulesDirs", span: Span { start: Position { line: 212, column: 23, }, end: Position { line: 212, column: 37, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 213, column: 9, }, end: Position { line: 213, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "writeIgnoreRule", span: Span { start: Position { line: 213, column: 24, }, end: Position { line: 213, column: 39, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 213, column: 40, }, end: Position { line: 213, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ignore", span: Span { start: Position { line: 213, column: 44, }, end: Position { line: 213, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 214, column: 12, }, end: Position { line: 214, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "writeIgnoreCronRule", span: Span { start: Position { line: 214, column: 27, }, end: Position { line: 214, column: 46, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 214, column: 47, }, end: Position { line: 214, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ignoreCron", span: Span { start: Position { line: 214, column: 51, }, end: Position { line: 214, column: 61, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 216, column: 5, }, end: Position { line: 216, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 216, column: 11, }, end: Position { line: 216, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 216, column: 19, }, end: Position { line: 216, column: 32, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 216, column: 34, }, end: Position { line: 216, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 216, column: 38, }, end: Position { line: 216, column: 42, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 216, column: 47, }, end: Position { line: 216, column: 55, }, }, }, ), ], span: Span { start: Position { line: 216, column: 46, }, end: Position { line: 216, column: 56, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 217, column: 7, }, end: Position { line: 217, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 218, column: 9, }, end: Position { line: 218, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 218, column: 18, }, end: Position { line: 218, column: 26, }, }, }, ), ], span: Span { start: Position { line: 218, column: 17, }, end: Position { line: 218, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 219, column: 9, }, end: Position { line: 219, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 219, column: 24, }, end: Position { line: 219, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shell", span: Span { start: Position { line: 220, column: 9, }, end: Position { line: 220, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/bin/sh", span: Span { start: Position { line: 220, column: 18, }, end: Position { line: 220, column: 25, }, }, }, ), ], span: Span { start: Position { line: 220, column: 17, }, end: Position { line: 220, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 221, column: 9, }, end: Position { line: 221, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Logcheck user account", span: Span { start: Position { line: 221, column: 24, }, end: Position { line: 221, column: 45, }, }, }, ), ], span: Span { start: Position { line: 221, column: 23, }, end: Position { line: 221, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraGroups", span: Span { start: Position { line: 222, column: 9, }, end: Position { line: 222, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 222, column: 23, }, end: Position { line: 222, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraGroups", span: Span { start: Position { line: 222, column: 27, }, end: Position { line: 222, column: 38, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 217, column: 18, }, end: Position { line: 223, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 216, column: 58, }, end: Position { line: 224, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 225, column: 5, }, end: Position { line: 225, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 225, column: 11, }, end: Position { line: 225, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 225, column: 20, }, end: Position { line: 225, column: 33, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 225, column: 35, }, end: Position { line: 225, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 225, column: 39, }, end: Position { line: 225, column: 43, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 225, column: 48, }, end: Position { line: 225, column: 56, }, }, }, ), ], span: Span { start: Position { line: 225, column: 47, }, end: Position { line: 225, column: 57, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 226, column: 7, }, end: Position { line: 226, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 226, column: 18, }, end: Position { line: 226, column: 20, }, }, }, ), }, ), ], span: Span { start: Position { line: 225, column: 59, }, end: Position { line: 227, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 229, column: 5, }, end: Position { line: 229, column: 11, }, }, }, ), Raw( PartRaw { content: "activationScripts", span: Span { start: Position { line: 229, column: 12, }, end: Position { line: 229, column: 29, }, }, }, ), Raw( PartRaw { content: "logcheck", span: Span { start: Position { line: 229, column: 30, }, end: Position { line: 229, column: 38, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -m 700 -p /var/{lib,lock}/logcheck\nchown ", span: Span { start: Position { line: 230, column: 1, }, end: Position { line: 231, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 231, column: 15, }, end: Position { line: 231, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 231, column: 19, }, end: Position { line: 231, column: 23, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " /var/{lib,lock}/logcheck\n", span: Span { start: Position { line: 230, column: 1, }, end: Position { line: 232, column: 5, }, }, }, ), ], span: Span { start: Position { line: 229, column: 41, }, end: Position { line: 232, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 234, column: 5, }, end: Position { line: 234, column: 13, }, }, }, ), Raw( PartRaw { content: "cron", span: Span { start: Position { line: 234, column: 14, }, end: Position { line: 234, column: 18, }, }, }, ), Raw( PartRaw { content: "systemCronJobs", span: Span { start: Position { line: 234, column: 19, }, end: Position { line: 234, column: 33, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "withTime", span: Span { start: Position { line: 235, column: 13, }, end: Position { line: 235, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "timeArgs", default: None, }, ], }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "timeArgs", span: Span { start: Position { line: 235, column: 47, }, end: Position { line: 235, column: 55, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 235, column: 59, }, end: Position { line: 235, column: 63, }, }, }, ), }, ), span: Span { start: Position { line: 235, column: 30, }, end: Position { line: 235, column: 63, }, }, }, ), span: Span { start: Position { line: 235, column: 24, }, end: Position { line: 235, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkCron", span: Span { start: Position { line: 236, column: 13, }, end: Position { line: 236, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "user", default: None, }, FunctionHeadDestructuredArgument { identifier: "cmdline", default: None, }, FunctionHeadDestructuredArgument { identifier: "timeArgs", default: None, }, ], }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 237, column: 1, }, end: Position { line: 237, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "timeArgs", span: Span { start: Position { line: 237, column: 17, }, end: Position { line: 237, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 237, column: 1, }, end: Position { line: 237, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 237, column: 29, }, end: Position { line: 237, column: 33, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 237, column: 1, }, end: Position { line: 237, column: 35, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "cmdline", span: Span { start: Position { line: 237, column: 37, }, end: Position { line: 237, column: 44, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 237, column: 1, }, end: Position { line: 238, column: 13, }, }, }, ), ], span: Span { start: Position { line: 236, column: 60, }, end: Position { line: 238, column: 15, }, }, }, ), span: Span { start: Position { line: 236, column: 28, }, end: Position { line: 238, column: 15, }, }, }, ), span: Span { start: Position { line: 236, column: 22, }, end: Position { line: 238, column: 15, }, }, }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 239, column: 12, }, end: Position { line: 239, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "mkCron", span: Span { start: Position { line: 239, column: 27, }, end: Position { line: 239, column: 33, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterAttrs", span: Span { start: Position { line: 239, column: 35, }, end: Position { line: 239, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "withTime", span: Span { start: Position { line: 239, column: 47, }, end: Position { line: 239, column: 55, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 239, column: 56, }, end: Position { line: 239, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ignoreCron", span: Span { start: Position { line: 239, column: 60, }, end: Position { line: 239, column: 70, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), operator: Concatenation, right: List( List { elements: [ Identifier( Identifier { id: "cronJob", span: Span { start: Position { line: 240, column: 17, }, end: Position { line: 240, column: 24, }, }, }, ), ], span: Span { start: Position { line: 240, column: 15, }, end: Position { line: 240, column: 26, }, }, }, ), }, ), span: Span { start: Position { line: 235, column: 9, }, end: Position { line: 240, column: 26, }, }, }, ), }, ), ], span: Span { start: Position { line: 211, column: 28, }, end: Position { line: 241, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 109, column: 1, }, end: Position { line: 242, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 242, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 242, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 242, column: 2, }, }, }, )