-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
40 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
# @summary The weird, weird Bareos director addresses format | ||
# @author Tobias @towo Wolter <tobias.wolter+voxpupuli@b1-systems.de> | ||
# @see https://docs.bareos.org/Configuration/CustomizingTheConfiguration.html#datatypenetaddresses | ||
type Profile::Addresses = Hash[ | ||
type Bareos::Addresses = Hash[ | ||
Enum['ip', 'ipv4', 'ipv6'], Variant[ | ||
Struct[{ | ||
addr => Stdlib::Host, | ||
Optional[port] => Stdlib::Port, | ||
}], | ||
Array[Struct[{ | ||
addr => Stdlib::Host, | ||
Optional[port] => Stdlib::Port, | ||
}]] | ||
Struct[ | ||
{ | ||
addr => Stdlib::Host, | ||
Optional[port] => Stdlib::Port, | ||
} | ||
], | ||
Array[ | ||
Struct[ | ||
{ | ||
addr => Stdlib::Host, | ||
Optional[port] => Stdlib::Port, | ||
} | ||
] | ||
] | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# @summary Backup job level | ||
# @author Tobias @towo Wolter <towo+voxpupuli@b1-systems.de> | ||
# @see https://docs.bareos.org/Configuration/CustomizingTheConfiguration.html#datatype-backup_level | ||
type Profile::Job::Level = Enum[ | ||
type Bareos::Job::Level = Enum[ | ||
'Full', | ||
'Differential', | ||
'Incremental', | ||
'VirtualFull', | ||
'InitCatalog', | ||
'Catalog', | ||
'VolumeToCatalog', | ||
'DiskToCatalog' | ||
'DiskToCatalog', | ||
] |