![]() ![]() ![]() In my case i'm using apache under debian Same goes for ubuntu. Once its up go into your directories where your sites-available directory is. Next, in order for the virtual machine to reconize your updates make sure your vagrant is stopped while making these changes into common.yaml and after your done and save type vagrant up into terminal. The options for servername, docroot seem simple so modify these. If anyone has a better or faster way let me know.ġ) I had origionally used puphet from Ģ) i had origionally used puphet from ģ) i went into the directory where puhpet gave me so i went into mypath/puppet/hieradataĤ) under vhosts: are the vhost settings, example: < vhosts:Įach vhost is given a unique identification name and it can be anything. I figured it out, i'm not sure if this is the correct way of doing it but it works and thats all that matters. Puppet.manifests_path = "puppet/manifests" Virtualbox.customize Ĭonfig.vm.provision :shell, :path => "shell/initial-setup.sh"Ĭonfig.vm.provision :shell, :path => "shell/update-puppet.sh"Ĭonfig.vm.provision :shell, :path => "shell/librarian-puppet-vagrant.sh" Here is my vagrant file: nfigure("2") do |config|Ĭonfig.vm.box = "debian-wheezy72-圆4-vbox43"Ĭonfig.vm.network "private_network", ip: "192.168.56.101"Ĭonfig.vm.synced_folder "/Volumes/= (2200.2250)Ĭonfig.vm.provider :virtualbox do |virtualbox| What is chef doing that I cant do manually? But what i don't understand is why wont it work the normal way? By the normal way i mean creating a new vhost file in /etc/apache2/sites-available, enabling it and just creating the path with ip in my local machines host file. I've read other threads such as:Ĭreating virtual hosts on a vagrant box which mentions to use chef. But now when I try creating another it wont work. I created a debian vm and via puphet I just created one virtual host and pointed the local ip it created inside my hosts host file. ![]()
0 Comments
Leave a Reply. |