Skip to content

Instantly share code, notes, and snippets.

@anokun7
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anokun7/21bd21d2a59084166540 to your computer and use it in GitHub Desktop.
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
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