Code Monkey home page Code Monkey logo

puppet-dotfiles's Introduction

puppet-dotfiles

  • Pull/update users' dotfiles projects from github

##Requirements##

  • git
  • Public project named "dotfiles" in your github account

##Usage##

###Basic

  dotfiles { 'jv': gituser => 'boinger'; }

###With overrides Default values (other than $gituser, which has no default, of course) shown

  dotfiles {'jv':
      gituser      => 'boinger',
      giturl       => "git://github.com",
      project      => "dotfiles",
      dotfiles_dir => "home",
      branch       => "master",
      homedir      => "/home/${name}"
      clobber      => true,
      bak_ext      => '.bak',
      single_pull  => false,
      rebase       => true,
      frequency    => 30;
  }

Fields

  • gituser: Your github username
  • giturl: If you for some reason aren't using the normal github base URL
  • project: Name of your dotfiles project
  • dotfiles_dir: Subdirectory under your dotfiles project containing the dotfiles.
    (.bashrc, .bash_profile, .zshrc, .nethackrc, etc, etc)
  • branch: If you want to pull a specific branch of your dotfiles project
  • homedir: Your home directory on the puppet-managed host
  • clobber: insert dotfiles, moving any existing conflicts out of the way
  • bak_ext: extension to append to filenames of existing files to get them out of the way. Only matters if you have $clobber = true.
  • single_pull: Option to pull down the dotfiles one time only (no recurring pulls)
  • rebase: If you prefer git pull --rebase to git pull (since your dotfiles are likely being modded by just you, you may want this)
  • frequency: Minimum time between pulls (in minutes)

##License##

Copyright (C) 2013 Jeff Vier [email protected] (Author)
License: Apache 2.0

puppet-dotfiles's People

Contributors

boinger avatar cudgel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.