jovandeginste / puppet-scoop

Manage your scoops with Puppet
Apache License 2.0
2 stars 1 forks source link

Scoop

GitHub license GitHub issues GitHub forks GitHub stars

Puppet Forge Puppet Forge - downloads Puppet Forge - scores

Table of Contents

  1. Module Description - What the module does and why it is useful
  2. Setup - The basics of getting started with scoop
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how

Module description

The scoop module installs Scoop, Scoop buckets and packages

Setup

Beginning with scoop

include scoop is enough to get you up and running. To pass in parameters specifying which buckets or packages to install:

class { 'scoop':
  packages => [ 'firefox', 'ripgrep' ],
  buckets  => [ 'extras' ],
  url_buckets => {
    'wangzq' => 'https://github.com/wangzq/scoop-bucket'
  },
}

Usage

You can configure scoop quicly using the parameters for the main class, or use the resources contained in the module for finer controls.

Install and enable Scoop

include scoop

Install packages

class { 'scoop':
  packages => [ 'firefox', 'ripgrep' ],
}

Configure extra (known) buckets and install packages

class { 'scoop':
  packages => [ 'firefox', 'ripgrep' ],
  buckets  => [ 'extras' ],
}

Configure a bucket via URL

class { 'scoop':
  url_buckets => {
    'wangzq' => 'https://github.com/wangzq/scoop-bucket'
  },
}

Remove scoop from the system

class { 'scoop':
  ensure => absent,
}

Reference

See REFERENCE.md