Skip to content

Instantly share code, notes, and snippets.

@rjsalts
Created March 23, 2015 18:25
Show Gist options
  • Save rjsalts/9682c9de65028c7f1423 to your computer and use it in GitHub Desktop.
Save rjsalts/9682c9de65028c7f1423 to your computer and use it in GitHub Desktop.
define lxchost::mountContainerMounts {
$mntarr = split($title, ':')
$mntpoint = $mntarr[-1]
$classname = downcase(regsubst($mntpoint,'^.*/','lxchost::implementation::mount'))
require $classname
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment