chef-yum-plugin-versionlock

所属分类:其他
开发工具:Ruby
文件大小:0KB
下载次数:0
上传日期:2023-12-01 17:58:12
上 传 者sh-1993
说明:  管理百胜插件以锁定指定的包,使其不被更新
(Manages Yum plugin to lock specified packages from being updated)

文件列表:
.rspec (30, 2023-12-01)
.rubocop.yml (435, 2023-12-01)
.vscode/ (0, 2023-12-01)
.vscode/extensions.json (116, 2023-12-01)
Berksfile (121, 2023-12-01)
CHANGELOG.md (1101, 2023-12-01)
Gemfile (367, 2023-12-01)
LICENSE (702, 2023-12-01)
Rakefile (867, 2023-12-01)
Thorfile (241, 2023-12-01)
Vagrantfile (3355, 2023-12-01)
attributes/ (0, 2023-12-01)
attributes/default.rb (332, 2023-12-01)
chefignore (162, 2023-12-01)
kitchen.dokken.yml (642, 2023-12-01)
kitchen.yml (468, 2023-12-01)
libraries/ (0, 2023-12-01)
libraries/helpers.rb (1453, 2023-12-01)
metadata.rb (393, 2023-12-01)
recipes/ (0, 2023-12-01)
recipes/default.rb (455, 2023-12-01)
resources/ (0, 2023-12-01)
resources/yum_version_lock.rb (958, 2023-12-01)
spec/ (0, 2023-12-01)
spec/spec_helper.rb (164, 2023-12-01)
spec/unit/ (0, 2023-12-01)
spec/unit/recipes/ (0, 2023-12-01)
spec/unit/recipes/default_spec.rb (573, 2023-12-01)
templates/ (0, 2023-12-01)
templates/default/ (0, 2023-12-01)
templates/default/versionlock.conf.erb (201, 2023-12-01)
templates/default/versionlock.list.erb (151, 2023-12-01)
test/ (0, 2023-12-01)
test/cookbooks/ (0, 2023-12-01)
... ...

# yum-plugin-versionlock Manages Yum plugin to lock specified packages from being updated. ## Most Recent Release ```ruby cookbook 'yum-plugin-versionlock', '~> 0.4.1' ``` ## From Git ```ruby cookbook 'yum-plugin-versionlock', github: 'karnauskas/chef-yum-plugin-versionlock', tag: 'v0.4.1' ``` ## Repository ``` https://github.com/karnauskas/chef-yum-plugin-versionlock ``` ## Recipes - `yum-plugin-versionlock::default` - installs and configures yum plugin versionlock ## Resources - `yum_version_lock` add/remove/update lock for a given package ### Actions: | Action | Description | | --------- | ----------------------------------------------------- | | `:add` | Adds a new lock or updates an exising one. | | `:update` | Same as `:add`. Provided for backwards compatibility. | | `:delete` | Deletes a lock, if it exists. | ### Properties: | Name | Type | Default | | ------- | --------------- | --------------------------- | | package | String | Resource name | | epoch | String, Integer | `0` | | version | String, Integer | | | release | String, Integer | | | arch | String | `node['kernel']['machine']` | ### Examples: Create a lock if it does not exist: ```ruby yum_version_lock 'topbeat' do version '1.2.3' release '1' action :add end ``` Update an existing lock or create a new one: ```ruby yum_version_lock 'topbeat' do version '1.2.3' release '1' action :update end ``` Remove an existing lock: ```ruby yum_version_lock 'topbeat' do version '1.2.3' release '1' action :remove end ``` ## Attributes | Attribute | Default value | Description | | ---------------------------------------------------- | ---------------------------------------- | ------------------------------------------------------ | | `node['yum-plugin-versionlock']['enabled']` | `1` | Whether to enable the plugin | | `node['yum-plugin-versionlock']['follow_obsoletes']` | `0` | Whether to see if specified packages have an obsoleter | | `node['yum-plugin-versionlock']['locklist']` | `/etc/yum/pluginconf.d/versionlock.list` | Path to the config file | # Contributing - Star this pository/follow cookbook on Supermarket if you find it useful or use it (we have no idea how much it is used) - Open issue: this helps to understand issues, track any work done to resolve issue. Coding skills are nice, but communicating is even better. - Fork the repository on Github - Create a named feature branch (like `add_component_x`) - Write your change - Write tests for your change (if applicable). Currently this project uses Github Actions for CI. - Run the tests, ensuring they all pass - Submit a Pull Request using Github ## License and Authors Author: [Marius Karnauskas](https://github.com/karnauskas/chef-yum-plugin-versionlock/blob/master/mailto:marius@karnauskas.lt) and [Contributors](https://github.com/karnauskas/chef-yum-plugin-versionlock/blob/master/https://github.com/karnauskas/chef-yum-plugin-versionlock/graphs/contributors)

近期下载者

相关文件


收藏者