boxen / our-boxen

Copy me for your team.
https://github.com/boxen/our-boxen/
MIT License
2.58k stars 882 forks source link

Error while fetching repos #728

Closed TetAlius closed 9 years ago

TetAlius commented 9 years ago

Hi,

When I modify the "our-boxen" repo and add other puppet modules from boxes I always get the next message:

Error fetching https://api.github.com/repos/boxen/puppet-virtualbox1.0.13/tags?page=1&per_page=100&access_token=b4d1321dba7267584739388da761da99623bcb42: [404] Not Found

It has happened with github_for_mac also

I don't know what I am doing wrong.

Thanks, Marta.

rafaelfranca commented 9 years ago

This URL seems wrong. Could you post your Puppetfile content?

TetAlius commented 9 years ago

Here it is:

# This file manages Puppet module dependencies.
#
# It works a lot like Bundler. We provide some core modules by
# default. This ensures at least the ability to construct a basic
# environment.

# Shortcut for a module from GitHub's boxen organization
def github(name, *args)
  options ||= if args.last.is_a? Hash
    args.last
  else
    {}
  end

  if path = options.delete(:path)
    mod name, :path => path
  else
    version = args.first
    options[:repo] ||= "boxen/puppet-#{name}"
    mod name, version, :github_tarball => options[:repo]
  end
end

# Shortcut for a module under development
def dev(name, *args)
  mod "puppet-#{name}", :path => "#{ENV['HOME']}/src/boxen/puppet-#{name}"
end

# Includes many of our custom types and providers, as well as global
# config. Required.

github "boxen", "3.10.2"

# Support for default hiera data in modules

github "module_data", "0.0.3", :repo => "ripienaar/puppet-module-data"

# Core modules for a basic development environment. You can replace
# some/most of these if you want, but it's not recommended.

github "brewcask",    "0.0.6"
github "dnsmasq",     "2.0.1"
github "foreman",     "1.2.0"
github "gcc",         "2.2.0"
github "git",         "2.7.6"
github "go",          "2.1.0"
github "homebrew",    "1.11.2"
github "hub",         "1.4.0"
github "inifile",     "1.1.1", :repo => "puppetlabs/puppetlabs-inifile"
github "nginx",       "1.4.4"
github "nodejs",      "4.0.0"
github "openssl",     "1.0.0"
github "phantomjs",   "2.3.0"
github "pkgconfig",   "1.0.0"
github "repository",  "2.3.0"
github "ruby",        "8.1.7"
github "stdlib",      "4.2.1", :repo => "puppetlabs/puppetlabs-stdlib"
github "sudo",        "1.0.0"
github "xquartz",     "1.2.1"
# Optional/custom modules. There are tons available at
# https://github.com/boxen.
github "chrome",          "1.2.0"
github "firefox",            "1.2.3"
github "osx",                 "2.8.0"
github "spectacle",        "1.0.0"
github "vagrant",          "3.2.0"
github "virtualbox"       "1.0.13"
rafaelfranca commented 9 years ago

It is missing a , after "virtualbox".