Giter VIP home page Giter VIP logo

puppet-git's Introduction

Git Puppet Module for Boxen

Build Status

Install Git, a stupid content tracker.

Usage

include git

git::config::local { 'repo_specific_email':
  ensure => present,
  repo   => '/path/to/my/repo',
  key    => 'user.email',
  value  => '[email protected]'
}

git::config::global { 'user.email':
  value  => '[email protected]'
}

Required Puppet Modules

  • boxen
  • homebrew
  • ini_setting

Development

Write code. Run script/cibuild to test it. Check the script directory for other useful tools.

Hiera configuration

The following variables may be automatically overridden with Hiera:

---
git::configdir: "%{::boxen::config::configdir}/git"

git::package: 'boxen/brews/git'
git::version: '1.8.4-boxen2'

git::credentialhelper: "%{::boxen::config::repodir}/script/boxen-git-credential"
git::global_credentialhelper: "%{boxen::config::home}/bin/boxen-git-credential"
git::global_excludesfile: "%{hiera('git::configdir')}/gitignore"

It is required that you include ripienaar/puppet-module-data in your boxen project, as this module now ships with many pre-defined configurations in the data/ directory. With this module included, those definitions will be automatically loaded, but can be overridden easily in your own hierarchy.

You can also use JSON if your Hiera is configured for that.

puppet-git's People

Contributors

bleything avatar britto avatar craigw avatar createdbypete avatar dgoodlad avatar dishwasha avatar dlackty avatar erichkist avatar fromonesrc avatar herkolategan avatar jacobbednarz avatar jbarnette avatar jspahrsummers avatar lucasmazza avatar mikemcquaid avatar mroth avatar n0ts avatar nickogi avatar orien avatar pfista avatar radeksimko avatar rafaelfranca avatar rhoml avatar seanknox avatar sr avatar tarebyte avatar timtim123456 avatar webflo avatar wfarr avatar zerowidth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

puppet-git's Issues

How do I modify or append to the generated gitignore file?

Having trouble managing global excludes files with Boxen which defines this in ~/.gitconfig and overrides the following each time boxen command runs:

[core]
  excludesfile = /opt/boxen/config/git/gitignore

I am having trouble figuring out how to modify or append lines to this file in my personal manifest. Any help or suggestions would be appreciated!

Boxen git build fails to clone over HTTPS

I'm having some real difficulty with the boxen build of git, which appears to be broken when it comes to cloning via HTTPS. Steps to reproduce shown below:

~ » boxen --env
BOXEN_BIN_DIR=/opt/boxen/bin
BOXEN_CONFIG_DIR=/opt/boxen/config
BOXEN_DATA_DIR=/opt/boxen/data
BOXEN_ENV_DIR=/opt/boxen/env.d
BOXEN_GITHUB_LOGIN=nickstenning
BOXEN_HOME=/opt/boxen
BOXEN_LOG_DIR=/opt/boxen/log
BOXEN_NVM_DEFAULT_VERSION=v0.8
BOXEN_NVM_DIR=/opt/boxen/nvm
BOXEN_SETUP_VERSION=1af2964
BOXEN_SOCKET_DIR=/opt/boxen/data/project-sockets
BOXEN_SRC_DIR=/Users/<REDACTED>

$ /opt/boxen/homebrew/bin/git --version
git version 1.8.0
$ /opt/boxen/homebrew/bin/git clone 'https://github.com/rtomayko/tilt.git' boxen-git-tilt
Cloning into 'boxen-git-tilt'...
error: Failed to connect to 207.97.227.239: Host is down while accessing https://github.com/rtomayko/tilt.git/info/refs?service=git-upload-pack
fatal: HTTP request failed

$ /opt/boxen/homebrew/Cellar/git/1.8.1.3/bin/git --version
git version 1.8.1.3
$ /opt/boxen/homebrew/Cellar/git/1.8.1.3/bin/git clone 'https://github.com/rtomayko/tilt.git' homebrew-git-tilt
Cloning into 'homebrew-git-tilt'...
remote: Counting objects: 2073, done.
remote: Compressing objects: 100% (708/708), done.
remote: Total 2073 (delta 1298), reused 1920 (delta 1164)
Receiving objects: 100% (2073/2073), 283.65 KiB | 332 KiB/s, done.
Resolving deltas: 100% (1298/1298), done.

