xymon::client::install : Download the Xymon client package
This commit is contained in:
parent
0ac697cfc0
commit
3551b71193
@ -13,8 +13,13 @@ class xymon::client::install {
|
||||
command => "mkdir -p -- ${xymon::client::download_dir}",
|
||||
creates => $xymon::client::download_dir,
|
||||
}
|
||||
|
||||
|
||||
|
||||
->
|
||||
## Package
|
||||
# Download the latest Xymon package
|
||||
exec { 'Download Xymon Client':
|
||||
command => "wget ${xymon::client::preconfig::dl_url}/${xymon::client::preconfig::pkg_name} -O ${xymon::client::preconfig::pkg_name}",
|
||||
cwd => "${xymon::client::download_dir}",
|
||||
creates => "${xymon::client::download_dir}/${xymon::client::preconfig::pkg_name}",
|
||||
}
|
||||
|
||||
} # Private class: xymon::client::install
|
||||
|
Loading…
Reference in New Issue
Block a user