Skip to content

Commit c331e3e

Browse files
committed
Avoid failure due to download timeout.
Info: Applying configuration version '1415787370' Notice: Downloading http://s3.amazonaws.com/influxdb/influxdb_0.8.4_amd64.deb Notice: /Stage[main]/Influxdb::Install/Notify[Downloading http://s3.amazonaws.com/influxdb/influxdb_0.8.4_amd64.deb]/message: defined 'message' as 'Downloading http://s3.amazonaws.com/influxdb/influxdb_0.8.4_amd64.deb' Notice: /Stage[main]/Influxdb::Install/Staging::File[influxdb-package]/File[/opt/staging/influxdb]/ensure: created Error: Command exceeded timeout Error: /Stage[main]/Influxdb::Install/Staging::File[influxdb-package]/Exec[/opt/staging/influxdb/influxdb-package]/returns: change from notrun to 0 failed: Command exceeded timeout Notice: /Stage[main]/Influxdb::Install/Package[influxdb]: Dependency Exec[/opt/staging/influxdb/influxdb-package] has failures: true Warning: /Stage[main]/Influxdb::Install/Package[influxdb]: Skipping because of failed dependencies
1 parent 681dd9e commit c331e3e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

manifests/install.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
# get the package
3030
staging::file { 'influxdb-package':
3131
source => $package_source,
32+
tries => 3,
33+
timeout => 0,
3234
}
3335

3436
# install the package

0 commit comments

Comments
 (0)