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

Git-based module with :ref=>"master" doesn't grab most current copy of code #141

Closed
pydolan opened this issue Nov 11, 2013 · 5 comments
Closed

Comments

@pydolan
Copy link

pydolan commented Nov 11, 2013

With Librarian v0.9.10, I tried grabbing puppetlabs/apt from Github so that I could get a newer feature that hasn't made it into a tagged release yet, but when I try :ref=>'master', it seems to grab the last tagged version, thus not including my code.

Here's my Puppetfile entry:
mod "apt",
:git => "https://github.com/puppetlabs/puppetlabs-apt.git",
:ref => 'master'

Note: the workaround I did was use the SHA of the latest commit for this project (:ref=>'a350da76046b2d42f73ff6aed566adce1f13ff01'), which is probably a safer approach than using 'master'; however, I'm assuming this isn't the intended behavior of specifying a branch as ref. If it is intended, maybe update the documentation?

@pydolan
Copy link
Author

pydolan commented Nov 13, 2013

I noticed some inconsistent behavior with my "workaround", where it was also downloading an older version of puppetlabs-apt. I did switch to using "git://" instead of "https://" for my path, hoping that might play a role, and also removed some unused modules from my Puppetfile; now it is grabbing the latest code form the master branch.

Can anyone think of an explanation for why I'd experience this inconsistent behavior?

I'll leave this bug open for now, as maybe there is something here that needs addressing. Let me know what others are thinking.

@pydolan
Copy link
Author

pydolan commented Dec 7, 2013

I can't make head's or tail's of this problem I've described. It happens quite randomly from what I'm seeing: I startup several new VM's via Vagrant, all with the same Puppet manifests, and some will download puppetlabs-apt from my repo and other servers will download from PuppetLabs's repo.

Here is my Puppetfile:

forge 'http://forge.puppetlabs.com'

mod 'puppetlabs/concat', '1.0.0'
mod 'puppetlabs/stdlib', '4.1.0'

mod 'apt',
  :git => 'git://github.com/pydolan/puppetlabs-apt.git',
  :ref => '1.4.1'

mod 'puppetlabs/ntp', '2.0.1'
mod 'puppetlabs/firewall', '0.4.2'
mod 'puppetlabs/inifile', '1.0.0'
mod 'puppetlabs/ruby', '0.1.0'

mod 'nanliu/staging', '0.3.1'
mod 'puppetlabs/java', '1.0.1'
mod 'puppetlabs/java_ks', '1.2.0'

mod 'cloudera',
  :git => 'git://github.com/pydolan/puppet-cloudera.git',
  :ref => 'ubuntu-support'

Here is my Librarian output:

