]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/switch2osm/recipes/default.rb
Merge pull request #308 from Firefishy/more-404-tiles
[chef.git] / cookbooks / switch2osm / recipes / default.rb
index 3e0c51f9ce9f29722e66564d6f8ac249fe938c20..6f3d03933e47376dfc56bf6a1162a87c9d25e813 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
+
 include_recipe "apache"
 include_recipe "git"
 
 package %w[
+  gcc
+  g++
+  make
   ruby
   ruby-dev
+  libssl-dev
   zlib1g-dev
+  pkg-config
 ]
 
 apache_module "expires"
@@ -35,6 +41,7 @@ end
 git "/srv/switch2osm.org" do
   action :sync
   repository "https://github.com/switch2osm/switch2osm.github.io.git"
+  depth 1
   user "root"
   group "root"
   notifies :run, "execute[/srv/switch2osm.org/Gemfile]"