author | ymh <ymh.work@gmail.com> |
Fri, 18 Nov 2016 14:48:49 +0100 | |
changeset 428 | 76a47f714766 |
parent 28 | b0b56e0f8c7f |
permissions | -rw-r--r-- |
28 | 1 |
class sysconfig::sys_upgrade { |
2 |
package { 'epel': |
|
3 |
name => 'epel-release', |
|
4 |
ensure => present, |
|
5 |
}-> |
|
6 |
yumrepo { 'remi': |
|
7 |
descr => 'Les RPM de remi pour Enterpise Linux $releasever - $basearch', |
|
8 |
mirrorlist => 'http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror', |
|
9 |
gpgcheck => 1, |
|
10 |
gpgkey => 'http://rpms.remirepo.net/RPM-GPG-KEY-remi', |
|
11 |
enabled => 1, |
|
12 |
priority => 1, |
|
13 |
}-> |
|
14 |
exec { "yum-update": |
|
15 |
command => "yum clean all; yum -q -y update", |
|
16 |
timeout => 1800, |
|
17 |
onlyif => "/usr/bin/test `stat --format=%Y /var/lib/yum/rpmdb-indexes` -le $(( `date +%s` - 86400 )) -o ! -e /var/lib/puppet/state/first_run ", |
|
18 |
#onlyif => "/usr/bin/test `stat --format=%Y /var/lib/yum/rpmdb-indexes` -le $(( `date +%s` ))", |
|
428
76a47f714766
add memcached configuration option, small corrections for the build process and add installDrupal.sh file to the release
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
19 |
path => [ '/bin', '/usr/bin', '/usr/local/bin' ] |
28 | 20 |
} |
21 |
} |