# separate group installs from package installs since a non-existing
# group with dnf based systems (F21+) will fail the install if such
# a group does not exist
- yum install -y -q unzip xz puppet git perl-XML-XPath wget make
+ yum install -y -q unzip xz puppet git git-review perl-XML-XPath wget make
# All of our systems require Java (because of Jenkins)
# Install all versions of the OpenJDK devel but force 1.7.0 to be the
# add in stuff we know we need
echo "---> Installing base packages"
- apt-get install -qq unzip xz-utils puppet git libxml-xpath-perl make wget > /dev/null
+ apt-get install -qq unzip xz-utils puppet git git-review libxml-xpath-perl make wget > /dev/null
# install Java 7
echo "---> Configuring OpenJDK"
# disable unattended upgrades & daily updates
echo '---> Disabling automatic daily upgrades'
- apt-get remove unattended-upgrades
- if [ -f /usr/bin/systemctl ]
- then
- systemctl stop apt.systemd.daily
- systemctl disable apt.systemd.daily
- else
- /etc/init.d/unattended-upgrades stop
- update-rc.d -f unattended-upgrades remove
- fi
+ sed -ine 's/"1"/"0"/g' /etc/apt/apt.conf.d/10periodic
+ echo 'APT::Periodic::Unattended-Upgrade "0";' >> /etc/apt/apt.conf.d/10periodic
}
all_systems() {