{"id":30524,"date":"2026-12-04T22:07:44","date_gmt":"2026-12-04T22:07:44","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=30524"},"modified":"2026-12-04T22:07:44","modified_gmt":"2026-12-04T22:07:44","slug":"puppet-jenkins-installation-using-puppet-program","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/puppet-jenkins-installation-using-puppet-program\/","title":{"rendered":"Puppet: Jenkins Installation using Puppet Program"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This page shows how to install a Jenkins controller on a RHEL-family server using a Puppet class. The class adds the Jenkins package repository, installs Java and Jenkins, manages the systemd service and installs plugins with the Jenkins CLI. Below the original manifest you will find an explanation of each part, a corrected version that gives the same result on every run, and steps to apply it, check it and fix common errors.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/8ef769e2d44508ba50263f1691c905f4.js\"><\/script>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What the example manifest does and where it breaks<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The example above is a single Puppet class. It also expects a <code>jenkins.service<\/code> unit file and some secret files in the module&#039;s <code>files\/<\/code> directory. A source such as <code>puppet:\/\/\/modules\/jenkins\/jenkins.service<\/code> maps to <code>modules\/jenkins\/files\/jenkins.service<\/code> on the Puppet server. The table lists what each part is meant to do and what goes wrong on a current system.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Part of the manifest<\/th><th>Intent<\/th><th>Problem<\/th><\/tr><\/thead><tbody><tr><td><code>exec<\/code> with <code>wget ... jenkins.repo<\/code><\/td><td>Add the Jenkins yum repository<\/td><td>Runs on every Puppet run, uses <code>sudo<\/code> even though the agent already runs as root, and disables TLS checks with <code>--no-check-certificate<\/code><\/td><\/tr><tr><td><code>exec<\/code> with <code>rpm --import ...\/jenkins.io.key<\/code><\/td><td>Trust the package signing key<\/td><td>Jenkins replaced that key in 2023, so packages fail the GPG check<\/td><\/tr><tr><td><code>java-11-openjdk-demo.x86_64<\/code><\/td><td>Install Java<\/td><td>This is the OpenJDK demo package, not a Java runtime. Current Jenkins releases no longer support Java 11<\/td><\/tr><tr><td><code>file<\/code> replacing <code>\/usr\/lib\/systemd\/system\/jenkins.service<\/code><\/td><td>Customise the service<\/td><td>Overwrites a file the package owns. The <code>daemon-reload<\/code> notify is commented out, so systemd may keep using the old unit<\/td><\/tr><tr><td><code>JAVA_OPTS=-Djava.awt.headless=true, -D...<\/code><\/td><td>Pass JVM options<\/td><td>The comma becomes part of the first property&#039;s value (<code>true,<\/code>). JVM options must be separated by spaces<\/td><\/tr><tr><td><code>file<\/code> for <code>master.key<\/code> and <code>initialAdminPassword<\/code><\/td><td>Seed secrets<\/td><td>The parent directory <code>\/var\/lib\/jenkins\/secrets<\/code> does not exist until Jenkins first starts, and mode <code>0644<\/code> lets every local user read the keys<\/td><\/tr><tr><td><code>exec<\/code> with <code>wget ...\/jenkins-cli.jar -P<\/code><\/td><td>Fetch the CLI<\/td><td>Runs before Jenkins is ready. On later runs it saves extra copies such as <code>jenkins-cli.jar.1<\/code><\/td><\/tr><tr><td>Plugin <code>exec<\/code> with <code>creates =&gt; &quot;...${plugin}*.jpi&quot;<\/code><\/td><td>Install plugins once<\/td><td><code>creates<\/code> does not expand wildcards, so the command runs every time. Plugins also stay inactive until Jenkins restarts<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A RHEL, Rocky Linux, AlmaLinux or CentOS Stream 8\/9 host with outbound HTTPS access to <code>pkg.jenkins.io<\/code> and <code>updates.jenkins.io<\/code>.<\/li>\n\n\n<li>Puppet agent installed (commands below use <code>\/opt\/puppetlabs\/bin\/puppet<\/code>). Either <code>puppet apply<\/code> on the host or a Puppet server will work.<\/li>\n\n\n<li>A Java runtime that your Jenkins version supports. Java 21 (<code>java-21-openjdk<\/code>) is the safe default, but check the Jenkins Java support policy for the release you install.<\/li>\n\n\n<li>At least 2 GB of RAM and free disk space under <code>\/var\/lib\/jenkins<\/code>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Corrected Puppet manifest<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The version below gives the same result on every run: run it twice and the second run makes no changes. The class is renamed to <code>jenkins_server<\/code> so it cannot clash with the community <code>jenkins<\/code> module from the Puppet Forge. The original&#039;s doc comment also referred to <code>include dof_jenkins<\/code>, which did not match the class name. Save the file as <code>modules\/jenkins_server\/manifests\/init.pp<\/code>.<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\"># @summary Installs a Jenkins controller on RHEL-family hosts and adds plugins.\n#\n# @param plugins       Plugin IDs to install with the Jenkins CLI.\n# @param java_package  OpenJDK package that provides a supported Java runtime.\n# @param port          HTTP port Jenkins listens on.\n# @param cli_auth_file File containing user:password-or-token for the CLI.\n#\n# @example\n#   include jenkins_server\nclass jenkins_server (\n  Array&#91;String&#91;1]]    $plugins       = &#91;'msbuild', 'active-directory'],\n  String&#91;1]           $java_package  = 'java-21-openjdk',\n  Integer&#91;1, 65535]   $port          = 8080,\n  String&#91;1]           $cli_auth_file = '\/root\/.jenkins-cli-auth',\n) {\n  $jenkins_home = '\/var\/lib\/jenkins'\n  $cli_jar      = \"${jenkins_home}\/jenkins-cli.jar\"\n  $jenkins_url  = \"http:\/\/localhost:${port}\/\"\n\n  # Repository and signing key, managed natively instead of wget\/rpm execs\n  yumrepo { 'jenkins':\n    ensure   =&gt; present,\n    descr    =&gt; 'Jenkins-stable',\n    baseurl  =&gt; 'https:\/\/pkg.jenkins.io\/redhat-stable',\n    enabled  =&gt; '1',\n    gpgcheck =&gt; '1',\n    gpgkey   =&gt; 'https:\/\/pkg.jenkins.io\/redhat-stable\/jenkins.io-2023.key',\n  }\n\n  package { &#91;'fontconfig', $java_package]:\n    ensure =&gt; installed,\n  }\n\n  package { 'jenkins':\n    ensure  =&gt; installed,\n    require =&gt; &#91;Yumrepo&#91;'jenkins'], Package&#91;$java_package]],\n  }\n\n  # systemd drop-in instead of overwriting the packaged unit file\n  file { '\/etc\/systemd\/system\/jenkins.service.d':\n    ensure =&gt; directory,\n    owner  =&gt; 'root',\n    group  =&gt; 'root',\n    mode   =&gt; '0755',\n  }\n\n  file { '\/etc\/systemd\/system\/jenkins.service.d\/override.conf':\n    ensure  =&gt; file,\n    owner   =&gt; 'root',\n    group   =&gt; 'root',\n    mode    =&gt; '0644',\n    content =&gt; @(\"CONF\"),\n      &#91;Service]\n      Environment=\"JAVA_OPTS=-Djava.awt.headless=true\"\n      Environment=\"JENKINS_PORT=${port}\"\n      | CONF\n    require =&gt; Package&#91;'jenkins'],\n    notify  =&gt; Exec&#91;'jenkins-daemon-reload'],\n  }\n\n  exec { 'jenkins-daemon-reload':\n    command     =&gt; '\/usr\/bin\/systemctl daemon-reload',\n    refreshonly =&gt; true,\n    notify      =&gt; Service&#91;'jenkins'],\n  }\n\n  service { 'jenkins':\n    ensure  =&gt; running,\n    enable  =&gt; true,\n    require =&gt; Package&#91;'jenkins'],\n  }\n\n  # Download the CLI once; retry while Jenkins is still starting\n  exec { 'download-jenkins-cli':\n    command   =&gt; \"\/usr\/bin\/curl -sSf -o ${cli_jar} ${jenkins_url}jnlpJars\/jenkins-cli.jar\",\n    creates   =&gt; $cli_jar,\n    tries     =&gt; 30,\n    try_sleep =&gt; 10,\n    require   =&gt; Service&#91;'jenkins'],\n  }\n\n  # First run only: build CLI credentials from the generated admin password\n  exec { 'jenkins-cli-auth-bootstrap':\n    command  =&gt; \"umask 077 &amp;&amp; printf 'admin:%s' \\\"\\$(cat ${jenkins_home}\/secrets\/initialAdminPassword)\\\" &gt; ${cli_auth_file}\",\n    provider =&gt; shell,\n    path     =&gt; &#91;'\/usr\/bin', '\/bin'],\n    creates  =&gt; $cli_auth_file,\n    onlyif   =&gt; \"test -s ${jenkins_home}\/secrets\/initialAdminPassword\",\n    require  =&gt; Exec&#91;'download-jenkins-cli'],\n  }\n\n  # Install every missing plugin in one call, then let Jenkins restart\n  unless $plugins.empty {\n    $plugin_args   = $plugins.join(' ')\n    $plugin_checks = $plugins.map |$p| { \"test -e ${jenkins_home}\/plugins\/${p}.jpi\" }.join(' &amp;&amp; ')\n\n    exec { 'jenkins-install-plugins':\n      command  =&gt; \"java -jar ${cli_jar} -s ${jenkins_url} -auth @${cli_auth_file} install-plugin ${plugin_args} -restart\",\n      provider =&gt; shell,\n      path     =&gt; &#91;'\/usr\/bin', '\/usr\/sbin', '\/bin'],\n      unless   =&gt; $plugin_checks,\n      require  =&gt; &#91;Exec&#91;'download-jenkins-cli'], Exec&#91;'jenkins-cli-auth-bootstrap']],\n    }\n  }\n}<\/code><\/span><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>yumrepo<\/code><\/strong> writes <code>\/etc\/yum.repos.d\/jenkins.repo<\/code> and sets the key. dnf imports the key from <code>gpgkey<\/code> the first time it installs a package from that repository. Jenkins rotates its signing key from time to time, so check the current key file name on pkg.jenkins.io before you deploy.<\/li>\n\n\n<li><strong>The drop-in <code>override.conf<\/code><\/strong> survives package upgrades. Changing it triggers <code>daemon-reload<\/code> and then a service restart.<\/li>\n\n\n<li><strong><code>creates<\/code>, <code>unless<\/code> and <code>onlyif<\/code><\/strong> make each <code>exec<\/code> run only when its work is not yet done. That is why a second run reports no changes.<\/li>\n\n\n<li><strong><code>tries<\/code> and <code>try_sleep<\/code><\/strong> give Jenkins up to five minutes to start. <code>curl -f<\/code> fails on the 503 page Jenkins serves while it is starting, so Puppet retries.<\/li>\n\n\n<li><strong>One <code>install-plugin ... -restart<\/code> call<\/strong> avoids restarting Jenkins once per plugin. A per-plugin <code>notify =&gt; Service[&#039;jenkins&#039;]<\/code> would also create a dependency cycle.<\/li>\n\n\n<li><strong><code>provider =&gt; shell<\/code><\/strong> is required because the commands use <code>&amp;&amp;<\/code>, <code>$(...)<\/code> and output redirection.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The setup wizard stays enabled on purpose. Jenkins then creates an <code>admin<\/code> user and writes its password to <code>\/var\/lib\/jenkins\/secrets\/initialAdminPassword<\/code>, which the bootstrap step uses for the CLI. If you add <code>-Djenkins.install.runSetupWizard=false<\/code> (space-separated, not comma-separated), Jenkins may start with no security at all unless you also set up security, for example with the Configuration as Code plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Apply the manifest<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create the module directory: <code>sudo mkdir -p \/etc\/puppetlabs\/code\/environments\/production\/modules\/jenkins_server\/manifests<\/code>.<\/li>\n\n\n<li>Save the corrected class as <code>init.pp<\/code> in that directory.<\/li>\n\n\n<li>Check the syntax: <code>sudo \/opt\/puppetlabs\/bin\/puppet parser validate \/etc\/puppetlabs\/code\/environments\/production\/modules\/jenkins_server\/manifests\/init.pp<\/code>.<\/li>\n\n\n<li>Preview the changes without making them: <code>sudo \/opt\/puppetlabs\/bin\/puppet apply --noop -e &#039;include jenkins_server&#039;<\/code>.<\/li>\n\n\n<li>Apply: <code>sudo \/opt\/puppetlabs\/bin\/puppet apply -e &#039;include jenkins_server&#039;<\/code>. On a Puppet server, add <code>include jenkins_server<\/code> to the node&#039;s role or profile class instead.<\/li>\n\n\n<li>Run the apply command again. It should finish with <code>Notice: Applied catalog in ... seconds<\/code> and show no resource changes.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">To change the plugin list without editing code, set the class parameter in Hiera. The plugin ID is the short name shown on the plugin&#039;s page on plugins.jenkins.io.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># data\/nodes\/jenkins01.example.com.yaml<\/span>\njenkins_server::plugins:\n  - git\n  - workflow-aggregator\n  - active-directory\n  - msbuild\njenkins_server::port: <span class=\"hljs-number\">8080<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Verify the installation<\/h2>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># Service is enabled and running<\/span>\nsystemctl status jenkins --no-pager\n\n<span class=\"hljs-comment\"># Drop-in is in effect (should list override.conf)<\/span>\nsystemctl cat jenkins | grep -A3 override.conf\n\n<span class=\"hljs-comment\"># HTTP endpoint answers (expect HTTP\/1.1 200 or 403)<\/span>\ncurl -sI http:<span class=\"hljs-comment\">\/\/localhost:8080\/login | head -n 1<\/span>\n\n<span class=\"hljs-comment\"># Plugins were installed<\/span>\nsudo java -jar \/<span class=\"hljs-keyword\">var<\/span>\/lib\/jenkins\/jenkins-cli.jar -s http:<span class=\"hljs-comment\">\/\/localhost:8080\/ \\<\/span>\n  -auth @\/root\/.jenkins-cli-auth <span class=\"hljs-keyword\">list<\/span>-plugins | grep -E <span class=\"hljs-string\">'msbuild|active-directory'<\/span>\n\n<span class=\"hljs-comment\"># Open the port if firewalld is active<\/span>\nsudo firewall-cmd --permanent --add-port=<span class=\"hljs-number\">8080<\/span>\/tcp &amp;&amp; sudo firewall-cmd --reload<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Open <code>http:\/\/&lt;server&gt;:8080<\/code> in a browser and log in as <code>admin<\/code> with the contents of <code>\/var\/lib\/jenkins\/secrets\/initialAdminPassword<\/code>, then finish the setup wizard. If the wizard replaces the <code>admin<\/code> account with a new user, generate an API token for that user and put <code>user:token<\/code> in <code>\/root\/.jenkins-cli-auth<\/code>. Otherwise later plugin installs will fail with 401.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common errors and fixes<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Error<\/th><th>Cause<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td><code>Could not find class jenkins_server<\/code><\/td><td>Module is not in the environment&#039;s module path, or the folder name does not match the class name<\/td><td>Place it at <code>modules\/jenkins_server\/manifests\/init.pp<\/code> and check with <code>puppet config print modulepath<\/code><\/td><\/tr><tr><td><code>GPG check FAILED<\/code> or <code>NOKEY<\/code> when installing jenkins<\/td><td>An outdated signing key, such as <code>jenkins.io.key<\/code>, was imported<\/td><td>Point <code>gpgkey<\/code> at the current key file and remove the old key with <code>rpm -e gpg-pubkey-&lt;id&gt;<\/code><\/td><\/tr><tr><td>Jenkins exits with a message about an unsupported Java version<\/td><td>Java 11 or another unsupported runtime is the default <code>java<\/code><\/td><td>Install <code>java-21-openjdk<\/code> and select it with <code>alternatives --config java<\/code><\/td><\/tr><tr><td><code>Could not set &#039;file&#039; on ensure: No such file or directory<\/code> for <code>master.key<\/code><\/td><td><code>\/var\/lib\/jenkins\/secrets<\/code> does not exist before the first start<\/td><td>Do not manage <code>master.key<\/code> this way. See the security notes below<\/td><\/tr><tr><td><code>curl: (7) Failed to connect<\/code> or <code>(22) ... 503<\/code><\/td><td>Jenkins is still starting<\/td><td>Already handled by <code>tries<\/code>\/<code>try_sleep<\/code>. Increase them on slow hosts and check <code>journalctl -u jenkins<\/code><\/td><\/tr><tr><td>CLI returns <code>401 Unauthorized<\/code><\/td><td>The auth file does not contain a valid <code>user:password<\/code> or <code>user:token<\/code><\/td><td>Regenerate an API token and rewrite the file with mode <code>0600<\/code><\/td><\/tr><tr><td><code>Found 1 dependency cycle<\/code><\/td><td>A plugin exec notifies the service it depends on<\/td><td>Use <code>install-plugin ... -restart<\/code> as in the corrected manifest<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Security and production notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Never ship <code>master.key<\/code> from a module.<\/strong> It decrypts every credential stored in Jenkins. Copying one key to many servers, readable by everyone (mode <code>0644<\/code>), defeats that protection. Migrate it only with the rest of <code>$JENKINS_HOME\/secrets<\/code>, owned by <code>jenkins<\/code> with mode <code>0600<\/code>.<\/li>\n\n\n<li><strong>Keep secrets out of plain manifests.<\/strong> If you manage the CLI auth file from Puppet, pass the token as <code>Sensitive<\/code> from Hiera eyaml and set <code>mode =&gt; &#039;0600&#039;<\/code>.<\/li>\n\n\n<li><strong>Do not disable TLS verification.<\/strong> <code>--no-check-certificate<\/code> allows a tampered repository file. The <code>yumrepo<\/code> resource with <code>gpgcheck<\/code> enabled avoids this.<\/li>\n\n\n<li><strong>Pin versions for production.<\/strong> Replace <code>ensure =&gt; installed<\/code> with a specific Jenkins LTS version once you have tested it, so a Puppet run never upgrades Jenkins unexpectedly.<\/li>\n\n\n<li><strong>Consider the maintained alternatives.<\/strong> The community <code>puppet\/jenkins<\/code> Forge module manages the repository, package, service and plugins. Jenkins Configuration as Code (JCasC) and <code>jenkins-plugin-cli<\/code> handle security, settings and plugin versions more reliably than CLI calls from <code>exec<\/code>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">How do I install Jenkins plugins with Puppet?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Download <code>jenkins-cli.jar<\/code> from <code>http:\/\/localhost:8080\/jnlpJars\/jenkins-cli.jar<\/code>. Then run <code>java -jar jenkins-cli.jar -s http:\/\/localhost:8080\/ -auth @authfile install-plugin &lt;ids&gt; -restart<\/code> from an <code>exec<\/code>, with an <code>unless<\/code> check on <code>\/var\/lib\/jenkins\/plugins\/&lt;id&gt;.jpi<\/code>. The <code>puppet\/jenkins<\/code> Forge module or Configuration as Code are more robust options for larger setups.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does Puppet run my Jenkins exec resources on every run?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">An <code>exec<\/code> without <code>creates<\/code>, <code>unless<\/code>, <code>onlyif<\/code> or <code>refreshonly<\/code> runs every time. <code>creates<\/code> also checks a literal path and does not expand wildcards such as <code>*.jpi<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Which Java version does Jenkins need?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Current Jenkins releases no longer support Java 11. Use a supported release such as Java 21, and check the Jenkins Java support policy for the exact versions your Jenkins release accepts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Where is the Jenkins initial admin password?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With the setup wizard enabled, Jenkins writes it to <code>\/var\/lib\/jenkins\/secrets\/initialAdminPassword<\/code> on first start. The file is removed once the wizard is completed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Should I edit \/usr\/lib\/systemd\/system\/jenkins.service?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. That file belongs to the package and is replaced on upgrade. Put overrides in <code>\/etc\/systemd\/system\/jenkins.service.d\/override.conf<\/code> (or use <code>systemctl edit jenkins<\/code>) and run <code>systemctl daemon-reload<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related tutorials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/category\/infrastructure-as-code\/puppet\/\">More Puppet tutorials<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/category\/devops\/jenkins\/\">More Jenkins tutorials<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/what-is-puppet-and-use-cases-of-puppet\/\">What is Puppet and use cases of Puppet?<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/what-is-jenkins-and-use-cases-of-jenkins\/\">What is Jenkins and use cases of Jenkins?<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This page shows how to install a Jenkins controller on a RHEL-family server using a Puppet class. The class adds the Jenkins package repository, installs Java and&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[42,89],"tags":[26235],"class_list":["post-30524","post","type-post","status-publish","format-standard","hentry","category-jenkins","category-puppet","tag-puppet-manifests"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/30524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=30524"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/30524\/revisions"}],"predecessor-version":[{"id":80649,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/30524\/revisions\/80649"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=30524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=30524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=30524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}