Skip to content

Commit

Permalink
clean up code to get apache source
Browse files Browse the repository at this point in the history
  • Loading branch information
Athir Nuaimi committed May 9, 2012
1 parent ef2d256 commit c1e6360
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vagrant
apache2*
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ it uses vagrant to create an ubuntu vm that has all the required build tools to
`git clone git://github.com/anuaimi/apache_module.git`
- install vagrant

gem install bundler
bundle install
`gem install bundler; bundle install`

- create the virtual machine

Expand Down
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Vagrant::Config.run do |config|
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "site.pp"
puppet.module_path = "puppet/modules"
puppet.options = "--verbose --debug"
end

end
3 changes: 2 additions & 1 deletion puppet/manifests/nodes.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
}

exec { 'apache2-source':
command => 'cd /vagrant; /usr/bin/apt-get source apache2',
command => '/usr/bin/apt-get source apache2',
cwd => '/vagrant',
loglevel => info,
timeout => 1800,
}
Expand Down

0 comments on commit c1e6360

Please sign in to comment.