lost and found ( for me ? )

Puppet Enterprise 3.1 : install Puppet Enterprise 3.1 master and node on CentOS 6.5 and deploy a node.

Here are trial and error logs when installing puppet enterprise 3.1 master and node and deploying agent nodes.


puppet master : master.example.com ( Puppet Enterprise 3.1 installed on CentOS 6.5 )
node : agent01.example.com ( CentOS6.5 )

Both boxes are running within KVM as VM.
Before setting up the master and the node, confirm that each node can communicate with each other by using hostname.

on the master box
[root@master ~]# cat /etc/hosts
192.168.11.123 master master.example.com
192.168.11.124 agent01 agent01.example.com

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

[root@master ~]# hostname
master.example.com
[root@master ~]# ping agent01.example.com -c 1
PING agent01 (192.168.11.124) 56(84) bytes of data.
64 bytes from agent01 (192.168.11.124): icmp_seq=1 ttl=64 time=0.546 ms

--- agent01 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 1ms
rtt min/avg/max/mdev = 0.546/0.546/0.546/0.000 ms

on the node
[root@agent01 ~]# cat /etc/hosts
192.168.11.123 master master.example.com
192.168.11.124 agent01 agent01.example.com
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6


[root@agent01 ~]# hostname
agent01.example.com
[root@agent01 ~]# ping master.example.com -c 1
PING master (192.168.11.123) 56(84) bytes of data.
64 bytes from master (192.168.11.123): icmp_seq=1 ttl=64 time=1.47 ms

--- master ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 2ms
rtt min/avg/max/mdev = 1.476/1.476/1.476/0.000 ms

[ set up master node ]

install puppet master.
[root@master ~]# tar xzvf puppet-enterprise-3.1.0-el-6-x86_64.tar.gz
[root@master ~]# cd puppet-enterprise-3.1.0-el-6-x86_64

installation logs.

[root@master puppet-enterprise-3.1.0-el-6-x86_64]# cat answers.lastrun.master
q_all_in_one_install=y
q_backup_and_purge_old_configuration=n
q_backup_and_purge_old_database_directory=n
q_database_host=localhost
q_database_install=y
q_database_port=5432
q_database_root_password=IoZZmRqAemXX1Az9X79M
q_database_root_user=pe-postgres
q_install=y
q_pe_database=y
q_puppet_cloud_install=y
q_puppet_enterpriseconsole_auth_database_name=console_auth
q_puppet_enterpriseconsole_auth_database_password=ANjNstqCLprrOPZmTcPR
q_puppet_enterpriseconsole_auth_database_user=console_auth
q_puppet_enterpriseconsole_auth_password=admin1234
q_puppet_enterpriseconsole_auth_user_email=admin@example.com
q_puppet_enterpriseconsole_database_name=console
q_puppet_enterpriseconsole_database_password=JEGc6pqT1UdsrQ3SobSi
q_puppet_enterpriseconsole_database_user=console
q_puppet_enterpriseconsole_httpd_port=443
q_puppet_enterpriseconsole_install=y
q_puppet_enterpriseconsole_master_hostname=master
q_puppet_enterpriseconsole_smtp_host=mail01@example.com
q_puppet_enterpriseconsole_smtp_password=
q_puppet_enterpriseconsole_smtp_port=25
q_puppet_enterpriseconsole_smtp_use_tls=n
q_puppet_enterpriseconsole_smtp_user_auth=n
q_puppet_enterpriseconsole_smtp_username=
q_puppet_symlinks_install=y
q_puppetagent_certname=master
q_puppetagent_install=y
q_puppetagent_server=master
q_puppetdb_database_name=pe-puppetdb
q_puppetdb_database_password=1OTQ1CHIjuAV2JvxeF6o
q_puppetdb_database_user=pe-puppetdb
q_puppetdb_hostname=master
q_puppetdb_install=y
q_puppetdb_port=8081
q_puppetmaster_certname=master
q_puppetmaster_dnsaltnames=master,puppet
q_puppetmaster_enterpriseconsole_hostname=localhost
q_puppetmaster_enterpriseconsole_port=443
q_puppetmaster_install=y
q_run_updtvpkg=n
q_vendor_packages_install=y



