Skip to content

Instantly share code, notes, and snippets.

@reidmv
Last active December 29, 2018 00:18
Show Gist options
  • Save reidmv/a9449cf3fa1594929885dcf69774d851 to your computer and use it in GitHub Desktop.
Save reidmv/a9449cf3fa1594929885dcf69774d851 to your computer and use it in GitHub Desktop.
puppet-environments-repo
[reidmv@halcyon:~/src/r10k/] % bundle exec ./bin/r10k -c ~/tmp/r10k.yaml deploy environment production -pv
WARN -> Rugged has been compiled without support for ssh; Git repositories will not be reachable via ssh.
INFO -> Using Puppetfile '/Users/reidmv/tmp/environments/development/Puppetfile'
INFO -> Using Puppetfile '/Users/reidmv/tmp/environments/production/Puppetfile'
INFO -> Using Puppetfile '/Users/reidmv/tmp/environments/staging/Puppetfile'
INFO -> Using Puppetfile '/Users/reidmv/tmp/environments/git_master/Puppetfile'
INFO -> Deploying environment /Users/reidmv/tmp/environments/production
INFO -> Environment production is now at b6cd525c548e56d7b0c70f178b17d0e782d04235/production.yaml
INFO -> Deploying production.yaml content /Users/reidmv/tmp/environments/production/modules/stdlib
INFO -> Deploying production.yaml content /Users/reidmv/tmp/environments/production/modules/apache
INFO -> Deploying production.yaml content /Users/reidmv/tmp/environments/production/modules/remote_file
INFO -> Deploying Puppetfile content /Users/reidmv/tmp/environments/production/modules/concat
[reidmv@halcyon:~/src/r10k/] %
# This is an example r10k.yaml showing the use of a puppet_environments_repo source.
---
cachedir: '/Users/reidmv/.r10k'
git:
provider: rugged
sources:
environments:
type: puppet_environments_repo
remote: 'git://github.com/reidmv/puppet-environments.git'
basedir: '/Users/reidmv/tmp/environments'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment