[gitcodereposerver coderepo]# ls -la
total 16
drwxr-x--- 4 root root 4096 Jun 17 16:35 .
drwxr-x--- 7 root root 4096 Jun 15 15:43 ..
drwxr-x--- 8 root root 4096 Jun 17 16:35 .git
drwxr-x--- 3 root root 4096 Jun 17 16:35 modulesgitcodereposerver coderepo]# git branch -v
development ad420ad test
* production ad420ad test
puppetmaster r10k]# cat r10k.yaml
---
sources:
main:
remote: 'root@gitcodereposerver:/home/pupp/coderepo'
basedir: '/etc/puppetlabs/code/environments' puppetmaster]#r10k deploy environment -pv
INFO -> Deploying environment /etc/puppetlabs/code/environments/development
INFO -> Environment development is now at a20646d68ed3259e3ae6eeda6c31dfca9f9ab9f0
INFO -> Deploying environment /etc/puppetlabs/code/environments/production
INFO -> Environment production is now at c73bcc40b41373d87908093035be58e60fc2ea29
INFO -> Removing unmanaged path /etc/puppetlabs/code/environments/production/modules/compliancepuppetmaster environments]# ls
development production
[ environments]# cd production/
[ production]# ls
modules
[ production]# cd modules/
[modules]# ls
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f0b9c4e2-a90a-4b3e-ab75-094592e457d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I actually take the opposite approach. Modules from the forge go in a directory named "forge_modules" and r10k will leave anything located in modules alone. From r10k.yaml: forge 'http://forge.puppetlabs.com' moduledir 'forge_modules'