login to the master over HTTPS



[ set up agent node ]

On the node, install puppet agent.
# tar xzvf puppet-enterprise-3.1.0-el-6-x86_64.tar.gz
# cd puppet-enterprise-3.1.0-el-6-x86_64

# ./puppet-enterprise-installer

installation log.
[root@agent01 puppet-enterprise-3.1.0-el-6-x86_64]# cat answers.lastrun.agent01
q_all_in_one_install=n
q_database_install=n
q_fail_on_unsuccessful_master_lookup=y
q_install=y
q_puppet_cloud_install=n
q_puppet_enterpriseconsole_install=n
q_puppet_symlinks_install=y
q_puppetagent_certname=agent01
q_puppetagent_install=y
q_puppetagent_server=master.example.com
q_puppetca_install=n
q_puppetdb_install=n
q_puppetmaster_install=n
q_run_updtvpkg=n
q_vendor_packages_install=y

on the node
[root@agent01 ~]# ps aux | grep puppet | grep -v grep
[root@agent01 ~]# ps aux | grep puppet | grep -v grep
root      1890  0.1  7.0 317464 35592 ?        Ssl  01:10   0:00 /opt/puppet/bin/ruby /opt/puppet/bin/puppet agent

[ Adding the node ]

on the master’s GUI, click “node requests”




click “Accept All”


on the agent node.

error
[root@agent01 ~]# puppet agent --test
Info: Caching certificate for agent01
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Server hostname 'master.example.com' did not match server certificate; expected one of master, DNS:master, DNS:puppet
Info: Retrieving plugin
Error: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional resources using 'eval_generate': Server hostname 'master.example.com' did not match server certificate; expected one of master, DNS:master, DNS:puppet
Error: /File[/var/opt/lib/pe-puppet/lib]: Could not evaluate: Server hostname 'master.example.com' did not match server certificate; expected one of master, DNS:master, DNS:puppet Could not retrieve file metadata for puppet://master.example.com/plugins: Server hostname 'master.example.com' did not match server certificate; expected one of master, DNS:master, DNS:puppet
Error: Could not retrieve catalog from remote server: Server hostname 'master.example.com' did not match server certificate; expected one of master, DNS:master, DNS:puppet
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Server hostname 'master.example.com' did not match server certificate; expected one of master, DNS:master, DNS:puppet

on the master,
no certification files..
[root@master ~]# puppet cert list
[root@master ~]#


[root@master ~]# puppet cert clean master.example.com
Error: Could not find a serial number for master.example.com
[root@master ~]# puppet cert list

[root@master ~]# puppet cert clean master
Notice: Revoked certificate with serial 2
Notice: Removing file Puppet::SSL::Certificate master at '/etc/puppetlabs/puppet/ssl/ca/signed/master.pem'
Notice: Removing file Puppet::SSL::Certificate master at '/etc/puppetlabs/puppet/ssl/certs/master.pem'
Notice: Removing file Puppet::SSL::Key master at '/etc/puppetlabs/puppet/ssl/private_keys/master.pem'

seen from installation logs

master’s installation log
q_puppetmaster_certname=master
q_puppetmaster_dnsaltnames=master,puppet

agent’s installation log

q_puppetagent_server=master.example.com

the problem is caused by that?

on the master
[root@master certs]# pwd
/etc/puppetlabs/puppet/ssl/certs

[root@master certs]# openssl x509 -in master.pem -text | grep -i dns
               DNS:master, DNS:puppet

re-initialize the node.

on the node,

