Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Default vhost
  • Loading branch information
Gábor Fási committed Oct 10, 2013
1 parent 4be2a94 commit 553f09f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions vagrant/manifests/default.pp
Expand Up @@ -23,7 +23,8 @@
'build-essential',
'vim',
'curl',
'git-core'
'git-core',
'mc',
]:
ensure => 'installed',
}
Expand All @@ -36,8 +37,12 @@

apache::module { 'rewrite': }

file { '/etc/apache2/sites-enabled/000-default':
ensure => absent,
}

apache::vhost { 'localhost':
server_name => 'localhost',
server_name => false, # hogy ez legyen a default
serveraliases => [
],
docroot => '/vagrant/',
Expand Down Expand Up @@ -134,6 +139,7 @@
file { '/etc/apache2/conf.d/phpmyadmin':
ensure => 'link',
target => '/etc/phpmyadmin/apache.conf',
require => Class["phpmyadmin"],
}

apache::vhost { 'phpmyadmin':
Expand Down

0 comments on commit 553f09f

Please sign in to comment.