Socket
Book a DemoInstallSign in
Socket

puppetfile-updater

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppetfile-updater

0.6.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Puppetfile-updater

Build Status Gem Version Gem Downloads Gemnasium

Puppetfile is a cool format, used by librarian-puppet and r10k to install and maintain collection of Puppet modules.

However, keeping it up-to-date with newer versions of said modules can be a difficult task.

This gem provides rake tasks to ease this job, by connecting to the Puppet Forge and GitHub and fetching the new versions or references for you.

Simple usage

In your Rakefile:

require 'puppetfile-updater/task'

# Update all modules, avoid major version updates
PuppetfileUpdater::RakeTask.new :sync_refs do |config|
  # This is required to avoid hitting the GitHub connection rate
  config.gh_login    = 'github_robot'
  config.gh_password = 'github_password'
end

# Only update Camptocamp modules, including major version updates
PuppetfileUpdater::RakeTask.new :sync_c2c_refs do |config|
  config.user        = 'camptocamp'
  config.gh_login    = 'github_robot'
  config.gh_password = 'github_password'
  config.major       = true
  config.debug       = true
end

FAQs

Package last updated on 18 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.