copy the answer file to keep the original file.
[root@agent01 puppet-enterprise-3.1.0-el-6-x86_64]# cp answers.lastrun.agent01 answers.lastrun.agent01.org

edit the answer file.
[root@agent01 puppet-enterprise-3.1.0-el-6-x86_64]# cat answers.lastrun.agent01
q_all_in_one_install=n
q_database_install=n
q_fail_on_unsuccessful_master_lookup=y
q_install=y
q_puppet_cloud_install=n
q_puppet_enterpriseconsole_install=n
q_puppet_symlinks_install=y
q_puppetagent_certname=agent01
q_puppetagent_install=y
q_puppetagent_server=master    <- change to master from master.example.com
q_puppetca_install=n
q_puppetdb_install=n
q_puppetmaster_install=n
q_run_updtvpkg=n
q_vendor_packages_install=y

on the node, uninstall agent.
# ./puppet-enterprise-uninstaller

on the master, remove certificate file of agent01.example.com
[root@master ~]# puppet cert clean agent01.example.com

install agent again.
on the agent node, install puppet agent by using the answer file.
[root@agent01 puppet-enterprise-3.1.0-el-6-x86_64]# cat answers.lastrun.agent01
q_all_in_one_install=n
q_database_install=n
q_fail_on_unsuccessful_master_lookup=y
q_install=y
q_puppet_cloud_install=n
q_puppet_enterpriseconsole_install=n
q_puppet_symlinks_install=y
q_puppetagent_certname=agent01
q_puppetagent_install=y
q_puppetagent_server=master  ( not master.example.com )
q_puppetca_install=n
q_puppetdb_install=n
q_puppetmaster_install=n
q_run_updtvpkg=n
q_vendor_packages_install=y

[root@agent01 puppet-enterprise-3.1.0-el-6-x86_64]# ./puppet-enterprise-installer -A answers.lastrun.agent01

on the node
nnn, other errors...
[root@agent01 ~]# puppet agent --test
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=master]
Info: Retrieving plugin
Error: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=master]
Error: /File[/var/opt/lib/pe-puppet/lib]: Could not evaluate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=master] Could not retrieve file metadata for puppet://master/plugins: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=master]
Error: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=master]
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [certificate revoked for /CN=master]

nnn, How can I fix this??

Okay. uninstall both master and agent node and then try it again.

on the master, uninstall puppet master
# ./puppet-enterprise-uninstaller
# rm -rf /etc/puppetlabs/
# rm -rf /opt/puppet/

on the node, uninstall agent.
# ./puppet-enterprise-uninstaller
# rm -rf /etc/puppetlabs/
# rm -rf /opt/puppet/

on the master, install puppet again.
[root@master puppet-enterprise-3.1.0-el-6-x86_64]# cat answers.lastrun.master
q_all_in_one_install=y
q_backup_and_purge_old_configuration=n
q_backup_and_purge_old_database_directory=n
q_database_host=localhost
q_database_install=y
q_database_port=5432
q_database_root_password=IoZZmRqAemXX1Az9X79M
q_database_root_user=pe-postgres
q_install=y
q_pe_database=y
q_puppet_cloud_install=y
q_puppet_enterpriseconsole_auth_database_name=console_auth
q_puppet_enterpriseconsole_auth_database_password=ANjNstqCLprrOPZmTcPR
q_puppet_enterpriseconsole_auth_database_user=console_auth
q_puppet_enterpriseconsole_auth_password=admin1234
q_puppet_enterpriseconsole_auth_user_email=admin@example.com
q_puppet_enterpriseconsole_database_name=console
q_puppet_enterpriseconsole_database_password=JEGc6pqT1UdsrQ3SobSi
q_puppet_enterpriseconsole_database_user=console
q_puppet_enterpriseconsole_httpd_port=443
q_puppet_enterpriseconsole_install=y
q_puppet_enterpriseconsole_master_hostname=master
q_puppet_enterpriseconsole_smtp_host=mail01@example.com
q_puppet_enterpriseconsole_smtp_password=
q_puppet_enterpriseconsole_smtp_port=25
q_puppet_enterpriseconsole_smtp_use_tls=n
q_puppet_enterpriseconsole_smtp_user_auth=n
q_puppet_enterpriseconsole_smtp_username=
q_puppet_symlinks_install=y
q_puppetagent_certname=master
q_puppetagent_install=y
q_puppetagent_server=master
q_puppetdb_database_name=pe-puppetdb
q_puppetdb_database_password=1OTQ1CHIjuAV2JvxeF6o
q_puppetdb_database_user=pe-puppetdb
q_puppetdb_hostname=master
q_puppetdb_install=y
q_puppetdb_port=8081
q_puppetmaster_certname=master
q_puppetmaster_dnsaltnames=master,puppet
q_puppetmaster_enterpriseconsole_hostname=localhost
q_puppetmaster_enterpriseconsole_port=443
q_puppetmaster_install=y
q_run_updtvpkg=n
q_vendor_packages_install=y

