Skip to content

Instantly share code, notes, and snippets.

@dnase
Created April 26, 2017 17:51
Show Gist options
  • Save dnase/1075d99aa2e938636fc0f9506d80524e to your computer and use it in GitHub Desktop.
Save dnase/1075d99aa2e938636fc0f9506d80524e to your computer and use it in GitHub Desktop.
# profile::webserver
# this is a profile class that configures a webserver
class profile::webserver {
class{ 'apache': }
apache::vhost { 'vhost.example.com':
port => '80',
docroot => '/var/www/vhost',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment