| Description: We would like to install puppet-bolt to our home directories Problem: We have MAC's that are secured and we don't have admin privileges. Brew has been installed into our home directories using instructions such as https://andrewjorgensen.com/post/install-homebrew-to-your-home-directory/ Now when we run brew to install puppet-bolt as per puppetlabs instructions we get the following:- brew cask install puppetlabs/puppet/puppet-bolt ==> Caveats Puppet Bolt binaries are installed in /opt/puppetlabs/bolt/bin, which is sourced by an /etc/paths.d entry. /opt/puppetlabs/bolt/bin may not be included in your current $PATH but should be included in new shells. ==> Satisfying dependencies ==> Downloading https://downloads.puppet.com/mac/puppet/10.14/x86_64/puppet-bolt-1.22.0-1.osx10.14.dmg
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 100.0%
==> 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. Password: ```Sorry, user firstname.surname is not allowed to execute '/usr/bin/env LOGNAME=firstname.surname USER=firstname.surname USERNAME=firstname.surname /usr/sbin/installer -pkg /Users/firstname.surname/homebrew/Caskroom/puppet-bolt/1.22.0/puppet-bolt-1.22.0-1-installer.pkg -target /' as root on MACHINE. ==> Purging files for version 1.22.0 of Cask puppet-bolt Error: Failure while executing; `/usr/bin/sudo -E – env LOGNAME=firstname.surname USER=firstname.surname USERNAME=firstname.surname /usr/sbin/installer -pkg /Users/firstname.surname/homebrew/Caskroom/puppet-bolt/1.22.0/puppet-bolt-1.22.0-1-installer.pkg -target /` exited with 1. Here's the output: Sorry, try again. Sorry, user firstname.surname is not allowed to execute '/usr/bin/env LOGNAME=firstname.surname USER=firstname.surname USERNAME=firstname.surname /usr/sbin/installer -pkg /Users/firstname.surname/homebrew/Caskroom/puppet-bolt/1.22.0/puppet-bolt-1.22.0-1-installer.pkg -target /' as root on MACHINE.
Please advise how we can install puppet-bolt to our home directories using brew or any other method that does not require admin rights |