{"id":283,"date":"2014-01-22T17:33:00","date_gmt":"2014-01-22T17:33:00","guid":{"rendered":"https:\/\/questy.org\/?p=283"},"modified":"2024-09-26T19:09:03","modified_gmt":"2024-09-26T19:09:03","slug":"puppet-ii-client-installation","status":"publish","type":"post","link":"https:\/\/questy.org\/index.php\/2014\/01\/22\/puppet-ii-client-installation\/","title":{"rendered":"Puppet II &#8211; Client Installation"},"content":{"rendered":"\n<p>In our last installment \u201c<a href=\"http:\/\/questy.org\/2014\/01\/puppet-i-installation\/\">Puppet I &#8211; Server Installation<\/a>\u201d, we covered all the basic necessities of installing Puppet Open Source server. &nbsp;Of course, a server in and of itself is no good unless we have a client on another host to connect to it. &nbsp;This article will similarly lead you step-by-step through the process of installing the client.<\/p>\n\n\n\n<p><em><strong>Puppet Client<\/strong><\/em><\/p>\n\n\n\n<p>Installation of our client is not so very much different than the initial server install. &nbsp;Both come from the same Yum repository, and both need the same support libraries and files.<\/p>\n\n\n\n<p>As expected, a client will need the OS installed (again, we\u2019re working on the assumption of RedHat Enterprise Linux, but CentOS, SecurityLinux, etc. should do fine.<\/p>\n\n\n\n<p>Once your operating system is completely installed, just as before we\u2019ll need to follow the same steps of getting RedHat registered, the RHEL Yum repo enabled, the Puppet Labs repo configured, the correct support repos added, and finally, the client installed.<\/p>\n\n\n\n<p><em><strong>Enabling the RHEL Yum Repo<\/strong><\/em><\/p>\n\n\n\n<p>Just as we did before, we register our RedHat installation via \u201csubscription manager\u201d from RedHat.<\/p>\n\n\n\n<p><em><strong>sudo subscription-manager register<\/strong><\/em>&nbsp;<em><strong>sudo subscription-manager auto-attach<\/strong><\/em>&nbsp;<em><strong>sudo subscription-manager attach \u2013auto<\/strong><\/em>&nbsp;<em><strong>sudo subscription-manager refresh<\/strong><\/em><\/p>\n\n\n\n<p>As I mentioned before, RedHat\u2019s tool isn\u2019t 100% effective 100% of the time, and some level of redundancy in the commands above ensures all the appropriate bits get twiddled.<\/p>\n\n\n\n<p><em><strong>Installing the Puppet Labs Software Repository<\/strong><\/em><\/p>\n\n\n\n<p>Again, as before, we simply use RPM to get the repository installed (the below command is all on one line):<\/p>\n\n\n\n<p>**_sudo rpm -ivh&nbsp;<a href=\"https:\/\/yum.puppetlabs.com\/el\/6\/products\/x86_64\/puppetlabs-release-6-10.noarch.rpm_**\">https:\/\/yum.puppetlabs.com\/el\/6\/products\/x86_64\/puppetlabs-release-6-10.noarch.rpm_**<\/a><\/p>\n\n\n\n<p><em><strong>Enabling Additional Packages<\/strong><\/em><\/p>\n\n\n\n<p>Once again, the \u201coptional\u201d RedHat packages and the \u201cdevelopment\u201d PupeptLabs repositories have to be enabled. &nbsp;You can either use the Yum Config Manager or edit the repo files directly, your choice. &nbsp;Yum Configuration Manager commands are as follows:<\/p>\n\n\n\n<p><em><strong>sudo yum -y install yum-utils sudo yum-config-manager \u2013enable rhel-6-server-optional-rpms<\/strong><\/em>&nbsp;<em><strong>sudo yum-config-manager \u2013enable puppetlabs-devel<\/strong><\/em><\/p>\n\n\n\n<p>You should note that the \u201cenable\u201d command above actually has two hyphens in front of it instead of one long one. &nbsp;WordPress concatenates those.<\/p>\n\n\n\n<p><em><strong>Get Current!<\/strong><\/em><\/p>\n\n\n\n<p>Now is the time to get RHEL completely up to date through the usual means:<\/p>\n\n\n\n<p><em><strong>yum -y update<\/strong><\/em><\/p>\n\n\n\n<p><em><strong>Install the Client<\/strong><\/em><\/p>\n\n\n\n<p><strong><em>yum -y install puppet<\/em><\/strong><\/p>\n\n\n\n<p>If all goes well, this will complete the client config on your client host and you are now ready to configure the server, configure the client, and then connect them via SSL as provided by Puppet Labs.<\/p>\n\n\n\n<p>In our next edition, we\u2019ll be doing just that.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our last installment \u201cPuppet I &#8211; Server Installation\u201d, we covered all the basic necessities of installing Puppet Open Source server. &nbsp;Of course, a server in and of itself is no good unless we have a client on another host to connect to it. &nbsp;This article will similarly lead you step-by-step through the process of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[4],"tags":[],"class_list":["post-283","post","type-post","status-publish","format-standard","hentry","category-puppet-education"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/posts\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":1,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"predecessor-version":[{"id":284,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/posts\/283\/revisions\/284"}],"wp:attachment":[{"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/questy.org\/index.php\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}