Permalink
Browse files

Working Apache with greeting page.

Fix path of index.html,
Change port for browser,
Change contents of index.html to verify that it's picking up changes.
  • Loading branch information...
1 parent 082491f commit 4e9901af538fb7af8eddfb2a9a2b7e6180350f41 Jeffrey S. Haemer committed Apr 19, 2012
Showing with 5 additions and 3 deletions.
  1. +1 −1 Vagrantfile
  2. +1 −1 modules/httpd/files/index.html
  3. +3 −1 modules/httpd/manifests/init.pp
View
@@ -29,7 +29,7 @@ Vagrant::Config.run do |config|
# Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not.
- # config.vm.forward_port 80, 8080
+ config.vm.forward_port 80, 4567
# Share an additional folder to the guest VM. The first argument is
# an identifier, the second is the path on the guest to mount the
@@ -1 +1 @@
-<h1>Hello from Jeff's Vagrant Instance</h1>
+<h1>Hello to Carl from Jeff's Vagrant Instance</h1>
@@ -11,8 +11,10 @@
}
file { 'index.html':
- path => '/var/www/index.html',
+ path => '/var/www/html/index.html',
ensure => file,
require => Package['httpd'],
source => 'puppet:///modules/httpd/index.html',
+ }
+
}

0 comments on commit 4e9901a

Please sign in to comment.