r10k

Smarter Puppet deployment

Github星跟蹤圖

r10k

Puppet environment and module deployment

Build Status

Description

R10k provides a general purpose toolset for deploying Puppet environments and
modules. It implements the Puppetfile format and provides a native
implementation of Puppet dynamic environments.

Requirements

R10k supports the Ruby versions >= 2.3.0. It's tested on Ruby 2.3.0 up to
Ruby 2.6.0 + Jruby.

R10k requires additional components, depending on how you plan on managing
environments and modules.

  • Installing modules from the Puppet Forge requires Puppet 5.0.0+ or later.
    Puppet 3 or 4 may work, but is generally not recommended.
  • Git is required for creating environments and modules from Git
  • SVN is required for creating environments and modules from SVN

Installation

Rubygems

For general use, you should install r10k from Ruby gems:

gem install r10k
r10k help

Puppet Enterprise 3.x

Puppet Enterprise bundles a copy of Ruby, so if you do not want to use the
system version of Ruby with r10k, you need to use the bundled PE gem command for
installation:

/opt/puppet/bin/gem install r10k
r10k help

Puppet 4

Puppet 4 bundles a copy of Ruby, so if you do not want to use the
system version of Ruby with r10k, you need to use the bundled puppet gem command
for installation.

/opt/puppetlabs/puppet/bin/gem install r10k
/opt/puppetlabs/puppet/bin/r10k help

Bundler

If you have more specific needs or plan on modifying r10k you can run it out of
a git repository using Bundler for dependencies:

git clone git://github.com/puppetlabs/r10k
cd r10k
bundle install
bundle exec r10k help

Usage

R10k has two primary roles: installing Puppet modules using a standalone
Puppetfile, and managing Git and SVN based dynamic environments. For more
information see the topic specific documentation:

For more general questions, see the FAQ.

Development

i18n

R10k has now had all user-facing strings in error messages and log messages
externalized. When adding new error or log messages please follow the
instructions for writing translatable code.

l10n

When localizing the strings found in R10k, follow the prescribed
translation workflow.
The workflow describes the rake tasks provided to generate the .po files for
each locale.

Getting help

  • IRC: r10k has a dedicated channel, #r10k, on Freenode where r10k questions
    can be directed. Questions about r10k can frequently be asked in #puppet as well.
  • Mailing lists: puppet-users
  • Q&A: Puppet Ask

Contributors

Please see the CHANGELOG for a listing of the (very awesome) contributors.

Maintenance

See MAINTAINERS (json file)

Tickets: File at https://tickets.puppet.com/browse/RK

主要指標

概覽
名稱與所有者puppetlabs/r10k
主編程語言Ruby
編程語言Ruby (語言數: 3)
平台
許可證Other
所有者活动
創建於2012-12-15 05:19:38
推送於2025-02-04 02:07:15
最后一次提交
發布數120
最新版本名稱5.0.0 (發布於 )
第一版名稱0.0.1 (發布於 2013-01-03 15:59:27)
用户参与
星數805
關注者數191
派生數352
提交數3.1k
已啟用問題?
問題數402
打開的問題數3
拉請求數842
打開的拉請求數1
關閉的拉請求數170
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?