Comments (5)
Pardon the slow response; I just discovered that I wasn't watching a bunch of my own repositories. I'll be reviewing this shortly. Thanks!
from r10k.
@justinstoller could you provide the output of the command that fails with the --trace
flag and attach the output here?
from r10k.
vv% bundle exec r10k -c r10k.yaml environment deploy master --trace
Runtime error: #<RuntimeError: Module fiddyspence/sysctl with args [] doesn't have an implementation. (Are you using the right arguments?)>
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/r10k-0.0.9/lib/r10k/module.rb:29:in `new'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/r10k-0.0.9/lib/r10k/root.rb:52:in `modules'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/r10k-0.0.9/lib/r10k/root.rb:49:in `map'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/r10k-0.0.9/lib/r10k/root.rb:49:in `modules'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/r10k-0.0.9/lib/r10k/root.rb:39:in `sync_modules!'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/r10k-0.0.9/lib/r10k/root.rb:35:in `sync!'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/r10k-0.0.9/lib/r10k/action/environment.rb:32:in `call'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/middleware-0.1.0/lib/middleware/runner.rb:31:in `call'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/middleware-0.1.0/lib/middleware/builder.rb:102:in `call'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/r10k-0.0.9/lib/r10k/cli/environment/deploy.rb:42:in `command'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/cri-2.3.0/lib/cri/command.rb:296:in `call'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/cri-2.3.0/lib/cri/command.rb:296:in `run_this'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/cri-2.3.0/lib/cri/command.rb:249:in `run'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/cri-2.3.0/lib/cri/command.rb:262:in `run'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/gems/r10k-0.0.9/bin/r10k:7
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/bin/r10k:19:in `load'
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/bin/r10k:19
/Users/hunner/.rvm/gems/ree-1.8.7-2010.02/bin/ruby_noexec_wrapper:14
The module file contains
forge "http://forge.puppetlabs.com"
mod 'fiddyspence/sysctl'
# [...]
from r10k.
The Puppetfile syntax is really loose, so I have to detect what sort of back end to use. For instance, the Forge detection (https://github.com/adrienthebo/r10k/blob/master/lib/r10k/module/forge.rb#L13) will respond to mod 'module/name', 'version'
, and the version argument is mandatory. Would it be better to check the name for 'one/two' and if no version is given, then try to get it from the Forge?
from r10k.
This seems to be the same issue as GH-21; I'm going to close this and move the discussion to that ticket.
from r10k.
Related Issues (20)
- Require docker image for ARM64 platform HOT 3
- rugged segmentation fault HOT 2
- environment_name is undocumented HOT 5
- Pass changed modules list into the postrun command HOT 6
- Setting install_path on a module in an environment source errors
- Tarball module content will be unpacked into an subdirectory with tarball name HOT 2
- R10k canβt be installed with Ruby 3.x HOT 6
- Add a TOC to the configuration doc
- svn doesn't work any more HOT 5
- Yaml environments fails to deploy banch when commit sha is a number HOT 1
- r10k gem fails to install on windows without admin or Create symbolic links user rights HOT 2
- R10k should be able to use bare Git repository without authentication as conrol_repo HOT 4
- R10k container - cannot generate types (missing puppet binary) HOT 1
- $modifiedenvs does not pass environment to postrun hook on deletion HOT 1
- r10k should not depend on gettext as a runtime dependency HOT 1
- r10k puppetfile install fails with "ERROR -> wrong number of arguments (given 2, expected 1)" when pool_size set to 1 HOT 1
- Not sure about the hiera.yaml statement in common-patterns HOT 2
- Allow override of exclude_spec option with puppetfile install subcommand HOT 1
- r10k gem is not compatible with faraday 2.9.0 HOT 2
- environment deployments: postrun $modifiedenvs lists all environments rather than only those modified 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 r10k.