| OLD | NEW |
| 1 Vagrant::Config.run do |config| | 1 Vagrant::Config.run do |config| |
| 2 config.vm.box = "precise64" | 2 config.vm.define :webserver do |config| |
| 3 config.vm.box_url = "http://files.vagrantup.com/precise64.box" | 3 config.vm.box = "precise64" |
| 4 config.vm.network :hostonly, "10.8.0.97" | 4 config.vm.box_url = "http://files.vagrantup.com/precise64.box" |
| 5 config.vm.network :hostonly, "10.8.0.97" |
| 5 | 6 |
| 6 config.vm.provision :puppet do |puppet| | 7 config.vm.provision :puppet do |puppet| |
| 7 puppet.manifests_path = 'manifests' | 8 puppet.manifests_path = 'manifests' |
| 8 puppet.manifest_file = 'vagrant.pp' | 9 puppet.manifest_file = 'webserver.pp' |
| 9 puppet.module_path = 'modules' | 10 puppet.module_path = 'modules' |
| 10 end | 11 end |
| 11 | 12 |
| 12 local_anwiki_repository = "../anwiki" | 13 local_anwiki_repository = "../anwiki" |
| 13 if File.directory?(local_anwiki_repository) | 14 if File.directory?(local_anwiki_repository) |
| 14 config.vm.share_folder("local_anwiki_repository", | 15 config.vm.share_folder("local_anwiki_repository", |
| 15 "/mnt/local_anwiki_repository", local_anwiki_repository) | 16 "/mnt/local_anwiki_repository", local_anwiki_repository) |
| 17 end |
| 16 end | 18 end |
| 17 end | 19 end |
| OLD | NEW |