$ /usr/bin/git --version
git version 1.7.12.4 (Apple Git-37)
$ /usr/bin/git clone 'https://github.com/rtomayko/tilt.git' mac-git-tilt
Cloning into 'mac-git-tilt'...
remote: Counting objects: 2073, done.
remote: Compressing objects: 100% (708/708), done.
remote: Total 2073 (delta 1298), reused 1920 (delta 1164)
Receiving objects: 100% (2073/2073), 283.65 KiB | 399 KiB/s, done.
Resolving deltas: 100% (1298/1298), done.

I don't really know where to look for places to debug this, as git clone -vvv doesn't appear to tell me any more about what's happening here.

No such file or directory `/opt/boxen/homebrew/bin/git-credential-osxkeychain`

I use boxen with homebrew installed to /usr/local with the following config in facts.d/homebrew_root.yaml:

---
homebrew_root: /usr/local

When I run a git push I get the following Ruby exception:

/opt/boxen/repo/.bundle/ruby/2.0.0/gems/open4-1.3.4/lib/open4.rb:37:in `exec': No such file or directory - /opt/boxen/homebrew/bin/git-credential-osxkeychain (Errno::ENOENT)
    from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/open4-1.3.4/lib/open4.rb:37:in `block in popen4'
    from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/open4-1.3.4/lib/open4.rb:85:in `call'
    from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/open4-1.3.4/lib/open4.rb:85:in `block in do_popen'
    from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/open4-1.3.4/lib/open4.rb:62:in `fork'
    from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/open4-1.3.4/lib/open4.rb:62:in `do_popen'
    from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/open4-1.3.4/lib/open4.rb:34:in `popen4'
    from /opt/boxen/bin/boxen-git-credential:45:in `<main>'

On my system git-credential-osxkeychain is installed to:

$ which git-credential-osxkeychain
/usr/local/bin/git-credential-osxkeychain

I think the offender are lines 42/43 in /opt/boxen/bin/boxen-git-credential:

  fallback   = ENV["BOXEN_GIT_CREDENTIAL_FALLBACK"]
  fallback ||= "#{config.homedir}/homebrew/bin/git-credential-osxkeychain"

I cannot even get it to work when I export BOXEN_GIT_CREDENTIAL_FALLBACK=/usr/local/bin/git-credential-osxkeychain before I run git push.

Update git to at least 2.13.5

Ya'll probably know about this, but git 2.13.5 is a security patch for a nasty vulnerability. It'd be great to get the version updated fairly rapidly.

I'm happy to help, but I'm not quite sure on where to start.

Git trying to downgrade?

I'm using release 2.2.1 and when I run Boxen after a completed install I get the following error message.

Error: Could not update: Execution of 'brew boxen-upgrade git' returned 1: Error: git-1.9.1 already installed

Error: /Stage[main]/Git/Package[git]/ensure: change from 1.9.1 to 1.8.4-boxen2 failed: Could not update: Execution of 'brew boxen-upgrade git' returned 1: Error: git-1.9.1 already installed

Any idea as to why this could be happening?

Trying to reference non-existent facts

Inside init.pp, we're checking for the existence of the gname and gemail facts before setting them as the relevant git configuration values. Looking through the main boxen repositories, it seems like these facts don't get set. Should they be referencing the github_name and github_email facts?

# manifests/init.pp:#L60-L70
if $::gname {
  git::config::global{ 'user.name':
    value => $::gname
  }
}

if $::gemail {
  git::config::global{ 'user.email':
    value => $::gemail
  }
}

The code is here.

I'm more than happy to create a PR for this if needs be.

Overzealous matching in .gitignore

I have a path in a project that is being caught by the global gitignore paths set in /opt/boxen/config/git/gitignore.

My path is public/static/font/icons and seems to be matching the Icons? line, which prevents me from committing changes to files within that directory (without a -f flag).

Can this be changed to something that more closely matches the path it is intending on matching for?

Setting up a global pre-commit hook

Hi @boxen team,

I'm interested in setting up a global pre-commit hook so that everyone automatically has the "check for whitespace and general evil before commiting" hook installed when they setup boxen.

I'm wondering two things:

  1. Do you think that's the right way to handle it? How do you handle pre-commit hooks at GitHub?
  2. Would it make sense, given the way you've designed boxen, for it to be a configurable part of this repo or be a different pupper-* repo that just sets up the hook.

Incorrectly sets complex variables

If you try to set any complex variables using something like the following

git::config::global {
    'color.diff.meta': value => 'yellow bold';
    'color.diff.frag': value => 'magenta bold';
    'color.diff.old': value => 'red bold';
    'color.diff.new': value => 'green bold';
}