[root@master puppet-enterprise-3.1.0-el-6-x86_64]# ./puppet-enterprise-installer -a answers.lastrun.master

on the agent node, install agent again.

[root@agent01 puppet-enterprise-3.1.0-el-6-x86_64]# cat answers.lastrun.agent01
q_all_in_one_install=n
q_database_install=n
q_fail_on_unsuccessful_master_lookup=y
q_install=y
q_puppet_cloud_install=n
q_puppet_enterpriseconsole_install=n
q_puppet_symlinks_install=y
q_puppetagent_certname=agent01
q_puppetagent_install=y
q_puppetagent_server=master
q_puppetca_install=n
q_puppetdb_install=n
q_puppetmaster_install=n
q_run_updtvpkg=n
q_vendor_packages_install=y
[root@agent01 puppet-enterprise-3.1.0-el-6-x86_64]#

[root@agent01 puppet-enterprise-3.1.0-el-6-x86_64]# ./puppet-enterprise-installer -a answers.lastrun.agent01



on the master’s GUI
node requests(1) -> Accept All



on the agent

[root@agent01 ~]# puppet agent --test
Info: Caching certificate for agent01
Info: Caching certificate_revocation_list for ca
Info: Retrieving plugin
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/facter]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/windows.rb]/ensure: defined content as '{md5}d8880f6f32905f040f3355e2a40cf088'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/iptables_version.rb]/ensure: defined content as '{md5}facbd760223f236538b731c1d1f6cf8f'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb]/ensure: defined content as '{md5}f2e991697602ffb3e80e0cc9efa37f3a'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/util]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/util/external_iterator.rb]/ensure: defined content as '{md5}69ad1eb930ca6d8d6b6faea343b4a22e'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb]/ensure: defined content as '{md5}b522e1b43f88a612af1a666e922a2f5c'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/firewallchain]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/firewallchain/iptables_chain.rb]/ensure: defined content as '{md5}e98592c22901792305e0d20376c9a281'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/puppetdb_conn_validator]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/reboot]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/reboot/windows.rb]/ensure: defined content as '{md5}e7fbe5078f6e77a1ebf4099958630fdf'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/ini_subsetting]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/ini_subsetting/ruby.rb]/ensure: defined content as '{md5}99991c9d3ccf54c2aa1fcacf491d0cfc'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/postgresql_psql]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/postgresql_psql/ruby.rb]/ensure: defined content as '{md5}07b38b76285d3fc9cf073be6fca99889'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/util/ipcidr.rb]/ensure: defined content as '{md5}e1160dfd6e73fc5ef2bb8abc291f6fd5'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/reboot/windows]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/pe_version.rb]/ensure: defined content as '{md5}4a9353952963b011759f3e6652a10da5'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/puppetdb_conn_validator/puppet_https.rb]/ensure: defined content as '{md5}17c55730cd42c64fe959f12a87a96085'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/java_ks]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/firewallchain.rb]/ensure: defined content as '{md5}91ebccecff290a9ab2116867a74080c7'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/java_ks.rb]/ensure: defined content as '{md5}8a89331c6830312ad3ce58f30ca4e9ce'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/ini_subsetting.rb]/ensure: defined content as '{md5}b4e6a659f461bcd274dcdf1b1c39db65'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/postgresql_psql.rb]/ensure: defined content as '{md5}66b00c51be519fa3f1a38e50d2284f27'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/file_line.rb]/ensure: defined content as '{md5}3e8222cb58f3503b3ea7de3647c602a0'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/util/ini_file]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/util/ini_file/section.rb]/ensure: defined content as '{md5}77757399ed9b9ce352ddcc8b8f9273c4'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/util/puppetdb_validator.rb]/ensure: defined content as '{md5}87dfd3cde4a06f898d88b9fda35c7dce'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb]/ensure: defined content as '{md5}091123ad703f1706686bca4398c5b06f'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/reboot/windows/watcher.rb]/ensure: defined content as '{md5}28a9bc678e5d565c324a8a40f12dc150'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/anchor.rb]/ensure: defined content as '{md5}cc1da7acfe1259d5b86a64e2dea42c34'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb]/ensure: defined content as '{md5}c7ddc97e8a84ded3dd93baa5b9b3283d'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/util/firewall.rb]/ensure: defined content as '{md5}59e877c2556b98ad5eb9ecb0f7cb410f'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/firewall]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/firewall/ip6tables.rb]/ensure: defined content as '{md5}e9579ae3afdf8b1392cbdc0335ef5464'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/firewall/iptables.rb]/ensure: defined content as '{md5}de33bc8812fc80b19f1859626002b6a7'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/util/setting_value.rb]/ensure: defined content as '{md5}a9db550b94d66164b8643612dbf7cbb2'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/reboot.rb]/ensure: defined content as '{md5}041190838faa235239c4c93ed5e7f81d'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/util]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/util/puppet_settings.rb]/ensure: defined content as '{md5}9f1d2593d0ae56bfca89d4b9266aeee1'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/java_ks/keytool.rb]/ensure: defined content as '{md5}c3d322e402e4c8fda56979e3b7610ad8'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/file_line]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/file_line/ruby.rb]/ensure: defined content as '{md5}f0f61ee3076d6b8f5883872abe844f37'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/ini_setting.rb]/ensure: defined content as '{md5}afcd3f28b946b08db1b48fb189e6d8cf'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/puppetdb_conn_validator.rb]/ensure: defined content as '{md5}aa4846110f363047a8988f261378ec0e'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/ini_setting]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/ini_setting/ruby.rb]/ensure: defined content as '{md5}6f528a4f961da1a6dbf352be1a062df6'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb]/ensure: defined content as '{md5}53c88744595fa06f0ce7f08211a46ae2'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions]/ensure: created
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/get_module_path.rb]/ensure: defined content as '{md5}d4bf50da25c0b98d26b75354fa1bcc45'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/fqdn_rotate.rb]/ensure: defined content as '{md5}20743a138c56fc806a35cb7b60137dbc'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/has_ip_network.rb]/ensure: defined content as '{md5}b4d726c8b2a0afac81ced8a3a28aa731'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/values.rb]/ensure: defined content as '{md5}066a6e4170e5034edb9a80463dff2bb5'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/chop.rb]/ensure: defined content as '{md5}4cc840d63ec172d8533a613676391d39'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/is_float.rb]/ensure: defined content as '{md5}491937483b14fbe2594a6e0e9af6acf9'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/loadyaml.rb]/ensure: defined content as '{md5}2b912f257aa078e376d3b3f6a86c2a00'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/merge.rb]/ensure: defined content as '{md5}52281fe881b762e2adfef20f58dc4180'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/grep.rb]/ensure: defined content as '{md5}5682995af458b05f3b53dd794c4bf896'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/has_interface_with.rb]/ensure: defined content as '{md5}8d3ebca805dc6edb88b6b7a13d404787'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/has_ip_address.rb]/ensure: defined content as '{md5}ee207f47906455a5aa49c4fb219dd325'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/reverse.rb]/ensure: defined content as '{md5}1386371c0f5301055fdf99079e862b3e'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/reject.rb]/ensure: defined content as '{md5}689f6a7c961a55fe9dcd240921f4c7f9'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/flatten.rb]/ensure: defined content as '{md5}251d63696564254d41742ecbfbfcb9fd'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/abs.rb]/ensure: defined content as '{md5}c2f2c4a62a56e7adbf5cf0b292e081fc'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/hash.rb]/ensure: defined content as '{md5}75fd86c01d5b1e50be1bc8b22d3d0a61'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/bool2num.rb]/ensure: defined content as '{md5}8e627eee990e811e35e7e838c586bd77'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/is_hash.rb]/ensure: defined content as '{md5}8c7d9a05084dab0389d1b779c8a05b1a'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/min.rb]/ensure: defined content as '{md5}35f1e50e7f9ff6d5b04e48952d4e13bd'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/time.rb]/ensure: defined content as '{md5}08d88d52abd1e230e3a2f82107545d48'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/sort.rb]/ensure: defined content as '{md5}504b033b438461ca4f9764feeb017833'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/validate_string.rb]/ensure: defined content as '{md5}6afcbc51f83f0714348b8d61e06ea7eb'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/pe_puppetdb_safe_hiera.rb]/ensure: defined content as '{md5}3ad947dcb8d1102fd7a4e2b62da5f031'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/is_domain_name.rb]/ensure: defined content as '{md5}fba9f855df3bbf90d72dfd5201f65d2b'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/to_bytes.rb]/ensure: defined content as '{md5}83f23c33adbfa42b2a9d9fc2db3daeb4'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/puppetdb_create_subsetting_resource_hash.rb]/ensure: defined content as '{md5}61b6f5ebc352e9bff5a914a43a14dc22'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/defined_with_params.rb]/ensure: defined content as '{md5}ffab4433d03f32b551f2ea024a2948fc'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/delete_at.rb]/ensure: defined content as '{md5}6bc24b79390d463d8be95396c963381a'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/shuffle.rb]/ensure: defined content as '{md5}6445e6b4dc62c37b184a60eeaf34414b'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/upcase.rb]/ensure: defined content as '{md5}a5744a74577cfa136fca2835e75888d3'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/strip.rb]/ensure: defined content as '{md5}273d547c7b05c0598556464dfd12f5fd'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/ensure_resource.rb]/ensure: defined content as '{md5}5c2e7990e22e5a532931627b4aaf545b'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/validate_hash.rb]/ensure: defined content as '{md5}e9cfaca68751524efe16ecf2f958a9a0'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/is_mac_address.rb]/ensure: defined content as '{md5}288bd4b38d4df42a83681f13e7eaaee0'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/str2bool.rb]/ensure: defined content as '{md5}846b49d623cb847c1870d7ac4a6bedf3'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/validate_array.rb]/ensure: defined content as '{md5}72b29289b8af1cfc3662ef9be78911b8'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/is_string.rb]/ensure: defined content as '{md5}2bd9a652bbb2668323eee6c57729ff64'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/chomp.rb]/ensure: defined content as '{md5}7040b3348d2f770f265cf4c8c25c51c5'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/validate_bool.rb]/ensure: defined content as '{md5}4ddffdf5954b15863d18f392950b88f4'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/parsejson.rb]/ensure: defined content as '{md5}e7f968c34928107b84cd0860daf50ab1'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/validate_absolute_path.rb]/ensure: defined content as '{md5}385137ac24a2dec6cecc4e6ea75be442'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/empty.rb]/ensure: defined content as '{md5}ae92905c9d94ddca30bf56b7b1dabedf'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/join_keys_to_values.rb]/ensure: defined content as '{md5}f29da49531228f6ca5b3aa0df00a14c2'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/member.rb]/ensure: defined content as '{md5}541e67d06bc4155e79b00843a125e9bc'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/validate_re.rb]/ensure: defined content as '{md5}c6664b3943bc820415a43f16372dc2a9'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/is_integer.rb]/ensure: defined content as '{md5}6520458000b349f1c7ba7c9ed382ae0b'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/rstrip.rb]/ensure: defined content as '{md5}8a0d69876bdbc88a2054ba41c9c38961'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/is_numeric.rb]/ensure: defined content as '{md5}6283dd52935fb1aba41958e50c85b1ed'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/ensure_packages.rb]/ensure: defined content as '{md5}ca852b2441ca44b91a984094de4e3afc'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/lstrip.rb]/ensure: defined content as '{md5}210b103f78622e099f91cc2956b6f741'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/strftime.rb]/ensure: defined content as '{md5}e02e01a598ca5d7d6eee0ba22440304a'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/squeeze.rb]/ensure: defined content as '{md5}ae5aafb7478cced0ba0c23856e45cec5'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/postgresql_password.rb]/ensure: defined content as '{md5}820da02a888ab42357fe9bc2352b1c37'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/has_key.rb]/ensure: defined content as '{md5}7cd9728c38f0b0065f832dabd62b0e7e'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/max.rb]/ensure: defined content as '{md5}02975799d44ded069c1a0769cbf8b73b'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/join.rb]/ensure: defined content as '{md5}b28087823456ca5cf943de4a233ac77f'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/unique.rb]/ensure: defined content as '{md5}217ccce6d23235af92923f50f8556963'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/downcase.rb]/ensure: defined content as '{md5}9204a04c2a168375a38d502db8811bbe'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/type.rb]/ensure: defined content as '{md5}62f914d6c90662aaae40c5539701be60'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/keys.rb]/ensure: defined content as '{md5}eb6ac815ea14fbf423580ed903ef7bad'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/swapcase.rb]/ensure: defined content as '{md5}4902f38f0b9292afec66d40fee4b02ec'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/postgresql_escape.rb]/ensure: defined content as '{md5}2e136fcd653ab38d831c5b40806d47d1'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/str2saltedsha512.rb]/ensure: defined content as '{md5}49afad7b386be38ce53deaefef326e85'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/delete.rb]/ensure: defined content as '{md5}9b17b9f7f820adf02360147c1a2f4279'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/capitalize.rb]/ensure: defined content as '{md5}14481fc8c7c83fe002066ebcf6722f17'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/uriescape.rb]/ensure: defined content as '{md5}9ebc34f1b2f319626512b8cd7cde604c'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/values_at.rb]/ensure: defined content as '{md5}094ac110ce9f7a5b16d0c80a0cf2243c'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/pick.rb]/ensure: defined content as '{md5}2bede116a0651405c47e650bbf942abe'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb]/ensure: defined content as '{md5}0b63f8516588ae6f5e13095871f18cd0'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb]/ensure: defined content as '{md5}926b2c2e886a43c615d7663029d43595'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/size.rb]/ensure: defined content as '{md5}8972d48c0f9e487d659bd7326b40b642'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/prefix.rb]/ensure: defined content as '{md5}6a2d86233c9435afc1738f60a0c34576'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/num2bool.rb]/ensure: defined content as '{md5}dbdc81982468ebb8ac24ab78d7097ad3'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/is_array.rb]/ensure: defined content as '{md5}875ca4356cb0d7a10606fb146b4a3d11'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/is_ip_address.rb]/ensure: defined content as '{md5}a53f6e3a5855954148230846ccb3e04d'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/pe_puppetdb_safe_hiera_hash.rb]/ensure: defined content as '{md5}dfb8a01a9d09055afb72a4fc8bde746b'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/type/firewall.rb]/ensure: defined content as '{md5}293f55c1adaa7b5a3ea240e618ff7a9f'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/range.rb]/ensure: defined content as '{md5}033048bba333fe429e77e0f2e91db25f'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/postgresql_acls_to_resources_hash.rb]/ensure: defined content as '{md5}d518a7959b950874820a3b0a7a324488'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/getvar.rb]/ensure: defined content as '{md5}10bf744212947bc6a7bfd2c9836dbd23'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/validate_slength.rb]/ensure: defined content as '{md5}0ca530d1d3b45c3fe2d604c69acfc22f'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/provider/firewall.rb]/ensure: defined content as '{md5}32d2f5e5dcc082986b82ef26a119038b'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb]/ensure: defined content as '{md5}b7a47827cd3d3bb1acbd526a31da3acb'
Notice: /File[/var/opt/lib/pe-puppet/lib/facter/root_home.rb]/ensure: defined content as '{md5}f559294cceafcf70799339627d94871d'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/zip.rb]/ensure: defined content as '{md5}a80782461ed9465f0cd0c010936f1855'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/parser/functions/parseyaml.rb]/ensure: defined content as '{md5}6cfee471d287c8d110a3629a9ac31b69'
Notice: /File[/var/opt/lib/pe-puppet/lib/puppet/util/ini_file.rb]/ensure: defined content as '{md5}bf340178a6c65e1d7a0d95f712ef319d'
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb
Info: Caching catalog for agent01
Info: Applying configuration version '1386176916'
Info: Creating state file /var/opt/lib/pe-puppet/state/state.yaml
Notice: Finished catalog run in 0.26 seconds

