Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does this module support Puppetfile? #40

Closed
vchepkov opened this issue Apr 5, 2014 · 2 comments
Closed

does this module support Puppetfile? #40

vchepkov opened this issue Apr 5, 2014 · 2 comments

Comments

@vchepkov
Copy link
Contributor

vchepkov commented Apr 5, 2014

It's either this module doesn't support Puppetfile or I am doing something wrong:

r10k puppetfile check --trace --verbose

Is silent

install command fails with --verbose:

# r10k puppetfile install --trace --verbose

Error while running: #<RuntimeError: Unrecognized options: verbose>
/opt/puppet/lib/ruby/gems/1.9.1/gems/r10k-1.1.0/lib/r10k/task_runner.rb:18:in `initialize'
/opt/puppet/lib/ruby/gems/1.9.1/gems/r10k-1.1.0/lib/r10k/cli/puppetfile.rb:40:in `new'
/opt/puppet/lib/ruby/gems/1.9.1/gems/r10k-1.1.0/lib/r10k/cli/puppetfile.rb:40:in `block (2 levels) in command'
/opt/puppet/lib/ruby/gems/1.9.1/gems/cri-2.4.1/lib/cri/command.rb:298:in `call'
/opt/puppet/lib/ruby/gems/1.9.1/gems/cri-2.4.1/lib/cri/command.rb:298:in `run_this'
/opt/puppet/lib/ruby/gems/1.9.1/gems/cri-2.4.1/lib/cri/command.rb:251:in `run'
/opt/puppet/lib/ruby/gems/1.9.1/gems/cri-2.4.1/lib/cri/command.rb:264:in `run'
/opt/puppet/lib/ruby/gems/1.9.1/gems/cri-2.4.1/lib/cri/command.rb:264:in `run'
/opt/puppet/lib/ruby/gems/1.9.1/gems/r10k-1.1.0/bin/r10k:7:in `<top (required)>'
/usr/bin/r10k:23:in `load'
/usr/bin/r10k:23:in `<main>'

Without --verbose it still does nothing either.

If it can't find what it's looking for, shouldn't verbose or trace output at least something?

Here is my Puppetfile, for reference

mod "vchepkov/puppetlabs-mysql", 
  :git => "git://github.com/vchepkov/puppetlabs-mysql.git",
  :ref => 'percona'

Thanks,
Vadym

@acidprime
Copy link
Collaborator

@vchepkov your syntax is incorrect in Puppetfile:

[root@puppet tmp]# cat Puppetfile
mod 'mysql',
  :git => 'git@github.com:vchepkov/puppetlabs-mysql.git',
  :ref => 'percona'
[root@puppet tmp]# r10k puppetfile install
[root@puppet tmp]# ls -l ./modules/
total 4
drwxr-xr-x. 9 root root 4096 Apr  5 09:09 mysql
[root@puppet tmp]# gem list r10k

*** LOCAL GEMS ***

r10k (1.1.0)
[root@puppet tmp]#

@acidprime
Copy link
Collaborator

@vchepkov also I would file a bug on the main r10k project here that it causes silent failures if you have solidus in the name of a git module, that syntax is when you use the forge functionality of r10k and should error out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants