How To Install cinch on Fedora 34

cinch is A tool for provisioning Jenkins components for CI

Introduction

In this tutorial we learn how to install cinch on Fedora 34.

What is cinch

Cinch is an Ansible-based tool for configuring Jenkins systems to enhance the Continuous Integration experience.

We can use yum or dnf to install cinch on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install cinch.

Install cinch on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install cinch using dnf by running the following command:

sudo dnf -y install cinch

Install cinch on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install cinch using yum by running the following command:

sudo yum -y install cinch

How To Uninstall cinch on Fedora 34

To uninstall only the cinch package we can use the following command:

sudo dnf remove cinch

cinch Package Contents on Fedora 34

/usr/bin/cinch
/usr/bin/teardown
/usr/lib/python3.9/site-packages/cinch
/usr/lib/python3.9/site-packages/cinch-1.4.0-py3.9.egg-info
/usr/lib/python3.9/site-packages/cinch-1.4.0-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/cinch-1.4.0-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/cinch-1.4.0-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/cinch-1.4.0-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/cinch-1.4.0-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/cinch-1.4.0-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/cinch/__init__.py
/usr/lib/python3.9/site-packages/cinch/__pycache__
/usr/lib/python3.9/site-packages/cinch/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/cinch/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/cinch/bin
/usr/lib/python3.9/site-packages/cinch/bin/__init__.py
/usr/lib/python3.9/site-packages/cinch/bin/__pycache__
/usr/lib/python3.9/site-packages/cinch/bin/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/cinch/bin/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/cinch/bin/__pycache__/entry_point.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/cinch/bin/__pycache__/entry_point.cpython-39.pyc
/usr/lib/python3.9/site-packages/cinch/bin/__pycache__/wrappers.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/cinch/bin/__pycache__/wrappers.cpython-39.pyc
/usr/lib/python3.9/site-packages/cinch/bin/entry_point.py
/usr/lib/python3.9/site-packages/cinch/bin/wrappers.py
/usr/lib/python3.9/site-packages/cinch/files
/usr/lib/python3.9/site-packages/cinch/files/jenkins-plugin-lists
/usr/lib/python3.9/site-packages/cinch/files/jenkins-plugin-lists/README
/usr/lib/python3.9/site-packages/cinch/files/jenkins-plugin-lists/default-test.txt
/usr/lib/python3.9/site-packages/cinch/files/jenkins-plugin-lists/default.txt
/usr/lib/python3.9/site-packages/cinch/files/jenkins-plugin-lists/optional-test.txt
/usr/lib/python3.9/site-packages/cinch/files/jenkins-plugin-lists/optional.txt
/usr/lib/python3.9/site-packages/cinch/group_vars
/usr/lib/python3.9/site-packages/cinch/group_vars/all
/usr/lib/python3.9/site-packages/cinch/group_vars/cent6
/usr/lib/python3.9/site-packages/cinch/group_vars/cent7
/usr/lib/python3.9/site-packages/cinch/group_vars/fedora
/usr/lib/python3.9/site-packages/cinch/group_vars/jenkins_docker_slave
/usr/lib/python3.9/site-packages/cinch/group_vars/jenkins_master
/usr/lib/python3.9/site-packages/cinch/group_vars/jenkins_slave
/usr/lib/python3.9/site-packages/cinch/group_vars/rhel6
/usr/lib/python3.9/site-packages/cinch/group_vars/rhel7
/usr/lib/python3.9/site-packages/cinch/group_vars/rhel8
/usr/lib/python3.9/site-packages/cinch/library
/usr/lib/python3.9/site-packages/cinch/library/__pycache__
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/jenkins_cli_user.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/jenkins_cli_user.cpython-39.pyc
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/jenkins_script.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/jenkins_script.cpython-39.pyc
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/jenkins_update_center.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/jenkins_update_center.cpython-39.pyc
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/jenkins_user_api.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/jenkins_user_api.cpython-39.pyc
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/line_match.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/cinch/library/__pycache__/line_match.cpython-39.pyc
/usr/lib/python3.9/site-packages/cinch/library/jenkins_cli_user.py
/usr/lib/python3.9/site-packages/cinch/library/jenkins_script.py
/usr/lib/python3.9/site-packages/cinch/library/jenkins_update_center.py
/usr/lib/python3.9/site-packages/cinch/library/jenkins_user_api.py
/usr/lib/python3.9/site-packages/cinch/library/line_match.py
/usr/lib/python3.9/site-packages/cinch/roles
/usr/lib/python3.9/site-packages/cinch/roles/beaker-client
/usr/lib/python3.9/site-packages/cinch/roles/beaker-client/defaults
/usr/lib/python3.9/site-packages/cinch/roles/beaker-client/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/beaker-client/tasks
/usr/lib/python3.9/site-packages/cinch/roles/beaker-client/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/beaker-client/templates
/usr/lib/python3.9/site-packages/cinch/roles/beaker-client/templates/etc
/usr/lib/python3.9/site-packages/cinch/roles/beaker-client/templates/etc/beaker
/usr/lib/python3.9/site-packages/cinch/roles/beaker-client/templates/etc/beaker/client.conf
/usr/lib/python3.9/site-packages/cinch/roles/certificate_authority
/usr/lib/python3.9/site-packages/cinch/roles/certificate_authority/defaults
/usr/lib/python3.9/site-packages/cinch/roles/certificate_authority/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/certificate_authority/handlers
/usr/lib/python3.9/site-packages/cinch/roles/certificate_authority/handlers/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/certificate_authority/tasks
/usr/lib/python3.9/site-packages/cinch/roles/certificate_authority/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/check_ssh
/usr/lib/python3.9/site-packages/cinch/roles/check_ssh/defaults
/usr/lib/python3.9/site-packages/cinch/roles/check_ssh/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/check_ssh/tasks
/usr/lib/python3.9/site-packages/cinch/roles/check_ssh/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/dockerize
/usr/lib/python3.9/site-packages/cinch/roles/dockerize/defaults
/usr/lib/python3.9/site-packages/cinch/roles/dockerize/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/dockerize/tasks
/usr/lib/python3.9/site-packages/cinch/roles/dockerize/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_common
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_common/defaults
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_common/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_common/handlers
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_common/handlers/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_common/tasks
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_common/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_common/vars
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_common/vars/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_docker_slave
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_docker_slave/defaults
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_docker_slave/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_docker_slave/tasks
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_docker_slave/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/defaults
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/files
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/files/mass_disable.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/files/set_env.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/handlers
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/handlers/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks/configure.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks/ensure_up.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks/firewalld.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks/install.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks/pin_plugin.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks/plugins.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks/post_configure.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/tasks/pre_install.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/99-jenkins.conf
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/basic_security.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/enable-kerberos-sso.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/etc
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/etc/nginx
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/etc/nginx/conf.d
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/etc/nginx/conf.d/jenkins_http.conf
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/etc/nginx/conf.d/jenkins_https.conf
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/init_backup.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/jenkins_pinned
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/jenkins_root_url.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/roles_and_ldap_auth.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/set_slaveport.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/set_usebrowser.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/setenvvars.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/sysconfig_jenkins
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/templates/user.groovy
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/vars
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master/vars/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master_stop
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master_stop/tasks
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_master_stop/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/defaults
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/handlers
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/handlers/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/tasks
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/tasks/check_swarm_errors.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/tasks/check_swarm_systemd.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/tasks/check_swarm_upstart.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/templates
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/templates/swarm.service
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/templates/swarm.upstart.conf
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave/templates/sysconfig_jenkins_swarm
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_container_wrapup
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_container_wrapup/defaults
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_container_wrapup/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_container_wrapup/tasks
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_container_wrapup/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_container_wrapup/templates
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_container_wrapup/templates/jmaster.sh
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_container_wrapup/templates/jswarm.sh
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_teardown
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_teardown/tasks
/usr/lib/python3.9/site-packages/cinch/roles/jenkins_slave_teardown/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/nginx
/usr/lib/python3.9/site-packages/cinch/roles/nginx/defaults
/usr/lib/python3.9/site-packages/cinch/roles/nginx/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/nginx/files
/usr/lib/python3.9/site-packages/cinch/roles/nginx/files/etc
/usr/lib/python3.9/site-packages/cinch/roles/nginx/files/etc/logrotate.d
/usr/lib/python3.9/site-packages/cinch/roles/nginx/files/etc/logrotate.d/nginx
/usr/lib/python3.9/site-packages/cinch/roles/nginx/handlers
/usr/lib/python3.9/site-packages/cinch/roles/nginx/handlers/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/nginx/meta
/usr/lib/python3.9/site-packages/cinch/roles/nginx/meta/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/nginx/tasks
/usr/lib/python3.9/site-packages/cinch/roles/nginx/tasks/kerberos-setup.yml
/usr/lib/python3.9/site-packages/cinch/roles/nginx/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/nginx/tasks/nginx.yml
/usr/lib/python3.9/site-packages/cinch/roles/nginx/tasks/selinux.yml
/usr/lib/python3.9/site-packages/cinch/roles/nginx/tasks/ssl-setup.yml
/usr/lib/python3.9/site-packages/cinch/roles/nginx/templates
/usr/lib/python3.9/site-packages/cinch/roles/nginx/templates/etc
/usr/lib/python3.9/site-packages/cinch/roles/nginx/templates/etc/nginx
/usr/lib/python3.9/site-packages/cinch/roles/nginx/templates/etc/nginx/conf.d
/usr/lib/python3.9/site-packages/cinch/roles/nginx/templates/etc/nginx/conf.d/errors.conf.snippet
/usr/lib/python3.9/site-packages/cinch/roles/nginx/templates/etc/nginx/conf.d/monitor.conf.snippet
/usr/lib/python3.9/site-packages/cinch/roles/nginx/templates/etc/nginx/nginx.conf
/usr/lib/python3.9/site-packages/cinch/roles/nginx/templates/example_ssl.conf
/usr/lib/python3.9/site-packages/cinch/roles/ntp
/usr/lib/python3.9/site-packages/cinch/roles/ntp/tasks
/usr/lib/python3.9/site-packages/cinch/roles/ntp/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/repositories
/usr/lib/python3.9/site-packages/cinch/roles/repositories/defaults
/usr/lib/python3.9/site-packages/cinch/roles/repositories/defaults/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/repositories/handlers
/usr/lib/python3.9/site-packages/cinch/roles/repositories/handlers/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/repositories/tasks
/usr/lib/python3.9/site-packages/cinch/roles/repositories/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/roles/repositories/tasks/repositories.yml
/usr/lib/python3.9/site-packages/cinch/roles/repositories/tasks/repository_download.yml
/usr/lib/python3.9/site-packages/cinch/roles/upload_files
/usr/lib/python3.9/site-packages/cinch/roles/upload_files/tasks
/usr/lib/python3.9/site-packages/cinch/roles/upload_files/tasks/main.yml
/usr/lib/python3.9/site-packages/cinch/site.yml
/usr/lib/python3.9/site-packages/cinch/teardown.yml
/usr/share/doc/cinch
/usr/share/doc/cinch/README.md
/usr/share/licenses/cinch
/usr/share/licenses/cinch/LICENSE

References

Summary

In this tutorial we learn how to install cinch on Fedora 34 using yum and dnf.