Puppet Class: ciscopuppet::install
- Defined in:
- manifests/install.pp
Overview
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/install.pp', line 17
class ciscopuppet::install (String $repo = 'https://rubygems.org', String $proxy = '') {
# Process proxy settings
if $proxy == '' {
$opts = {}
}
else {
$opts = { '--http-proxy' => $proxy }
}
package { 'cisco_node_utils' :
ensure => present,
provider => 'puppet_gem',
source => $repo,
install_options => $opts,
}
}
|