Install Redmine on Virtual Machine with Vagrant
[*] Initialize VM:
chad@typcserver ~/docs/vagrant-prj $ vagrant --versionVagrant 1.4.3chad@typcserver ~/docs/vagrant-prj $ vagrant initchad@typcserver ~/docs/vagrant-prj $ cat VagrantfileVAGRANTFILE_API_VERSION = "2"Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|config.vm.box = "precise64"config.vm.box_url = "http://files.vagrantup.com/precise64.box"end
[*] Startup VM:
chad@typcserver ~/docs/vagrant-prj $ vagrant upchad@typcserver ~/docs/vagrant-prj $ vagrant ssh
[*] The preinstalled puppet version is 2.7:
vagrant@precise64:~$ puppet --version2.7.19
[*] Install redmine module:
vagrant@precise64:~$ sudo mkdir -p /etc/puppet/modulesvagrant@precise64:~$ sudo puppet module install johanek/redminevagrant@precise64:~$ sudo apt-get updatevagrant@precise64:~$ sudo puppet apply --modulepath=/etc/puppet/modules -e "include stdlib"vagrant@precise64:~$ sudo puppet apply --modulepath=/etc/puppet/modules -e "include mysql::server"warning: Could not retrieve fact fqdn
Then it's stuck. I find there are network traffic with ifstat utility, which probably means puppet is installing mysql. But how can I get the current state of puppet? I can't stop it even with Ctrl-C.
Notes:
[*]Uninstall module: puppet module uninstall puppetlabs-mysql
页:
[1]