Last active
August 29, 2015 14:11
-
-
Save anokun7/21bd21d2a59084166540 to your computer and use it in GitHub Desktop.
3.3.2 agent install failing with PYCURL / NSS: client certificate not found (nickname not specified) errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
download entire site: | |
wget --no-clobber --convert-links --random-wait -r -p -E -e robots=off -U mozilla http://www.site.com | |
## pe-agent update: | |
### Put this in site.pp | |
node 'master.puppetlabs.vm' { | |
notify { "Hello dear master": } | |
} | |
node default { | |
$pe_master = 'master.puppetlabs.vm' | |
$pe_version = '3.7.0' | |
$platform = "el-${::operatingsystemmajrelease}-${::architecture}" | |
yumrepo { 'pe-agent': | |
#baseurl => "https://${pe_master}:8140/packages/${pe_version}/${platform}/", | |
baseurl => "https://${pe_master}:8140/packages/puppet-enterprise-${pe_version}-${platform}-agent/agent_packages/${platform}/", | |
descr => 'Puppet Labs PE Agent', | |
enabled => '1', | |
gpgcheck => '1', | |
gpgkey => 'https://${pe_master}:8140/packages/GPG-KEY-puppetlabs', | |
sslverify => 'false', # Need this to be a literal sslverify=false and not take it out entirely. | |
}~> | |
package { 'pe-agent': | |
ensure => 'latest', | |
} | |
notify { 'Hello Agent: $::fqdn. We are done configuring you.': } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment