2012-05-04 22:35:13 +02:00
|
|
|
class apt::update {
|
|
|
|
include apt::params
|
|
|
|
|
2012-05-04 00:44:17 +02:00
|
|
|
exec { 'apt_update':
|
2012-05-04 22:35:13 +02:00
|
|
|
command => "${apt::params::provider} update",
|
2012-06-07 23:53:41 +02:00
|
|
|
logoutput => 'on_failure',
|
2012-05-04 22:35:13 +02:00
|
|
|
refreshonly => true,
|
2013-10-02 14:24:30 +02:00
|
|
|
timeout => $apt::update_timeout,
|
2012-05-04 22:35:13 +02:00
|
|
|
}
|
|
|
|
}
|