[root@server ~]# puppet agent -tv
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: wrong number of arguments (2 for 1)
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
After much digging around, I noticed that puppet on my satellite server was at a much newer version (3.7.x) than my client (3.6.x). I think what happened is that when I was messing around with building puppet modules, a tutorial had me create a .gemfile which installed the latest puppet through the gem command.
To resolve the issue, I did:
To resolve the issue, I did:
- gem uninstall puppet
- yum reinstall puppet
- log out and back in