[Librarian] Ruby Version: 1.8.7
[Librarian] Ruby Platform: x86_64-linux
[Librarian] Rubygems Version: 2.1.11
[Librarian] Librarian Version: 0.0.24
[Librarian] Librarian Adapter: puppet
[Librarian] Project: /etc/puppet
[Librarian] Specfile: Puppetfile
[Librarian] Lockfile: Puppetfile.lock
[Librarian] Git: /usr/bin/git
[Librarian] Git Version: git version 1.7.9.5
[Librarian] Git Environment Variables:
[Librarian]   (empty)
[Librarian] Pre-Cached Sources:
[Librarian] Post-Cached Sources:
[Librarian]   [:git, "git://github.com/pydolan/puppet-cloudera.git", {:ref=>"ubuntu-support"}]
[Librarian]   [:git, "git://github.com/pydolan/puppetlabs-apt.git", {:ref=>"1.4.1"}]
[Librarian]   [:forge, "http://forge.puppetlabs.com", {}]
[Librarian] Scheduling puppetlabs/concat (= 1.0.0) <http://forge.puppetlabs.com>
[Librarian] Scheduling puppetlabs/stdlib (= 4.1.0) <http://forge.puppetlabs.com>
[Librarian] Scheduling apt (>= 0) <git://github.com/pydolan/puppetlabs-apt.git#1.4.1>
[Librarian] Scheduling puppetlabs/ntp (= 2.0.1) <http://forge.puppetlabs.com>
[Librarian] Scheduling puppetlabs/firewall (= 0.4.2) <http://forge.puppetlabs.com>
[Librarian] Scheduling puppetlabs/inifile (= 1.0.0) <http://forge.puppetlabs.com>
[Librarian] Scheduling puppetlabs/ruby (= 0.1.0) <http://forge.puppetlabs.com>
[Librarian] Scheduling nanliu/staging (= 0.3.1) <http://forge.puppetlabs.com>
[Librarian] Scheduling puppetlabs/java (= 1.0.1) <http://forge.puppetlabs.com>
[Librarian] Scheduling puppetlabs/java_ks (= 1.2.0) <http://forge.puppetlabs.com>
[Librarian] Scheduling cloudera (>= 0) <git://github.com/pydolan/puppet-cloudera.git#ubuntu-support>
[Librarian] Resolving puppetlabs/concat (= 1.0.0) <http://forge.puppetlabs.com>
[Librarian]   No known prior constraints
[Librarian]   Checking manifests
[Librarian]     Checking puppetlabs/concat/1.0.0-rc1 <http://forge.puppetlabs.com>
[Librarian]       Resolving puppetlabs/stdlib (= 4.1.0) <http://forge.puppetlabs.com>
[Librarian]         No known prior constraints
[Librarian]         Checking manifests
[Librarian]           Checking puppetlabs/stdlib/4.1.0 <http://forge.puppetlabs.com>
[Librarian]             Resolving apt (>= 0) <git://github.com/pydolan/puppetlabs-apt.git#1.4.1>
[Librarian]               No known prior constraints
[Librarian]               Checking manifests
[Librarian] Running `/usr/bin/git clone git://github.com/pydolan/puppetlabs-apt.git . --quiet` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git reset --hard --quiet` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git clean -x -d --force --force` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git rev-parse HEAD --quiet` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --> a350da76046b2d42f73ff6aed566adce1f13ff01
[Librarian] Running `/usr/bin/git fetch origin --quiet` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git fetch origin --quiet --tags` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git remote` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --> origin
[Librarian] Running `/usr/bin/git branch -r` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     -->   origin/HEAD -> origin/master
[Librarian]     -->   origin/master
[Librarian] Running `/usr/bin/git rev-parse 1.4.1^{commit} --quiet` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --> a350da76046b2d42f73ff6aed566adce1f13ff01
[Librarian] Running `/usr/bin/git rev-parse HEAD --quiet` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --> a350da76046b2d42f73ff6aed566adce1f13ff01
[Librarian] Running `/usr/bin/git rev-parse HEAD --quiet` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --> a350da76046b2d42f73ff6aed566adce1f13ff01
[Librarian]                 Checking apt/1.4.0 <git://github.com/pydolan/puppetlabs-apt.git#1.4.1>
[Librarian]                   Scheduling puppetlabs/stdlib (>= 2.2.1) <http://forge.puppetlabs.com>
[Librarian]                   Resolving puppetlabs/ntp (= 2.0.1) <http://forge.puppetlabs.com>
[Librarian]                     No known prior constraints
[Librarian]                     Checking manifests
[Librarian]                       Checking puppetlabs/ntp/3.0.0-rc1 <http://forge.puppetlabs.com>
[Librarian]                         Backtracking from puppetlabs/ntp/3.0.0-rc1 <http://forge.puppetlabs.com>
[Librarian]                       Checking puppetlabs/ntp/2.0.1 <http://forge.puppetlabs.com>
[Librarian]                         Scheduling puppetlabs/stdlib (>= 0.1.6) <http://forge.puppetlabs.com>
[Librarian]                         Resolving puppetlabs/firewall (= 0.4.2) <http://forge.puppetlabs.com>
[Librarian]                           No known prior constraints
[Librarian]                           Checking manifests
[Librarian]                             Checking puppetlabs/firewall/0.4.2 <http://forge.puppetlabs.com>
[Librarian]                               Resolving puppetlabs/inifile (= 1.0.0) <http://forge.puppetlabs.com>
[Librarian]                                 No known prior constraints
[Librarian]                                 Checking manifests
[Librarian]                                   Checking puppetlabs/inifile/1.0.0 <http://forge.puppetlabs.com>
[Librarian]                                     Resolving puppetlabs/ruby (= 0.1.0) <http://forge.puppetlabs.com>
[Librarian]                                       No known prior constraints
[Librarian]                                       Checking manifests
[Librarian]                                         Checking puppetlabs/ruby/0.1.0 <http://forge.puppetlabs.com>
[Librarian]                                           Resolving nanliu/staging (= 0.3.1) <http://forge.puppetlabs.com>
[Librarian]                                             No known prior constraints
[Librarian]                                             Checking manifests
[Librarian]                                               Checking nanliu/staging/0.3.1 <http://forge.puppetlabs.com>
[Librarian]                                                 Resolving puppetlabs/java (= 1.0.1) <http://forge.puppetlabs.com>
[Librarian]                                                   No known prior constraints
[Librarian]                                                   Checking manifests
[Librarian]                                                     Checking puppetlabs/java/1.0.1 <http://forge.puppetlabs.com>
[Librarian]                                                       Scheduling puppetlabs/stdlib (>= 0.1.6) <http://forge.puppetlabs.com>
[Librarian]                                                       Resolving puppetlabs/java_ks (= 1.2.0) <http://forge.puppetlabs.com>
[Librarian]                                                         No known prior constraints
[Librarian]                                                         Checking manifests
[Librarian]                                                           Checking puppetlabs/java_ks/1.2.0 <http://forge.puppetlabs.com>
[Librarian]                                                             Resolving cloudera (>= 0) <git://github.com/pydolan/puppet-cloudera.git#ubuntu-support>
[Librarian]                                                               No known prior constraints
[Librarian]                                                               Checking manifests
[Librarian] Running `/usr/bin/git clone git://github.com/pydolan/puppet-cloudera.git . --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git reset --hard --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git clean -x -d --force --force` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git rev-parse HEAD --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --> 0e7ad147b7bbda6b361332f942be16a2dcf6a8e8
[Librarian] Running `/usr/bin/git fetch origin --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git fetch origin --quiet --tags` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git remote` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --> origin
[Librarian] Running `/usr/bin/git branch -r` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     -->   origin/HEAD -> origin/master
[Librarian]     -->   origin/develop
[Librarian]     -->   origin/master
[Librarian]     -->   origin/ubuntu-support
[Librarian] Running `/usr/bin/git rev-parse origin/ubuntu-support^{commit} --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --> b9dc6b2bc12789341c6b0e9c30077d0f1c8c958f
[Librarian] Running `/usr/bin/git rev-parse HEAD --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --> 0e7ad147b7bbda6b361332f942be16a2dcf6a8e8
[Librarian] Running `/usr/bin/git checkout b9dc6b2bc12789341c6b0e9c30077d0f1c8c958f --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git rev-parse HEAD --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --> b9dc6b2bc12789341c6b0e9c30077d0f1c8c958f
[Librarian]                                                                 Checking cloudera/0.8.0 <git://github.com/pydolan/puppet-cloudera.git#ubuntu-support>
[Librarian]                                                                   Scheduling nanliu/staging (>= 0.2.1) <http://forge.puppetlabs.com>
[Librarian]                                                                   Scheduling puppetlabs/java_ks (>= 1.0.0) <http://forge.puppetlabs.com>
[Librarian]                                                                   Scheduling puppetlabs/mysql (>= 0.6.0) <http://forge.puppetlabs.com>
[Librarian]                                                                   Scheduling puppetlabs/postgresql (>= 2.1.0) <http://forge.puppetlabs.com>
[Librarian]                                                                   Scheduling puppetlabs/stdlib (>= 2.3.0) <http://forge.puppetlabs.com>
[Librarian]                                                                   Scheduling stahnma/epel (>= 0.0.3) <http://forge.puppetlabs.com>
[Librarian]                                                                   Resolving puppetlabs/stdlib (>= 2.2.1) <http://forge.puppetlabs.com>
[Librarian]                                                                     Accords with all prior constraints
[Librarian]                                                                   Resolving puppetlabs/stdlib (>= 0.1.6) <http://forge.puppetlabs.com>
[Librarian]                                                                     Accords with all prior constraints
[Librarian]                                                                   Resolving puppetlabs/stdlib (>= 0.1.6) <http://forge.puppetlabs.com>
[Librarian]                                                                     Accords with all prior constraints
[Librarian]                                                                   Resolving nanliu/staging (>= 0.2.1) <http://forge.puppetlabs.com>
[Librarian]                                                                     Accords with all prior constraints
[Librarian]                                                                   Resolving puppetlabs/java_ks (>= 1.0.0) <http://forge.puppetlabs.com>
[Librarian]                                                                     Accords with all prior constraints
[Librarian]                                                                   Resolving puppetlabs/mysql (>= 0.6.0) <http://forge.puppetlabs.com>
[Librarian]                                                                     No known prior constraints
[Librarian]                                                                     Checking manifests
[Librarian]                                                                       Checking puppetlabs/mysql/2.1.0 <http://forge.puppetlabs.com>
[Librarian]                                                                         Scheduling puppetlabs/stdlib (>= 2.2.1) <http://forge.puppetlabs.com>
[Librarian]                                                                         Resolving puppetlabs/postgresql (>= 2.1.0) <http://forge.puppetlabs.com>
[Librarian]                                                                           No known prior constraints
[Librarian]                                                                           Checking manifests
[Librarian]                                                                             Checking puppetlabs/postgresql/3.2.0 <http://forge.puppetlabs.com>
[Librarian]                                                                               Scheduling puppetlabs/apt (< 2.0.0, >= 1.1.0) <http://forge.puppetlabs.com>
[Librarian]                                                                               Scheduling puppetlabs/concat (< 2.0.0, >= 1.0.0) <http://forge.puppetlabs.com>
[Librarian]                                                                               Scheduling puppetlabs/firewall (>= 0.0.4) <http://forge.puppetlabs.com>
[Librarian]                                                                               Scheduling puppetlabs/stdlib (< 5.0.0, >= 3.2.0) <http://forge.puppetlabs.com>
[Librarian]                                                                               Resolving puppetlabs/stdlib (>= 2.3.0) <http://forge.puppetlabs.com>
[Librarian]                                                                                 Accords with all prior constraints
[Librarian]                                                                               Resolving stahnma/epel (>= 0.0.3) <http://forge.puppetlabs.com>
[Librarian]                                                                                 No known prior constraints
[Librarian]                                                                                 Checking manifests
[Librarian]                                                                                   Checking stahnma/epel/0.0.5 <http://forge.puppetlabs.com>
[Librarian]                                                                                     Resolving puppetlabs/stdlib (>= 2.2.1) <http://forge.puppetlabs.com>
[Librarian]                                                                                       Accords with all prior constraints
[Librarian]                                                                                     Resolving puppetlabs/apt (< 2.0.0, >= 1.1.0) <http://forge.puppetlabs.com>
[Librarian]                                                                                       No known prior constraints
[Librarian]                                                                                       Checking manifests
[Librarian]                                                                                         Checking puppetlabs/apt/1.4.0 <http://forge.puppetlabs.com>
[Librarian]                                                                                           Scheduling puppetlabs/stdlib (>= 2.2.1) <http://forge.puppetlabs.com>
[Librarian]                                                                                           Resolving puppetlabs/concat (< 2.0.0, >= 1.0.0) <http://forge.puppetlabs.com>
[Librarian]                                                                                             Accords with all prior constraints
[Librarian]                                                                                           Resolving puppetlabs/firewall (>= 0.0.4) <http://forge.puppetlabs.com>
[Librarian]                                                                                             Accords with all prior constraints
[Librarian]                                                                                           Resolving puppetlabs/stdlib (< 5.0.0, >= 3.2.0) <http://forge.puppetlabs.com>
[Librarian]                                                                                             Accords with all prior constraints
[Librarian]                                                                                           Resolving puppetlabs/stdlib (>= 2.2.1) <http://forge.puppetlabs.com>
[Librarian]                                                                                             Accords with all prior constraints
[Librarian]                                                                                           Resolved puppetlabs/apt (< 2.0.0, >= 1.1.0) <http://forge.puppetlabs.com> at puppetlabs/apt/1.4.0 <http://forge.puppetlabs.com>
[Librarian]                                                                                       Resolved puppetlabs/apt (< 2.0.0, >= 1.1.0) <http://forge.puppetlabs.com>
[Librarian]                                                                                     Resolved stahnma/epel (>= 0.0.3) <http://forge.puppetlabs.com> at stahnma/epel/0.0.5 <http://forge.puppetlabs.com>
[Librarian]                                                                                 Resolved stahnma/epel (>= 0.0.3) <http://forge.puppetlabs.com>
[Librarian]                                                                               Resolved puppetlabs/postgresql (>= 2.1.0) <http://forge.puppetlabs.com> at puppetlabs/postgresql/3.2.0 <http://forge.puppetlabs.com>
[Librarian]                                                                           Resolved puppetlabs/postgresql (>= 2.1.0) <http://forge.puppetlabs.com>
[Librarian]                                                                         Resolved puppetlabs/mysql (>= 0.6.0) <http://forge.puppetlabs.com> at puppetlabs/mysql/2.1.0 <http://forge.puppetlabs.com>
[Librarian]                                                                     Resolved puppetlabs/mysql (>= 0.6.0) <http://forge.puppetlabs.com>
[Librarian]                                                                   Resolved cloudera (>= 0) <git://github.com/pydolan/puppet-cloudera.git#ubuntu-support> at cloudera/0.8.0 <git://github.com/pydolan/puppet-cloudera.git#ubuntu-support>
[Librarian]                                                               Resolved cloudera (>= 0) <git://github.com/pydolan/puppet-cloudera.git#ubuntu-support>
[Librarian]                                                             Resolved puppetlabs/java_ks (= 1.2.0) <http://forge.puppetlabs.com> at puppetlabs/java_ks/1.2.0 <http://forge.puppetlabs.com>
[Librarian]                                                         Resolved puppetlabs/java_ks (= 1.2.0) <http://forge.puppetlabs.com>
[Librarian]                                                       Resolved puppetlabs/java (= 1.0.1) <http://forge.puppetlabs.com> at puppetlabs/java/1.0.1 <http://forge.puppetlabs.com>
[Librarian]                                                   Resolved puppetlabs/java (= 1.0.1) <http://forge.puppetlabs.com>
[Librarian]                                                 Resolved nanliu/staging (= 0.3.1) <http://forge.puppetlabs.com> at nanliu/staging/0.3.1 <http://forge.puppetlabs.com>
[Librarian]                                             Resolved nanliu/staging (= 0.3.1) <http://forge.puppetlabs.com>
[Librarian]                                           Resolved puppetlabs/ruby (= 0.1.0) <http://forge.puppetlabs.com> at puppetlabs/ruby/0.1.0 <http://forge.puppetlabs.com>
[Librarian]                                       Resolved puppetlabs/ruby (= 0.1.0) <http://forge.puppetlabs.com>
[Librarian]                                     Resolved puppetlabs/inifile (= 1.0.0) <http://forge.puppetlabs.com> at puppetlabs/inifile/1.0.0 <http://forge.puppetlabs.com>
[Librarian]                                 Resolved puppetlabs/inifile (= 1.0.0) <http://forge.puppetlabs.com>
[Librarian]                               Resolved puppetlabs/firewall (= 0.4.2) <http://forge.puppetlabs.com> at puppetlabs/firewall/0.4.2 <http://forge.puppetlabs.com>
[Librarian]                           Resolved puppetlabs/firewall (= 0.4.2) <http://forge.puppetlabs.com>
[Librarian]                         Resolved puppetlabs/ntp (= 2.0.1) <http://forge.puppetlabs.com> at puppetlabs/ntp/2.0.1 <http://forge.puppetlabs.com>
[Librarian]                     Resolved puppetlabs/ntp (= 2.0.1) <http://forge.puppetlabs.com>
[Librarian]                   Resolved apt (>= 0) <git://github.com/pydolan/puppetlabs-apt.git#1.4.1> at apt/1.4.0 <git://github.com/pydolan/puppetlabs-apt.git#1.4.1>
[Librarian]               Resolved apt (>= 0) <git://github.com/pydolan/puppetlabs-apt.git#1.4.1>
[Librarian]             Resolved puppetlabs/stdlib (= 4.1.0) <http://forge.puppetlabs.com> at puppetlabs/stdlib/4.1.0 <http://forge.puppetlabs.com>
[Librarian]         Resolved puppetlabs/stdlib (= 4.1.0) <http://forge.puppetlabs.com>
[Librarian]       Resolved puppetlabs/concat (= 1.0.0) <http://forge.puppetlabs.com> at puppetlabs/concat/1.0.0-rc1 <http://forge.puppetlabs.com>
[Librarian]   Resolved puppetlabs/concat (= 1.0.0) <http://forge.puppetlabs.com>
[Librarian] Bouncing Puppetfile.lock
[Librarian] Pre-Cached Sources:
[Librarian] Post-Cached Sources:
[Librarian]   [:git, "git://github.com/pydolan/puppet-cloudera.git", {:ref=>"ubuntu-support"}]
[Librarian]   [:git, "git://github.com/pydolan/puppetlabs-apt.git", {:ref=>"1.4.1"}]
[Librarian]   [:forge, "http://forge.puppetlabs.com", {}]
[Librarian] Installing cloudera/0.8.0 <git://github.com/pydolan/puppet-cloudera.git#ubuntu-support>
[Librarian] Running `/usr/bin/git reset --hard --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git clean -x -d --force --force` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git rev-parse HEAD --quiet` in .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc
[Librarian]     --> b9dc6b2bc12789341c6b0e9c30077d0f1c8c958f
[Librarian] Copying .tmp/librarian/cache/source/git/431c48c850b54de097f56516036084cc to modules/cloudera
[Librarian] Installing apt/1.4.0 <git://github.com/pydolan/puppetlabs-apt.git#1.4.1>
[Librarian] Running `/usr/bin/git reset --hard --quiet` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git clean -x -d --force --force` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --- No output
[Librarian] Running `/usr/bin/git rev-parse HEAD --quiet` in .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198
[Librarian]     --> a350da76046b2d42f73ff6aed566adce1f13ff01
[Librarian] Deleting modules/apt
[Librarian] Copying .tmp/librarian/cache/source/git/8a82b07db948df9e10e358e53b242198 to modules/apt
done running librarian-puppet install --clean

