jeff1evesque / iScanner

Backend iOS, and Android logic for facial, and iris recognition
1 stars 0 forks source link

Install git via Vagrant-Puppet 'default.pp' #11

Closed jeff1evesque closed 9 years ago

jeff1evesque commented 9 years ago

We need to install the git package within default.pp:

package {'git': ensure => present, }

which will be responsible for installing git. This file will need to be referenced within the vagrantfile as follows:

Vagrant.configure("2") do |config|
...
  config.vm.provision "puppet" do |puppet|
    puppet.manifests_path = "/manifests"
    puppet.manifest_file = "default.pp"
  end
...
end

Note: by default, the entry point is site.pp for a simple puppet implementation. However, when implementing puppet within vagrant, the entry point can be explicitly defined (as above).

jeff1evesque commented 9 years ago

We need to fix a minor typo.

jeff1evesque commented 9 years ago

The git package is not required, and can be removed from default.pp. We will simply make changes from the host, and reprovision with the vagrant reload command, when needed. This will be made possible when the VM instance implements port forwarding.

jeff1evesque commented 9 years ago

This is not a web-application. Therefore, port forwarding is not necessary, and the git package is required (for development).