Comments (12)
This is now implemented and released in version 1.38.1.
You can specify in modules_path parameter multiple directories
modules_path: 'directory_a:directory_b:directory_c'
and we now just merge all the contents of the directories into one modules folder.
we assume all the modules in all the directories have different name.
closed.
from kitchen-puppet.
This should be fairly straightforward to accomplish.
Here we set the directory for the modules that need to be copied into the puppet sandbox. https://github.com/neillturner/kitchen-puppet/blob/master/lib/kitchen/provisioner/puppet_apply.rb#L571
Shouldn't be a problem to turn this into a list of modules that are copied into the sandbox modules directory.
from kitchen-puppet.
I'm sorry that I can't help, because my knowledge of the ruby is quite limited, slowly learning how it works, and the syntax is a bit different to the things I'm used to :)
from kitchen-puppet.
Ah not a problem at all!! :)
Was merely documenting for my own knowledge when I get back to triage this issue. Sorry for implying that you would be responsible for a fix
from kitchen-puppet.
Actually recently I feel the increasing urge to learn ruby to be able to commit more to the project, mainly because of the puppet/chef and other tools that are ruby-based. Unfortnately right now I don't have time to focus on this, but maybe around Christmas there will be some spare time :)
from kitchen-puppet.
haha I know the feeling. I have next week off on vacation and am hoping to spend some time triaging a few of these issues in kitchen-puppet. :)
from kitchen-puppet.
Hah, don't. Go for vacation somwhere without access to the computers. I know that feeling, it's contagious! :D
from kitchen-puppet.
@grubernaut Did you have the chance to look at this feature? I tried to implement it myself without luck. My ruby skills are not very sophisticated. ;)
from kitchen-puppet.
ok i will try and find some time to implement.
from kitchen-puppet.
Thanks Neill. Please let me know if I can help in any way. I'm curious to see the code to learn where I failed.
from kitchen-puppet.
a question if you have multiple modules directories say A B and C
is it ok to just merge all the contents into one modules folder as that is effectively what librarian-puppet does. This assumes all the modules are unique over all the module folders. This would be a very straightforward implementation.
otherwise i need to create a multiple multiple folders:
modules_A
modules_B
modules_C
from kitchen-puppet.
For me the separation is just a kind of abstraction. I have a directory called legacy to hold old and unsupported modules. The main modules directory managed by r10k. And a site directory with the roles and profiles "modules". So I wouldn't mind if the content is in one modules directory.
from kitchen-puppet.
Related Issues (20)
- Disable site.pp as default config for manifest in puppet_apply HOT 2
- Passing custom facts to provisioner that has a hash results in garbage values HOT 1
- No example of facter_file HOT 3
- dependency problems HOT 2
- sync environments dir HOT 3
- exported resources/storeconfigs HOT 1
- Don't copy unneeded files when testing a Puppet module HOT 2
- weird interaction with hiera? HOT 1
- Make puppet_coll_remote_path useable with require_puppet_collections == false HOT 4
- Running specific modules by overriding in command line HOT 1
- fixtures for rspec-puppet cause recursive copy during transferring files stage HOT 1
- puppet release package has been removed from repo HOT 2
- faraday gem conflict - how can I resolve this? HOT 2
- Allow test-kitchen 2.0.0 HOT 2
- puppet collections repo is incorrect HOT 1
- Puppet command not found error HOT 2
- Support for hiera_writer_files on different levels
- apt-transport-https missing HOT 1
- nil `basedir` when instantiating R10K::Puppetfile HOT 1
- How could I upgrade ruby version 2.3 inside puppet agent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitchen-puppet.