Skip to content

Instantly share code, notes, and snippets.

@igalic
Created June 12, 2013 16:58
Show Gist options
  • Save igalic/5767142 to your computer and use it in GitHub Desktop.
Save igalic/5767142 to your computer and use it in GitHub Desktop.
forge "http://forge.puppetlabs.com"
mod 'puppetlabs/mysql', "0.6.1"
mod 'puppetlabs/nodejs', "0.2.1"
mod 'puppetlabs/stdlib', "3.2.0"
mod 'puppetlabs/vcsrepo', "0.1.1"
mod 'ripienaar/concat', "0.2.0"
mod "ispavailability/elasticsearch", "0.0.7"
mod "composer",
:git => "git@panic:puppet-composer"
mod "git",
:git => "git@panic:puppet-git"
mod "gitpubsub",
:git => "git@panic:puppet-gitpubsub"
mod "httpd",
:git => "git@panic:puppet-httpd"
mod "ruby",
:git => "git@panic:puppet-ruby"
mod "rvm",
:git => "git@panic:puppet-rvm"
mod "trafficserver",
:git => "git@panic:puppet-trafficserver"
# make this relative to basedir, which in this case is:
# /etc/puppet/modules
moduledir 'production'
forge "http://forge.puppetlabs.com"
mod 'puppetlabs/mysql', "0.6.1"
mod 'puppetlabs/nodejs', "0.2.1"
mod 'puppetlabs/stdlib', "3.2.0"
mod 'puppetlabs/vcsrepo', "0.1.1"
mod 'ripienaar/concat', "0.2.0"
mod "ispavailability/elasticsearch", "0.0.7"
mod "composer",
:git => "git@panic:puppet-composer"
mod "git",
:git => "git@panic:puppet-git"
mod "gitpubsub",
:git => "git@panic:puppet-gitpubsub"
mod "httpd",
:git => "git@panic:puppet-httpd"
mod "ruby",
:git => "git@panic:puppet-ruby"
mod "rvm",
:git => "git@panic:puppet-rvm"
mod "trafficserver",
:git => "git@panic:puppet-trafficserver"
# The location to use for storing cached Git repos
:cachedir: '/var/tmp/r10k-cache'
# A list of git repositories to create
:sources:
:modules:
remote: 'git@panic:puppet-modules'
basedir: '/tmp/puppet/modules'
# This directory will be purged of any directory that doesn't map to a
# git branch
:purgedirs:
- '/tmp/puppet/modules'
igalic@tynix ~/src/bw % tree -d /tmp/puppet
/tmp/puppet
└── modules
├── master
│   └── modules
│   ├── composer
│   │   ├── manifests
│   │   ├── spec
│   │   │   └── classes
│   │   ├── templates
│   │   └── tests
│   ├── concat
│   │   ├── files
│   │   │   └── null
│   │   ├── lib
│   │   │   └── facter
│   │   ├── manifests
│   │   └── spec
│   │   ├── defines
│   │   └── fixtures
│   │   └── manifests
│   ├── elasticsearch
│   │   ├── manifests
│   │   ├── spec
│   │   │   ├── classes
│   │   │   ├── defines
│   │   │   ├── fixtures
│   │   │   │   ├── manifests
│   │   │   │   └── modules
│   │   │   ├── functions
│   │   │   └── hosts
│   │   └── templates
│   │   └── etc
│   │   └── elasticsearch
│   ├── git
│   │   └── manifests
│   ├── gitpubsub
│   │   └── manifests
│   ├── httpd
│   │   ├── manifests
│   │   └── templates
│   ├── mysql
│   │   ├── files
│   │   ├── lib
│   │   │   └── puppet
│   │   │   ├── parser
│   │   │   │   └── functions
│   │   │   ├── provider
│   │   │   │   ├── database
│   │   │   │   ├── database_grant
│   │   │   │   └── database_user
│   │   │   └── type
│   │   ├── manifests
│   │   │   └── server
│   │   ├── spec
│   │   │   ├── classes
│   │   │   ├── defines
│   │   │   ├── fixtures
│   │   │   │   ├── manifests
│   │   │   │   └── modules
│   │   │   └── unit
│   │   │   └── puppet
│   │   │   └── provider
│   │   │   └── database_grant
│   │   ├── templates
│   │   └── tests
│   │   └── server
│   ├── nodejs
│   │   ├── lib
│   │   │   └── puppet
│   │   │   └── provider
│   │   │   └── package
│   │   ├── manifests
│   │   ├── spec
│   │   │   ├── classes
│   │   │   ├── fixtures
│   │   │   │   └── unit
│   │   │   │   └── puppet
│   │   │   │   └── provider
│   │   │   │   └── pakages
│   │   │   │   └── npm
│   │   │   ├── puppetlabs_spec
│   │   │   └── unit
│   │   │   └── puppet
│   │   │   └── provider
│   │   │   └── pakages
│   │   └── tests
│   ├── ruby
│   │   └── manifests
│   ├── rvm
│   │   └── manifests
│   ├── stdlib
│   │   ├── lib
│   │   │   ├── facter
│   │   │   │   └── util
│   │   │   └── puppet
│   │   │   ├── parser
│   │   │   │   └── functions
│   │   │   ├── provider
│   │   │   │   └── file_line
│   │   │   └── type
│   │   ├── manifests
│   │   ├── spec
│   │   │   ├── fixtures
│   │   │   │   ├── manifests
│   │   │   │   └── modules
│   │   │   ├── functions
│   │   │   ├── monkey_patches
│   │   │   └── unit
│   │   │   ├── facter
│   │   │   │   └── util
│   │   │   └── puppet
│   │   │   ├── parser
│   │   │   │   └── functions
│   │   │   ├── provider
│   │   │   │   └── file_line
│   │   │   └── type
│   │   └── tests
│   ├── trafficserver
│   │   ├── lib
│   │   │   └── augeas
│   │   │   └── lenses
│   │   ├── manifests
│   │   └── templates
│   └── vcsrepo
│   ├── examples
│   │   ├── bzr
│   │   ├── cvs
│   │   ├── git
│   │   ├── hg
│   │   └── svn
│   ├── lib
│   │   └── puppet
│   │   ├── provider
│   │   │   └── vcsrepo
│   │   └── type
│   └── spec
│   ├── fixtures
│   ├── support
│   └── unit
│   └── puppet
│   ├── provider
│   │   └── vcsrepo
│   └── type
├── production
└── testing
144 directories
igalic@tynix ~/src/bw %
# make this relative to basedir, which in this case is:
# /etc/puppet/modules
moduledir 'testing'
forge "http://forge.puppetlabs.com"
mod 'puppetlabs/mysql', "0.6.1"
mod 'puppetlabs/nodejs', "0.2.1"
mod 'puppetlabs/stdlib', "3.2.0"
mod 'puppetlabs/vcsrepo', "0.1.1"
mod 'ripienaar/concat', "0.2.0"
mod "ispavailability/elasticsearch", "0.0.7"
mod "composer",
:git => "git@panic:puppet-composer"
mod "git",
:git => "git@panic:puppet-git"
mod "gitpubsub",
:git => "git@panic:puppet-gitpubsub"
mod "httpd",
:git => "git@panic:puppet-httpd"
mod "ruby",
:git => "git@panic:puppet-ruby"
mod "rvm",
:git => "git@panic:puppet-rvm"
mod "trafficserver",
:git => "git@panic:puppet-trafficserver"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment