class hotglue { case $apache_www_folder { '': { $apache_www_folder = "/var/www" } } vcsrepo { "${apache_www_folder}/hotglue2": ensure => present, provider => git, source => 'https://github.com/hotglue/hotglue2.git', revision => 'ddd9ba49767e9fe92297160f26d72bf46b916b26', owner => 'root', group => 'root', } file { "${apache_www_folder}/hotglue2/sites": ensure => directory, owner => root, group => root, mode => 0755, require => Vcsrepo["${apache_www_folder}/hotglue2"], } file { "${apache_www_folder}/hotglue2/user-config.inc.php": ensure => present, owner => root, group => root, mode => 0644, source => "puppet:///modules/hotglue/user-config.inc.php", require => Vcsrepo["${apache_www_folder}/hotglue2"], } }