@bderickson
Copy link

I'd just like to bump this by saying that we're experiencing a very similar problem. We have a fork of the puppetlabs-apt Git repo and we're specifying a specific commit SHA. It looks like we're occasionally getting some other version of the repo and it's causing some failures.

We're trying to get a test case that consistently fails but haven't been able to so far...

@plarivee
Copy link

Having similar/same issue.

I have a ref to a branch but will not get the latest from that branch. I tried with both :ref "logs.core" and ref:/refs/remotes/origin/logs.core . sometimes it will get the right files. It's not even getting either master ref.

Installing role/1.0.0 [Librarian] --- No output [Librarian] --- No output [Librarian] --> e2e89b8a72cd5bfe7263fb71582f36a08a2783f6 [Librarian] Deleting modules/role [Librarian] Copying .tmp/librarian/cache/source/git/97ce76625da10d3f to modules/role git show-ref f5f482befe166e4af1634e9cba1a35905e61581d refs/heads/logs.core 9c67217722b6a698b36289dea83b5234945a5714 refs/heads/master 9c67217722b6a698b36289dea83b5234945a5714 refs/remotes/origin/HEAD f5f482befe166e4af1634e9cba1a35905e61581d refs/remotes/origin/logs.core 9c67217722b6a698b36289dea83b5234945a5714 refs/remotes/origin/master

@carlossg
Copy link
Collaborator

as it was fixed when you removed the other dependencies, I'd say this is #181 a module comes from 2 different places with unexpected results

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

4 participants