the result is mangled in the gitconfig as

[color]
diff = green bold

when it should be

[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold

which then causes any git operations to error as the gitconfig is then malformed.

Hardcoded gitconfig path

Currently /Users/${::boxen_user}/.gitconfig isn't a parameter that can be overwritten.
Can git::config::global take path as a parameter besides value and just default to the above if not specified?

1.2.x introducing failures

hey, i'm trying to update to 1.2.2 but when i change my puppetfile and run boxen, this is what i get:

boxen
Boxen's master branch is out of sync, won't auto-update!
Notice: /Stage[main]/Git/File[/opt/boxen/config/git/gitignore]/content:
--- /opt/boxen/config/git/gitignore 2013-04-22 03:25:26.000000000 +0700
+++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20130422-77671-t6k7gk-0 2013-04-22 04:43:38.000000000 +0700
@@ -9,3 +9,5 @@
 *.swp
 *.swo
 *.orig
+*~
+\#*\#

Notice: /Stage[main]/Git/File[/opt/boxen/config/git/gitignore]/content: content changed '{md5}34a8f27baf398545bcf0b1ca3d4eb374' to '{md5}b7c667256189191ffa4432aeed978ab0'
Notice: /Stage[main]/Git/Homebrew::Formula[git]/File[/opt/boxen/homebrew/Library/Taps/boxen-brews/git.rb]/content:
--- /opt/boxen/homebrew/Library/Taps/boxen-brews/git.rb 2013-04-22 03:33:38.000000000 +0700
+++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20130422-77671-1qcba47- 2013-04-22 04:43:38.000000000 +0700
@@ -1,27 +1,27 @@
 require 'formula'

 class GitManuals < Formula
-  url 'http://git-core.googlecode.com/files/git-manpages-1.8.0.tar.gz'
-  sha1 'a6fa49be36f265e85b7252d36364d4c7f38530ea'
+  url 'http://git-core.googlecode.com/files/git-manpages-1.8.2.tar.gz'
+  sha1 'a10083a2a1fe6b35919fd6765f25dec18f4fa752'
 end

 class GitHtmldocs < Formula
-  url 'http://git-core.googlecode.com/files/git-htmldocs-1.8.0.tar.gz'
-  sha1 '93c860cf4cd26d4b3e269b0903b833db1c1f0f8e'
+  url 'http://git-core.googlecode.com/files/git-htmldocs-1.8.2.tar.gz'
+  sha1 'db1ca968f492f7ad1d4e0c13d07f23c745d10b74'
 end

 class Git < Formula
   homepage 'http://git-scm.com'
-  url 'http://git-core.googlecode.com/files/git-1.8.0.tar.gz'
-  sha1 'a03afc33f8f0723ad12649d79f1e8968526b4bf7'
-  version '1.8.0-boxen1'
+  url 'http://git-core.googlecode.com/files/git-1.8.2.tar.gz'
+  sha1 '42960ec7c2d8404af3d3f6d21f32f1e97e6e0a96'

-  head 'https://github.com/git/git.git'
+  version '1.8.2-boxen1'

-  depends_on 'pcre' if ARGV.include? '--with-pcre'
+  depends_on 'pcre' => :optional

   option 'with-blk-sha1', 'Compile with the block-optimized SHA1 implementation'
-  option 'with-pcre', 'Compile with the PCRE library'
+  option 'without-completions', 'Disable bash/zsh completions from "contrib" directory'
+

   def install
     # If these things are installed, tell Git build system to not use them
@@ -36,9 +36,9 @@
     # Clean XCode 4.x installs don't include Perl MakeMaker
     ENV['NO_PERL_MAKEMAKER'] = '1' if MacOS.version >= :lion

-    ENV['BLK_SHA1'] = '1' if build.include? 'with-blk-sha1'
+    ENV['BLK_SHA1'] = '1' if build.with? 'blk-sha1'

-    if build.include? 'with-pcre'
+    if build.with? 'pcre'
       ENV['USE_LIBPCRE'] = '1'
       ENV['LIBPCREDIR'] = HOMEBREW_PREFIX
     end
@@ -66,10 +66,14 @@
       bin.install 'git-subtree'
     end

-    # install the completion script first because it is inside 'contrib'
-    (prefix+'etc/bash_completion.d').install 'contrib/completion/git-completion.bash'
-    (prefix+'etc/bash_completion.d').install 'contrib/completion/git-prompt.sh'
-    (share+'git-core').install 'contrib'
+    unless build.without? 'completions'
+      # install the completion script first because it is inside 'contrib'
+      bash_completion.install 'contrib/completion/git-completion.bash'
+      bash_completion.install 'contrib/completion/git-prompt.sh'
+
+      zsh_completion.install 'contrib/completion/git-completion.zsh' => '_git'
+      cp "#{bash_completion}/git-completion.bash", zsh_completion
+    end

     # We could build the manpages ourselves, but the build process depends
     # on many other packages, and is somewhat crazy, this way is easier.

Notice: /Stage[main]/Git/Homebrew::Formula[git]/File[/opt/boxen/homebrew/Library/Taps/boxen-brews/git.rb]/content: content changed '{md5}09c62ac89a60bdb1502236cf896d83f8' to '{md5}2234e1040b7446e1a451539146c549b4'
Notice: /Stage[main]/Git/Package[boxen/brews/git]/ensure: ensure changed '1.8.0-boxen1' to '1.8.2-boxen1'
Notice: /Stage[main]/Ruby/Exec[ensure-rbenv-version-v0.4.0]/returns: sh: line 1: 78268 Illegal instruction: 4  git fetch -q origin
Error: git fetch -q origin && git reset --hard v0.4.0 returned 132 instead of one of [0]
Error: /Stage[main]/Ruby/Exec[ensure-rbenv-version-v0.4.0]/returns: change from notrun to 0 failed: git fetch -q origin && git reset --hard v0.4.0 returned 132 instead of one of [0]
Notice: /Stage[main]/Nodejs/Exec[ensure-nodenv-version-v0.2.2]/returns: sh: line 1: 78275 Illegal instruction: 4  git fetch -q origin
Error: git fetch -q origin && git reset --hard v0.2.2 returned 132 instead of one of [0]
Error: /Stage[main]/Nodejs/Exec[ensure-nodenv-version-v0.2.2]/returns: change from notrun to 0 failed: git fetch -q origin && git reset --hard v0.2.2 returned 132 instead of one of [0]
Notice: /Stage[main]/Nodejs::V0_10_3/Nodejs::Version[v0.10.3]/Nodejs[v0.10.3]: Dependency Exec[ensure-nodenv-version-v0.2.2] has failures: true
Warning: /Stage[main]/Nodejs::V0_10_3/Nodejs::Version[v0.10.3]/Nodejs[v0.10.3]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby/Ruby::Plugin[ruby-build]/Exec[ensure-ruby-build-version-v20130408]/returns: sh: line 1: 78282 Illegal instruction: 4  git fetch --quiet origin
Error: git fetch --quiet origin && git reset --hard v20130408 returned 132 instead of one of [0]
Error: /Stage[main]/Ruby/Ruby::Plugin[ruby-build]/Exec[ensure-ruby-build-version-v20130408]/returns: change from notrun to 0 failed: git fetch --quiet origin && git reset --hard v20130408 returned 132 instead of one of [0]
Notice: /Stage[main]/Nodejs::Rehash/Exec[nodenv rehash after nodejs install]: Dependency Exec[ensure-nodenv-version-v0.2.2] has failures: true
Warning: /Stage[main]/Nodejs::Rehash/Exec[nodenv rehash after nodejs install]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby/Exec[rbenv-rehash-post-install]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Warning: /Stage[main]/Ruby/Exec[rbenv-rehash-post-install]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::2_0_0_p0/Ruby::Version[2.0.0-p0]/Exec[ruby-install-2.0.0-p0]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::2_0_0_p0/Ruby::Version[2.0.0-p0]/Exec[ruby-install-2.0.0-p0]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::2_0_0_p0/Ruby::Version[2.0.0-p0]/Exec[ruby-install-2.0.0-p0]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_9_3_p392/Ruby::Version[1.9.3-p392]/Exec[ruby-install-1.9.3-p392]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::1_9_3_p392/Ruby::Version[1.9.3-p392]/Exec[ruby-install-1.9.3-p392]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::1_9_3_p392/Ruby::Version[1.9.3-p392]/Exec[ruby-install-1.9.3-p392]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_9_3_p392/Ruby::Version[1.9.3-p392]/Ruby::Gem[rbenv-autohash for 1.9.3-p392]/Rbenv_gem[rbenv-autohash for 1.9.3-p392]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::1_9_3_p392/Ruby::Version[1.9.3-p392]/Ruby::Gem[rbenv-autohash for 1.9.3-p392]/Rbenv_gem[rbenv-autohash for 1.9.3-p392]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::1_9_3_p392/Ruby::Version[1.9.3-p392]/Ruby::Gem[rbenv-autohash for 1.9.3-p392]/Rbenv_gem[rbenv-autohash for 1.9.3-p392]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_9_3_p392/Ruby::Version[1.9.3-p392]/Ruby::Gem[bundler for 1.9.3-p392]/Rbenv_gem[bundler for 1.9.3-p392]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::1_9_3_p392/Ruby::Version[1.9.3-p392]/Ruby::Gem[bundler for 1.9.3-p392]/Rbenv_gem[bundler for 1.9.3-p392]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::1_9_3_p392/Ruby::Version[1.9.3-p392]/Ruby::Gem[bundler for 1.9.3-p392]/Rbenv_gem[bundler for 1.9.3-p392]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_8_7_p358/Ruby::Version[1.8.7-p358]/Exec[ruby-install-1.8.7-p358]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::1_8_7_p358/Ruby::Version[1.8.7-p358]/Exec[ruby-install-1.8.7-p358]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::1_8_7_p358/Ruby::Version[1.8.7-p358]/Exec[ruby-install-1.8.7-p358]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_8_7_p358/Ruby::Version[1.8.7-p358]/Ruby::Gem[rbenv-autohash for 1.8.7-p358]/Rbenv_gem[rbenv-autohash for 1.8.7-p358]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::1_8_7_p358/Ruby::Version[1.8.7-p358]/Ruby::Gem[rbenv-autohash for 1.8.7-p358]/Rbenv_gem[rbenv-autohash for 1.8.7-p358]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::1_8_7_p358/Ruby::Version[1.8.7-p358]/Ruby::Gem[rbenv-autohash for 1.8.7-p358]/Rbenv_gem[rbenv-autohash for 1.8.7-p358]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::2_0_0_p0/Ruby::Version[2.0.0-p0]/Ruby::Gem[rbenv-autohash for 2.0.0-p0]/Rbenv_gem[rbenv-autohash for 2.0.0-p0]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::2_0_0_p0/Ruby::Version[2.0.0-p0]/Ruby::Gem[rbenv-autohash for 2.0.0-p0]/Rbenv_gem[rbenv-autohash for 2.0.0-p0]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::2_0_0_p0/Ruby::Version[2.0.0-p0]/Ruby::Gem[rbenv-autohash for 2.0.0-p0]/Rbenv_gem[rbenv-autohash for 2.0.0-p0]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_9_2_p320/Ruby::Version[1.9.2-p320]/Exec[ruby-install-1.9.2-p320]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::1_9_2_p320/Ruby::Version[1.9.2-p320]/Exec[ruby-install-1.9.2-p320]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::1_9_2_p320/Ruby::Version[1.9.2-p320]/Exec[ruby-install-1.9.2-p320]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_9_2_p320/Ruby::Version[1.9.2-p320]/Ruby::Gem[rbenv-autohash for 1.9.2-p320]/Rbenv_gem[rbenv-autohash for 1.9.2-p320]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::1_9_2_p320/Ruby::Version[1.9.2-p320]/Ruby::Gem[rbenv-autohash for 1.9.2-p320]/Rbenv_gem[rbenv-autohash for 1.9.2-p320]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::1_9_2_p320/Ruby::Version[1.9.2-p320]/Ruby::Gem[rbenv-autohash for 1.9.2-p320]/Rbenv_gem[rbenv-autohash for 1.9.2-p320]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_8_7_p358/Ruby::Version[1.8.7-p358]/Ruby::Gem[bundler for 1.8.7-p358]/Rbenv_gem[bundler for 1.8.7-p358]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::1_8_7_p358/Ruby::Version[1.8.7-p358]/Ruby::Gem[bundler for 1.8.7-p358]/Rbenv_gem[bundler for 1.8.7-p358]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::1_8_7_p358/Ruby::Version[1.8.7-p358]/Ruby::Gem[bundler for 1.8.7-p358]/Rbenv_gem[bundler for 1.8.7-p358]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_8_7/File[/opt/boxen/rbenv/versions/1.8.7]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Notice: /Stage[main]/Ruby::1_8_7/File[/opt/boxen/rbenv/versions/1.8.7]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Warning: /Stage[main]/Ruby::1_8_7/File[/opt/boxen/rbenv/versions/1.8.7]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_9_3/File[/opt/boxen/rbenv/versions/1.9.3]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Notice: /Stage[main]/Ruby::1_9_3/File[/opt/boxen/rbenv/versions/1.9.3]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Warning: /Stage[main]/Ruby::1_9_3/File[/opt/boxen/rbenv/versions/1.9.3]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::2_0_0_p0/Ruby::Version[2.0.0-p0]/Ruby::Gem[bundler for 2.0.0-p0]/Rbenv_gem[bundler for 2.0.0-p0]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::2_0_0_p0/Ruby::Version[2.0.0-p0]/Ruby::Gem[bundler for 2.0.0-p0]/Rbenv_gem[bundler for 2.0.0-p0]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::2_0_0_p0/Ruby::Version[2.0.0-p0]/Ruby::Gem[bundler for 2.0.0-p0]/Rbenv_gem[bundler for 2.0.0-p0]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::2_0_0/File[/opt/boxen/rbenv/versions/2.0.0]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Notice: /Stage[main]/Ruby::2_0_0/File[/opt/boxen/rbenv/versions/2.0.0]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Warning: /Stage[main]/Ruby::2_0_0/File[/opt/boxen/rbenv/versions/2.0.0]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_9_2_p320/Ruby::Version[1.9.2-p320]/Ruby::Gem[bundler for 1.9.2-p320]/Rbenv_gem[bundler for 1.9.2-p320]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Notice: /Stage[main]/Ruby::1_9_2_p320/Ruby::Version[1.9.2-p320]/Ruby::Gem[bundler for 1.9.2-p320]/Rbenv_gem[bundler for 1.9.2-p320]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Warning: /Stage[main]/Ruby::1_9_2_p320/Ruby::Version[1.9.2-p320]/Ruby::Gem[bundler for 1.9.2-p320]/Rbenv_gem[bundler for 1.9.2-p320]: Skipping because of failed dependencies
Notice: /Stage[main]/Ruby::1_9_2/File[/opt/boxen/rbenv/versions/1.9.2]: Dependency Exec[ensure-ruby-build-version-v20130408] has failures: true
Notice: /Stage[main]/Ruby::1_9_2/File[/opt/boxen/rbenv/versions/1.9.2]: Dependency Exec[ensure-rbenv-version-v0.4.0] has failures: true
Warning: /Stage[main]/Ruby::1_9_2/File[/opt/boxen/rbenv/versions/1.9.2]: Skipping because of failed dependencies

duplicated git configs

Not sure if I am doing it wrong, here is the section of my njia.pp

  'color "status".untracked': value => 'cyan';
  'color "status".branch':    value => 'magenta';
  'color "branch".current':   value => 'magenta';
  'color "branch".local':     value => 'green';
  'color "branch".remote':    value => 'yellow';

when I run boxen, Boxen added these settings individually, and they are added every time I run boxed.

For example I just run boxen twice in a row and I have following settings in my .gitconfig file

[color "branch"]
local = green

[color "branch"]
current = magenta

[color "status"]
branch = magenta

[color "branch"]
remote = yellow

[color "status"]
untracked = cyan

[color "branch"]
local = green

[color "branch"]
current = magenta

[color "status"]
branch = magenta

[color "branch"]
remote = yellow

[color "status"]
untracked = cyan

Override core.excludesfile

Is there a way one can override/reset the core.excludesfile config? I got a custom one I'd like to keep and haven't found a way to do so. I'm not very familiar with Puppet, so any advise on how to solve this the best way is very appreciated. Thanks!

Error: git 2.2.1 already installed

Bootstrap failing with latest boxen on pristine OS X 10.10 install:

Error: /Stage[main]/Git/Package[boxen/brews/git]/ensure: change from 2.2.1 to 2.1.4-boxen1 failed: Could not update: Execution of 'brew boxen-upgrade boxen/brews/git' returned 1: Error: git 2.2.1 already installed

Which cascades to

Warning: /Stage[main]/Boxen::Repo/Exec[clone /opt/boxen/repo]: Skipping because of failed dependencies

Open new Terminal when bootstrapping finishes and unsurprisingly:

Last login: Tue Jan  6 22:22:53 on ttys001
Boxen could not load properly!
resolute-tumbrel-6808:~ toolbear$ 

Steps to Reproduce

  1. clean install Yosemite (10.10.1)
  2. install Xcode from App Store
  3. bootstrap boxen (boxen/our-boxen@45fa8853) via curl/bash command provided by boxen-web (boxen/boxen-web@adea460d)

Minimal changes in my toolbear-boxen (our-boxen fork):

  • /usr/local for homebrew_root
  • a package (tree) and two apps (Dropbox, 1Password) in hiera/users/toolbear.yaml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.