class cgit::filter_setup ( String $filterpath = $::cgit::filterpath, ) { file { dirname($filterpath): ensure => directory, } file { $filterpath: ensure => directory, } }