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)
- Add stub/mock for prompt::menu
- Plan not running in order HOT 2
- Packaged Moduls doesn`t get loaded
- Update "Run Bolt from a Docker image" doc page
- Individual language errors should be logged on "Language validation logged N errors. Giving up"
- Windows: Unable to run .ps1 task with pwsh.exe (powershell-core/powershell 7) HOT 2
- Error running multiple tasks on a single target node at one time HOT 3
- Docs not deployed? HOT 1
- Show warning when no host has been matched while install
- Applying Puppet plans fails on Debian 12 Bookworm targets HOT 5
- Allow user to use ssh key agent for ssh transport auth
- Provide MacOS puppet-bolt Homebrew cask installers with the arm64 architecture HOT 2
- Error behavior when bolt can't sudo without askpass in `--run-as root` mode is confusing
- release bolt version with latest facter HOT 1
- [FR] Ability to set `mode`/`group`[/`owner`] in `write_file()` and `upload_file()` functions
- "custom_facts.rb" fails to launch on some targets if Puppet has been installed on the target using the system package manager
- Can bolt resolve non-forge dependencies in the ``metadata.json``? HOT 1
- Ship bolt packages with updated built in module content
- Declare experimental features as stable
- json schema on forge return 404 HOT 8
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.