1 2 3 4 5 6 7 8 9
class websites::base { $webdatadir = '/var/www/vhosts' file { $webdatadir: ensure => directory, mode => '0755', owner => root, group => root } }