All Projects → melezhik → Chef Plugin

melezhik / Chef Plugin

This is jenkins plugin to run chef-client on remote host

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Chef Plugin

Rudder
Continuous Auditing & Configuration
Stars: ✭ 314 (+726.32%)
Mutual labels:  automation, configuration-management
Jenkins
Development repository for the jenkins cookbook
Stars: ✭ 416 (+994.74%)
Mutual labels:  chef, jenkins
Utask
µTask is an automation engine that models and executes business processes declared in yaml. ✏️📋
Stars: ✭ 374 (+884.21%)
Mutual labels:  automation, devops-tools
envkey-ruby
EnvKey's official Ruby client library
Stars: ✭ 24 (-36.84%)
Mutual labels:  configuration-management, devops-tools
Ohai
Ohai profiles your system and emits JSON
Stars: ✭ 641 (+1586.84%)
Mutual labels:  chef, configuration-management
envkeygo
EnvKey's official Go client library
Stars: ✭ 36 (-5.26%)
Mutual labels:  configuration-management, devops-tools
Python Dotenv
Get and set values in your .env file in local and production servers. 🎉
Stars: ✭ 4,533 (+11828.95%)
Mutual labels:  configuration-management, devops-tools
cheat-sheet-pdf
📜 A Cheat-Sheet Collection from the WWW
Stars: ✭ 728 (+1815.79%)
Mutual labels:  jenkins, devops-tools
Runbook
A framework for gradual system automation
Stars: ✭ 531 (+1297.37%)
Mutual labels:  automation, devops-tools
Gaia
Build powerful pipelines in any programming language.
Stars: ✭ 4,534 (+11831.58%)
Mutual labels:  automation, devops-tools
chef-jenkins-hardening
⛔ DEPRECATED: A secure jenkins installation
Stars: ✭ 18 (-52.63%)
Mutual labels:  jenkins, chef
Chef
Chef Infra, a powerful automation platform that transforms infrastructure into code automating how infrastructure is configured, deployed and managed across any environment, at any scale
Stars: ✭ 6,766 (+17705.26%)
Mutual labels:  automation, chef
jenkinsfile cookbook pipeline
Example Jenkinsfile and Explaination for Chef Cookbook Development
Stars: ✭ 36 (-5.26%)
Mutual labels:  jenkins, chef
Jenkins Bootstrap Shared
Jenkins as immutable infrastructure made easy. A repository of shared scripts meant to be used as a git submodule. Packing Jenkins, plugins, and scripts into immutable packages and images.
Stars: ✭ 270 (+610.53%)
Mutual labels:  automation, jenkins
devops-notes
My technical documentation in the SRE / DevOps paradigm.
Stars: ✭ 19 (-50%)
Mutual labels:  configuration-management, devops-tools
Core
CFEngine Community
Stars: ✭ 377 (+892.11%)
Mutual labels:  automation, configuration-management
efs2
A dead-simple configuration management tool powered by stupid shell scripts.
Stars: ✭ 82 (+115.79%)
Mutual labels:  configuration-management, devops-tools
infraverse
Infrastructure Platforms and Applications Comparison
Stars: ✭ 77 (+102.63%)
Mutual labels:  jenkins, configuration-management
Rundeck
Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
Stars: ✭ 4,426 (+11547.37%)
Mutual labels:  automation, devops-tools
Opsmop
DISCONTINUED: permanent copy of fork lives at github.com/mpdehaan/opsmop
Stars: ✭ 725 (+1807.89%)
Mutual labels:  automation, configuration-management

SYNOPSIS

This is jenkins plugin to run chef-client on remote host. Plugin starts ssh session on remote host using public key authentication and run chef-client there.

Plugin general settings

  • host - Specifies remote host to run chef client on.
  • login - Specifies the user to log in as on the remote machine.

Plugin advanced settings

  • ssh_indetity_file - Specifies a path to file from which the identity (private key) for public key authentication is read.
  • chef_client_config - Specifies a path to file ( on remote host ) from which chef client configuration is read, default values is /etc/chef/client.rb
  • chef_json_template - Specifies chef attributes and run-list ( see chef documentation ).
  • dry_run - Use to run chef client in why-run mode, which is a type of chef-client run that does everything except modify the system, default value is false.

User interface

layout

Chef attributes and run list settings

  • Use chef_json_template to define chef attributes and run list. If you define one, plugin will parse chef_json_template data and stored result in file which in turn will passed as -j parameter into chef-client run.

  • Please check out chef wiki to learn more about chef json files.

  • Chef_json_template confirms ERB template syntax. Here is example of chef_json_template:

      <%
          runlist = %w{apache::server mysql}
          chef_json = {
              :run_list   => runlist.map { |r|  "recipe[#{r}]" } ,
              :apache     => {
                  :version => 80
              }
          }
      %>
      <%= chef_json.to_json.to_s %>
    

Prerequisites

  • ruby-runtime jenkins plugin
  • ssh client

Environment variables

You can set some environment variables qith "Jenkins/Configuration/Global properties/Environment variables" . Here the list of varibales to be processed in the plugin:

  • LC_ALL # sets encoding to avoid chef log issues

Latest stable version

0.1.7

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].