Skip to content

Commit

Permalink
Working Apache with greeting page.
Browse files Browse the repository at this point in the history
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
jsh committed Apr 19, 2012
1 parent 082491f commit 4e9901a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/httpd/files/index.html
@@ -1 +1 @@
<h1>Hello from Jeff's Vagrant Instance</h1>
<h1>Hello to Carl from Jeff's Vagrant Instance</h1>
4 changes: 3 additions & 1 deletion modules/httpd/manifests/init.pp
Expand Up @@ -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.