MariaDB will not start on reboot after changing data directory

I’m running a local vagrant setup with Centos 7. I recently changed the data directory to persist data across destroys of the box. However, now MariaDB will not start on reboot. My setup is as follows. .cnf file in /etc/my.cnf.d (definitely being loaded) Install MariaDB via yum systemctl enable mariadb.service systemctl start mariadb.service So on … Read more

Issue with changing permission and owner recursively on files with puppet and vagrant

I am trying to install tomcat on a virtual box guest machine using puppet and vagrant. For tomcat to run, I need to change permission of the /bin/*.sh files. Here is the relevant section of my puppet config: class tomcat{ exec{ ‘get-tomcat’: command => “wget -P /home/vagrant/tmp http://apache.crihan.fr/dist/tomcat/tomcat-7/v7.0.42/bin/apache-tomcat-7.0.42.tar.gz”, path => [ “/bin/”, “/sbin/” , “/usr/bin/”, … Read more

Installing virtualbox on linode

I’ve followed the VirtualBox installation guide found here and have switched my Linode kernel to use 2.6.32-47-generic-pae using this guide, but I still keep getting the following error when I run sudo /etc/init.d/vboxdrv setup: Starting VirtualBox kernel modules …failed! (Running VirtualBox in a Xen environment is not supported) Any ideas? Answer Starting VirtualBox kernel modules … Read more

hiera.yaml is not loading on vagrant provision

Whenever I provision vagrant all the data is nil. When I ssh in and specify /etc/puppet/hiera.yaml as the config option i can get the values. How can I get vagrant to use the right hiera.config file? # Enable the Puppet provisioner config.vm.provision :puppet do |puppet| puppet.manifests_path = “puppet/” puppet.manifest_file = “default.pp” puppet.module_path = “puppet/modules” puppet.hiera_config_path … Read more

Vagrant Determining IP information for eth2… failed [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Improve this question Im running a vagrant file to bring up a CentOS Virtual Box on OSX, but when running vagrant up it always fails at … Read more

Vagrant Set IP Syntax Error

I seem to be getting an error when trying to set a static IP on a vagrant box. Within my vagrant file I have this: Vagrant.configure(2) do |config| config.vm.box = “box-cutter/centos67” config.vm.network “private_network”, ip: “192.168.50.5” end I seem to be getting an error when running Vagrant UP: here is a syntax error in the following … Read more

Does Vagrant introduce another layer between host OS and guest OS

If I use Vagrant, does it introduce another layer of resource users inserting itself between host OS and VM? Does it always run between host OS and VMWare/Vbox? Should I provide for extra RAM / CPU if I plan on using Vagrant to facilitate extra Vagrant processes running together with every VM it starts? Or … Read more