#vagrant

/

      • zz_timnovinger is now known as timnovinger
      • timnovinger is now known as zz_timnovinger
      • JeffBonds has quit
      • zz_ryanneufeld is now known as ryanneufeld
      • sorccu joined the channel
      • kballou has quit
      • perfectsine has quit
      • alanwill joined the channel
      • Dave_R has quit
      • deveng joined the channel
      • nettoweb joined the channel
      • duck_cpd joined the channel
      • nettoweb has quit
      • perfectsine joined the channel
      • tectonic has quit
      • nettoweb joined the channel
      • tectonic joined the channel
      • Dave_R joined the channel
      • donmccurdy joined the channel
      • deveng has quit
      • rap424 has quit
      • Katafalkas joined the channel
      • nthdegree_zz is now known as nthdegreeburns
      • Dave_R has quit
      • JeffBonds joined the channel
      • Dave_R joined the channel
      • jaycedars joined the channel
      • Dave_R has quit
      • dyer is now known as dyer|away
      • crystal77 has quit
      • DOMF joined the channel
      • n_blownapart has quit
      • perfectsine has quit
      • danemacmillan has quit
      • bmurt joined the channel
      • cannonball has quit
      • bmurt has quit
      • DOMF
        Hello all - I want to enforce a checksum check of .box files I have my vagrant users download. I have set config.vm.box_download_checksum_type and config.vm.box_download_checksum in my vagrantfile, but even if I set it to something that is not the checksum of the actual .box file, it's still importehttps://botbot.me/files/freenode/vagrant/d into virtualbox. Can't find anything on google about why this wouldn't work. Any suggestions?
      • Dave_R joined the channel
      • crystal77 joined the channel
      • nettoweb has quit
      • m0ltar joined the channel
      • Dave_R has quit
      • zz_timnovinger is now known as timnovinger
      • timnovinger is now known as zz_timnovinger
      • philwhln has quit
      • Turicas joined the channel
      • awc737 has quit
      • Valduare
        hey guys I am new to vagrant, trying to figure out how to setup a lemp stack but how do you do the mysql password?
      • kjp has quit
      • zz_timnovinger is now known as timnovinger
      • timnovinger is now known as zz_timnovinger
      • Katafalkas has quit
      • Katafalkas joined the channel
      • flozano has quit
      • ThePhen joined the channel
      • nettoweb joined the channel
      • nettoweb has quit
      • Kricir joined the channel
      • nettoweb joined the channel
      • nettoweb has quit
      • nettoweb joined the channel
      • nettoweb has quit
      • nettoweb joined the channel
      • Katafalkas has quit
      • flozano joined the channel
      • ThePhen has quit
      • Kricir has quit
      • CyrilPeponnet is now known as CP|AFK
      • nhhagen joined the channel
      • ThePhen joined the channel
      • bmurt joined the channel
      • maestrojed
        Valduare vagrant users provision their boxes many different ways. Some use puppet, some use chef, etc. Others write their own shell scripts. So the answer about MySQL password really depends.
      • ThePhen has quit
      • Valduare
        shell is prob as advanced as I could get heh
      • maestrojed
        I used a box I got on vagrant cloud and the read me told me the password was 'media1'. It used puppet and I just grabbed the code from a github project.
      • Valduare When I do the provisioning myself I do it with a custom shell script.
      • nhhagen has quit
      • I install mysql server with yum or apt-get depending on the distro. My default these installs have a root user with no password
      • lrojas has quit
      • I can then create MySQL users doing something like
      • mysql -u root -h $dbHost -Bse "GRANT ALL ON $dbName.* to [email protected]'%' IDENTIFIED BY '$dbPass';"
      • Dave_R joined the channel
      • michaelfosterotr joined the channel
      • erikaheidi has quit
      • Got a question though its probably just a Ruby question. my vagrantfile loads a yaml file.
      • vconfig = YAML::load_file("vagrant_config.yml").
      • This only works when I "vagrant up" in the same directory as that yml file. I don't want to hard code the absolute path to this file for my specific machine. How can I say "relative to where the vagrantfile is". Being that I can run vagrant up in any child directory and it runs that vagrantfile
      • Dave_R has quit
      • Valduare
        isnt vagrant marketed as setting up environments for teams
      • how is a designer suppose to do this on a fresh vagrant up
      • danemacmillan joined the channel
      • maestrojed
        Valduare My advice is to search vagrant cloud and github, find a vagrant project that is already provisioned and ready. Maybe you tweak it.
      • Don't use that for production, ever. BUT it should be okay in local dev.
      • Most in here will not give that advice as you should trust your source. But I feel your pain. I was not familiar with all this provisioning stuff until I took up vagrant
      • Valduare For instance. This is one of my vagrant boxes. https://github.com/betheoutlier/vagrant-cent0S
      • It is a LAMP stack. Built to match a pretty old production server I work on .
      • Valduare
        so with these blank mysql
      • how would a designer operate?
      • ie someone who dosnt server config
      • tectonic has quit
      • michaelfosterotr has left the channel
      • alanwill has quit
      • maestrojed
        Well the one I just linked you to, you can put your sql scripts in a mysqlImport.sql file and it will be imported for you
      • You can set db credentials in a configuration file
      • I am working on one bug, which is you have to be in the same directory as the vagrantfile when you run vagrant up. Most of the time you only have to be in a child directory. I am working to fix that.
      • Valduare this is a much more standard and update to date vagrant build. Though I am still build this one. it may have bugs, and it does NOT have a config file or SQL import yet. https://github.com/betheoutlier/vagrant-ubuntu14
      • But it does have a MySQL installed
      • _rogerio_ has quit
      • Valduare
        my existing environment is an esxi host box that I fire up vm’s on manually and provision them
      • gets tedious heh
      • maestrojed
        well if you do that you probably have some provisioning knowledge to work through a shell script of your own. Or take on of these and run with it.
      • deveng joined the channel
      • Valduare
        just never done shell stuff
      • danemacmillan has quit
      • maestrojed
        Valduare how would you install mysql on one of your esxi vm(s)?
      • Valduare
        provisioning lemp is easy for me im just trying to figure out how its done without letting it ask me to input a password
      • donmccurdy has quit
      • tennis has quit
      • donmccurdy joined the channel
      • maestrojed
        You are being asked for a password to install MySQL-Server or you are being asked for a password when trying to shell to MySQL?
      • Valduare
        when installing
      • ie this
      • i like nginx
      • maestrojed
        Is it asking for your root password (permission to install) or to set up your MySQL root user password
      • justinmburrous joined the channel
      • justinmburrous has quit
      • If its the infall process asking questions. The "-y" argument typically means "answer yes to any questions"
      • justinmburrous joined the channel
      • Which I see being used in this example you linked to
      • Valduare
        when you install mysql server it asks to enter a password.
      • Dave_R joined the channel
      • smccarthy joined the channel
      • cigarshark has quit
      • marcjs has quit
      • awc737 joined the channel
      • maestrojed
        Still unclear if its the OS asking permission to install, hence asking for your OS root password. OR if its trying to set up your MySQL Root User during installation and asking you to set that MySQL Root User Password
      • Dave_R has quit
      • Valduare
        set mysql root user password
      • msmith_ joined the channel
      • duck_cpd has quit
      • maestrojed
        interesting. My provisions installs mysql-server via yum on one box and via apt-get on another. Neither require me to configure the root user password.
      • Maybe #mysql can help?
      • mattsurabian has quit
      • I don't have any experience with the aptitude package manager
      • Dave_R joined the channel
      • marcjs joined the channel
      • jaycedars has quit
      • duck_cpd joined the channel