Okay, I was able to deploy the agent.







on the master
[root@master ~]# puppet cert list --all
+ "agent01"                                       (SHA256) F0:5A:A5:32:67:C5:3C:3F:50:F8:CD:0F:0B:F2:0B:72:65:37:27:9A:B2:78:0F:E4:C2:A8:2C:1E:2C:1D:F6:45
+ "master"                                        (SHA256) 74:26:DC:2B:15:17:AF:DB:72:72:B2:75:65:F7:52:5F:A1:F5:BA:24:C8:BF:1C:DD:69:6E:5F:F4:F2:96:61:04 (alt names: "DNS:master", "DNS:puppet")
+ "pe-internal-broker"                            (SHA256) A5:04:A8:53:3F:3B:E9:52:49:82:02:AC:83:9C:29:C9:37:AD:5D:24:03:EA:B0:CA:1E:69:ED:82:E7:47:73:CE (alt names: "DNS:master", "DNS:pe-internal-broker", "DNS:stomp")
+ "pe-internal-dashboard"                         (SHA256) 03:91:23:49:2A:50:5B:49:CC:60:96:8F:BD:70:4D:BB:50:4A:14:90:D5:1C:43:E5:4C:0D:39:B1:1A:06:66:49
+ "pe-internal-mcollective-servers"               (SHA256) D8:4E:73:C4:E3:E4:9D:DF:C9:99:8F:54:47:DD:D5:E2:50:3A:0A:16:5A:56:B8:1C:98:C1:EE:33:0D:5F:BD:AD
+ "pe-internal-peadmin-mcollective-client"        (SHA256) 12:E3:E7:86:98:2E:D8:77:94:E1:61:D9:A0:F3:44:FE:95:90:8C:B2:AE:44:7C:A1:53:0F:B8:35:BF:DA:A9:78
+ "pe-internal-puppet-console-mcollective-client" (SHA256) 09:3A:EB:60:F9:72:06:FB:BB:87:F9:19:69:A2:FA:0A:C0:B9:E6:11:46:DF:45:B2:50:E6:27:87:8F:FF:C7:91
[root@master ~]#

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.