Skip to content
This repository
Browse code

Fix for resolving urls on yum installs, and install doc update

On occasion yum can't resolve a url to install tmux and other packages
this modifies /etc/resolv.conf to add google namesevers to help resolve
the urls.

added note about running `vagrant provision` multiple times
  • Loading branch information...
commit 67d276b90f14950a420a1ba64388675e3d505c26 1 parent 699fa04
Buddy Lindsey, Jr. buddylindsey authored
7 docs/installation-vagrant.rst
Source Rendered
@@ -47,13 +47,14 @@ Getting up and running
47 47
48 48 vagrant up
49 49
50   -- If the process fails with an error, try running the Puppet setup
51   - again::
  50 +- If the above process fails with an error, try running the Puppet setup
  51 + again with the following command::
52 52
53 53 vagrant provision
54 54
55 55 This often recovers from transient network issues or installation
56   - ordering problems.
  56 + ordering problems. However, In some rare occasions you might need
  57 + to run this multiple times
57 58
58 59 - Add developer-dev.mozilla.org to /etc/hosts::
59 60
4 puppet/files/etc/resolv.conf
... ... @@ -0,0 +1,4 @@
  1 +search mozilla.org
  2 +nameserver 10.2.74.125
  3 +nameserver 8.8.8.8
  4 +nameserver 8.8.4.4
5 puppet/manifests/classes/dev-hacks.pp
@@ -66,6 +66,11 @@
66 66 owner => "root", group => "root", mode => 0644;
67 67 }
68 68
  69 + file { "/etc/resolv.conf":
  70 + source => "/vagrant/puppet/files/etc/resolv.conf",
  71 + owner => "root", group => "root", mode => 0644;
  72 + }
  73 +
69 74 #file { "/etc/samba":
70 75 # ensure => directory,
71 76 # recurse => true,

0 comments on commit 67d276b

Please sign in to comment.
Something went wrong with that request. Please try again.