Comments (3)
well it is just a plugin to test kitchen (it only was 3 days work to
write!) so test kitchen is doing copying of files to the server etc, so
don't have much control over those things. i don't really understand what
you mean by the module. the code is pretty simple so you can try and
implement your requirement. if you explain it to me i maybe able to tell
you if it is possible from my understanding of test kitchen.
On 15 May 2014 16:56, Edmund Haselwanter [email protected] wrote:
Hi,
First of all: Thank you @neillturner https://github.com/neillturner for
running ahead with this very valuable plugin. We (
http://telekomlabs.github.io) started to use it and definitely want to
give it some love, or help push it into test-kitchen core.To get parity I would love to see something like
puppet
self_as_module: truewhich puts the repo itself as a module on the target node and just copies
the specified manifest to run to the target manifest folder.What do you think? Is there another option to accomplish this?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/10
.
from kitchen-puppet.
well. lets look at an example
https://github.com/TelekomLabs/puppet-os-hardening
this repo IS a puppet module. to test it I would like to puppet-apply the provided class with a manifest file again IN this puppet module.
https://github.com/TelekomLabs/puppet-os-hardening/blob/master/manifests/site.pp
provisioner:
name: puppet_apply
manifests_path: manifests
modules_path: modules
hiera_data_path: hieradata
manifest: site.pp
running kitchen converge
or other converge including kitchen command will then tell me:
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class os_hardening at /tmp/kitchen/manifests/site.pp:1 on node default-ubuntu-1204
because it wants to use puppet-os-hardening as a module but does not find it on the node in the modules folder.
so my question was: how do you deal with this
a) I just run manifests that use modules defined by the Puppetfile
b) I develop a module and what to test it in the same repo with kitchen
if I publish the module and include it in b) it works but that is not the intended test/verify cycle ;-)
- Edmund
from kitchen-puppet.
closed by #11
from kitchen-puppet.
Related Issues (20)
- 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
- debug? 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.