Plugin | get_server_filename |
In: |
/vagrant/modules/undine_apache/lib/puppet/parser/functions/get_server_filename.rb
|
A helper function used by Undine to translate a valid ServerName in an httpd VirtualHost entry to a filename, with ’.’ replaced with ’-’.
A filename to use for the given ServerName, returned as a string.
Translates "my.localhost.test" to "my-localhost-test"
$name = get_project_name('my.localhost.test')