Ask Your Question
0

Using r10k in a bundle

asked 2015-12-09 20:15:31 -0600

updated 2015-12-15 08:04:37 -0600

Hi all

I am struggling a bit with best practices and R10K documentation.

"r10k uses a yaml based configuration file when handling deployments. The default location is in /etc/r10k.yaml and can be specified on the command line."

It's not clear to me where I should put it in my control repo or how this would integrate with rspec-puppet / beaker when I run my tests locally.

Or do people not use R10K when testing locally...just use .fixtures.yml...?

UPDATE Well... does anyone even revision control their r10k.yaml file at all?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-12-15 08:52:24 -0600

Vlad gravatar image

I use Zack Smith's module: https://github.com/acidprime/r10k in a manifest similar to this https://github.com/puppetinabox/contr...

My only modifications are related to Puppet 4: https://github.com/vladgh/puppet/blob...

Hope this helps.

edit flag offensive delete link more

Comments

I see, we use a puppet module to set up the tool that manages puppet modules. Seems very complicated compared to what I've been doing with librarian-puppet in the past! Many thanks.

Alex Harvey gravatar imageAlex Harvey ( 2015-12-16 00:20:10 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2015-12-09 20:15:31 -0600

Seen: 216 times

Last updated: Dec 15 '15