Comments (9)
Ah! I had this in my .bash_profile
from a long-forgotten RVM install:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
I commented it out and now bolt-inventory-pdb
works fine. Since bolt
worked I didn't think to check.
Thanks for the help, and sorry for the noise.
from bolt.
Bolt is not yet packaged for macOS 10.14 (18A391)
. We can update the our Cask to prevent downloads for 10.14 until we support it. Thanks.
from bolt.
In the meantime is there a way to install manually? Any timeline on an available package?
from bolt.
Can you try re-installing? That looks really strange, and I've occasionally seen something similar happen when the package doesn't install right.
from bolt.
vdc@ZL-10546 ~ $ brew cask --force uninstall puppet-bolt
==> Uninstalling Cask puppet-bolt
==> Running uninstall process for puppet-bolt; your password may be necessary
==> Uninstalling packages:
com.puppetlabs.puppet-bolt
Password:
==> Purging files for version 1.1.0 of Cask puppet-bolt
vdc@ZL-10546 ~ $ brew cask install puppetlabs/puppet/puppet-bolt
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/cask-versions, homebrew/core and homebrew/cask).
==> Updated Formulae
[email protected] git-review wine
==> Satisfying dependencies
==> Downloading https://downloads.puppet.com/mac/puppet5/10.13/x86_64/puppet-bolt-1.1.0-1.osx10.13.dmg
Already downloaded: /Users/vdc/Library/Caches/Homebrew/downloads/0b89bb163492a2e892312ad09f9387ac25295a52a8e8611979388c8b58a750da--puppet-bolt-1.1.0-1.osx10.13.dmg
==> Verifying SHA-256 checksum for Cask 'puppet-bolt'.
==> Installing Cask puppet-bolt
==> Running installer for puppet-bolt; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
installer: Package name is puppet-bolt
installer: Installing at base path /
installer: The install was successful.
🍺 puppet-bolt was successfully installed!
vdc@ZL-10546 ~ $ bolt --version
1.1.0
vdc@ZL-10546 ~ $ bolt-inventory-pdb
Traceback (most recent call last):
2: from /opt/puppetlabs/bolt/bin/bolt-inventory-pdb:23:in `<main>'
1: from /opt/puppetlabs/bolt/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
/opt/puppetlabs/bolt/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem bolt (>= 0.a) with executable bolt-inventory-pdb (Gem::GemNotFoundException)
from bolt.
Ok thanks. I guess I'll upgrade to 10.14 and see what's going on.
I don't think we add bolt-inventory-pdb
to a location accessible by PATH in packaging (that seems like an oversight). Did you add something to PATH?
from bolt.
I did add /opt/puppetlabs/bin:/opt/puppetlabs/bolt/bin
to my PATH, but it didn't change the result to call it directly:
vdc@ZL-10546 ~ $ cd /opt/puppetlabs/bolt/bin
vdc@ZL-10546 bin $ ./bolt-inventory-pdb
Traceback (most recent call last):
2: from ./bolt-inventory-pdb:23:in `<main>'
1: from /opt/puppetlabs/bolt/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
/opt/puppetlabs/bolt/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem bolt (>= 0.a) with executable bolt-inventory-pdb (Gem::GemNotFoundException)
vdc@ZL-10546 bin $ echo $PATH
/Users/vdc/.rvm/gems/ruby-2.5.1/bin:/Users/vdc/.rvm/gems/ruby-2.5.1@global/bin:/Users/vdc/.rvm/rubies/ruby-2.5.1/bin:/Users/vdc/.npm-packages/bin:/Users/vdc/.jenv/shims:/Users/vdc/.jenv/bin:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/vdc/.pyenv/shims:/Users/vdc/.pyenv:/opt/puppetlabs/bin:/opt/puppetlabs/bolt/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/jamf/bin:/usr/local/jamf/bin:/Users/vdc/.rvm/bin
from bolt.
Does your rvm Ruby possibly have an old version of Bolt in it? I'm on 10.14 and not having any problems with the package.
from bolt.
Also any GEM_* environment variables set?
from bolt.
Related Issues (20)
- Declare experimental features as stable
- json schema on forge return 404 HOT 8
- Debian 12 packages are missing
- Please provide Ubuntu 24.04 packages
- Please make the packaging/build pipelines public
- Provide Debian 11 aarch64 packages
- Provide documentation for bolt-server
- Add `file::delete()` function
- apply HOT 1
- unable to use _catch_errors for apply_prep function in puppet plan HOT 3
- Analytics collection is not feasible with some plan functions HOT 1
- Add a way to mock a Puppet/Bolt function while testing a plan with BoltSpec HOT 2
- Puppetdb Client *ALWAYS* uses token header even when cert/key is configured HOT 4
- BoltSpec's `expect_plan()` doesn't match `_catch_error` parameter HOT 3
- Add a way to selectively disable `run_command` & co output to `stdout` on `bolt plan`
- Bolt installed from package on linux fails to install modules from git HOT 3
- File transfer to targets does not cater for line ending differences between Windows and Linux
- Local transport defaults are not applied when using apply_prep
- Core types/providers are not synced when using bundled-ruby for apply
- Step in plan silently not running when using list of targets HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt.