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

Wiki Tutorial issue #275

Closed
myoung34 opened this issue May 22, 2014 · 4 comments
Closed

Wiki Tutorial issue #275

myoung34 opened this issue May 22, 2014 · 4 comments

Comments

@myoung34
Copy link
Contributor

On the tutorial for writing a module test, there's an issue.

If you use this nodeset:

--- 
CONFIG: 
  consoleport: 443 
  nfs_server: none
HOSTS: 
  ubuntu-10-04-4-x64-master: 
    box: ubuntu-server-10044-x64-vbox4210
    box_url: "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210.box"
    hypervisor: vagrant
    ip: "192.168.20.20"
    platform: ubuntu-10.04-amd64
    roles: 
      - master
      - agent
      - dashboard
      - database

When you run rspec, the command on host, 'gem install puppet --no-ri --no-rdoc', it will fail on the above host with an error about the net/https gemfile missing. The fix is to install libopenssl-ruby. I would make this wiki change, but it wouldn't work for RHEL hosts for sure. But the tutorial does not work as-is and might be confusing to others.

@electrical
Copy link
Contributor

Interesting. im running my tests from an ubuntu host and never seen that issue at all.

@myoung34
Copy link
Contributor Author

It might be the version of Ubuntu/That box. I abandoned it because puppet --version mid run showed 0.25.4, so I changed default.yml to a centos-64 machine.

@anodelman
Copy link
Contributor

Well, it should also be using the -nocm box so that it doesn't have puppet pre-installed, though that shouldn't be generating this error.

@anodelman
Copy link
Contributor

I don't see your example node file on the wiki?

I believe that we only refer to -nocm boxes.

Re-open if you have further issues.

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

3 participants