Commits

Nicola Paolucci  committed 8d72e4a

added libcurl4-openssl-dev requirement and 4567 port forward

  • Participants
  • Parent commits cb1cc91
  • Branches middleman

Comments (0)

Files changed (3)

 [submodule "modules/stdlib"]
 	path = modules/stdlib
 	url = git://github.com/puppetlabs/puppetlabs-stdlib.git
+[submodule "durdn-com"]
+	path = durdn-com
+	url = git@bitbucket.org:durdn/durdn-com.git
 
 Vagrant::Config.run do |config|
   config.vm.box = "base"
+  config.vm.forward_port 4567, 4567
   config.vm.provision :puppet, :module_path => "modules", :options => "--verbose --debug" do |puppet|
     puppet.manifests_path = "manifests"
     puppet.manifest_file  = "default.pp"
   # config.vm.boot_mode = :gui
   # config.vm.network :hostonly, "192.168.33.10"
   # config.vm.network :bridged
-  # config.vm.forward_port 80, 8080
   # config.vm.share_folder "v-data", "/vagrant_data", "../data"
 end

File manifests/default.pp

   require => Package["npm"],
 }
 
+package { ["libcurl4-openssl-dev"]:
+  ensure => present,
+  require => Exec["apt-get update"],
+}
+
 rbenv::gem { "middleman":
   user => "vagrant",
   ruby => "1.9.3-p327",
-  require => Package["coffee-script"],
+  require => Package["coffee-script", "libcurl4-openssl-dev"],
 }