feat: initial commit
This commit is contained in:
commit
38f495e3f4
457 changed files with 40577 additions and 0 deletions
12
environments/production/thirdparty/docker/functions/sanitised_name.pp
vendored
Normal file
12
environments/production/thirdparty/docker/functions/sanitised_name.pp
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
# == Function: docker::sanitised_name
|
||||
#
|
||||
# Function to sanitise container name.
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*name*]
|
||||
# Name to sanitise
|
||||
#
|
||||
function docker::sanitised_name($name) {
|
||||
regsubst($name, '[^0-9A-Za-z.\-_]', '-', 'G')
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue