dev/provisioning/modules/puppi/templates/install_packages.erb
author Chloe Laisne <chloe.laisne@gmail.com>
Thu, 22 Sep 2016 15:34:10 +0200
changeset 278 f2c2c80a49f7
parent 28 b0b56e0f8c7f
permissions -rwxr-xr-x
Disable click on map areas w/o geoname + development/production disabled color + geostat endpoint

#!/bin/bash
# File Managed by Puppet
export PATH=$PATH:/bin:/sbin:/usr/bin:usr/sbin
<% if scope.lookupvar('::operatingsystem') == 'Debian' or scope.lookupvar('::operatingsystem') == 'Ubuntu' -%>
apt-get update ; apt-get install -y <%= @packages %>
<% elsif scope.lookupvar('::operatingsystem') == 'Centos' or scope.lookupvar('::operatingsystem') == 'RedHat' -%>
yum install -y <%= @packages %>
<% end -%>