Forge Home

workstation

Puppet module for a developer focused workstation

6,359 downloads

6,359 latest version

4.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released Nov 7th 2016
This version is compatible with:
  • Puppet Enterprise >= 3.7.0
  • Puppet >= 3.4.0
  • Archlinux,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'blakejakopovic-workstation', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add blakejakopovic-workstation
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install blakejakopovic-workstation --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

blakejakopovic/workstation — version 0.1.0 Nov 7th 2016

Puppet Workstation

Automated workstation setup and configuration module for both Arch Linux, and macOS (Darwin) systems. Works best with hardware specific puppet modules (ie. macbook), and personal dotfiles.

This module was designed to support standalone puppet compilations, where no Puppet master is required. However, there is no reason why it can't also be used by a Puppet master to keep systems in check.

NOTICE

This is an early release. It is not yet production ready.

What workstation affects

This module includes configuration, packages, and services including:

  • Developer Tools
  • Filesystem Tools
  • Media Utilities
  • Monitoring Tools
  • Networking Utilities
  • Productivity
  • Social
  • System
  • Terminal
  • General Utilities
  • Web Browsers
  • Window Managers (Arch Linux only)

Setup Requirements

macOS requirements:

  • $default_user must exist
  • Homebrew (automatically installs Xcode Command Line Tools)
  • Puppet Agent (brew cask install puppet-agent)
  • Homebrew Puppet Module (puppet module install thekevjames-homebrew)
  • An internet connection (or cached packages)

Arch Linux requirements:

  • $default_user must exist
  • Puppet Agent (pacman -S puppet)
  • An internet connection (or cached packages)

Beginning with workstation

Install the puppet workstation module

puppet module install blakejakopovic-workstation

Usage

When using a Puppet server

node 'my.workstation.net' {
  class { 'workstation':
    default_user  => 'blake',
  }
}

When using in standalone mode (without Puppet master)

git clone https://github.com/blakejakopovic/puppet-workstation
cd puppet-workstation
sudo puppet apply -e "class { 'workstation': default_user => 'blake' }"

Note: For an existing system, it's advisable to use the --noop --verbose flags, so you can review any changes that may occur.

Limitations

This module currently only supports Arch Linux, and macOS (Darwin); however other operating systems may be added without significant issues. One consideration is that both Arch Linux and OS X have their own package managers (Pacman, and Homebrew respectively), so there may be some code duplication and puppet selector statements required.

Development

It's most likely that you will fork this repo, and customise it for your own needs. However, if you do find anything wrong, feel free to leave a github issue or submit a pull request.

License

Copyright (c) 2016 Blake Jakopovic. Licensed under the Apache-2.0 license.