I’ve been helping a buddy get his puppet master server setup and he recently ran into a rather interesting error. He had his master server setup and had added a few recent server builds to the mix all from the EPEL repository which installed the 2.6.x version of the client.
When adding an older server, he got the following error message showing up in his logs:
Error 400 on SERVER: No support for http method POST
Doing a little googling, it turns out, this is not all that uncommon.
This older server also had the RPMForge configured in its list of available repos and instead of installing a 2.6.x version of the client, it installed a newer 2.7.x version of the client which caused this error to show up.
The problem can be solved in several ways. 1) Upgrade the master server or 2) downgrade the client.
We uninstalled the client, put an exclude statement in the /etc/yum.repos.d/RPMForge.repo file and then installed the 2.6.x client that we were looking for. He’s now up and running in the puppet awesomeness.
Share this:
<div class="sd-content">
<ul>
<li class="share-facebook">
<a rel="nofollow" data-shared="sharing-facebook-1787" class="share-facebook sd-button share-icon no-text" href="http://usrlocal.com/2012/05/puppet-error-400-on-server-no-support-for-http-method-post/?share=facebook" target="_blank" title="Click to share on Facebook"><span></span><span class="sharing-screen-reader-text">Click to share on Facebook (Opens in new window)</span></a>
</li>
<li class="share-linkedin">
<a rel="nofollow" data-shared="sharing-linkedin-1787" class="share-linkedin sd-button share-icon no-text" href="http://usrlocal.com/2012/05/puppet-error-400-on-server-no-support-for-http-method-post/?share=linkedin" target="_blank" title="Click to share on LinkedIn"><span></span><span class="sharing-screen-reader-text">Click to share on LinkedIn (Opens in new window)</span></a>
</li>
<li class="share-google-plus-1">
<a rel="nofollow" data-shared="sharing-google-1787" class="share-google-plus-1 sd-button share-icon no-text" href="http://usrlocal.com/2012/05/puppet-error-400-on-server-no-support-for-http-method-post/?share=google-plus-1" target="_blank" title="Click to share on Google+"><span></span><span class="sharing-screen-reader-text">Click to share on Google+ (Opens in new window)</span></a>
</li>
<li class="share-pinterest">
<a rel="nofollow" data-shared="sharing-pinterest-1787" class="share-pinterest sd-button share-icon no-text" href="http://usrlocal.com/2012/05/puppet-error-400-on-server-no-support-for-http-method-post/?share=pinterest" target="_blank" title="Click to share on Pinterest"><span></span><span class="sharing-screen-reader-text">Click to share on Pinterest (Opens in new window)</span></a>
</li>
<li class="share-twitter">
<a rel="nofollow" data-shared="sharing-twitter-1787" class="share-twitter sd-button share-icon no-text" href="http://usrlocal.com/2012/05/puppet-error-400-on-server-no-support-for-http-method-post/?share=twitter" target="_blank" title="Click to share on Twitter"><span></span><span class="sharing-screen-reader-text">Click to share on Twitter (Opens in new window)</span></a>
</li>
<li class="share-email">
<a rel="nofollow" data-shared="" class="share-email sd-button share-icon no-text" href="http://usrlocal.com/2012/05/puppet-error-400-on-server-no-support-for-http-method-post/?share=email" target="_blank" title="Click to email this to a friend"><span></span><span class="sharing-screen-reader-text">Click to email this to a friend (Opens in new window)</span></a>
</li>
<li class="share-end">
</li>
</ul>
</div>