Update 8 files
- /home/.chezmoiscripts/universal/run_onchange_after_14_install-aqua-packages.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_15_install-asdf-packages.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_99_bootstrap-zsh-plugins.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_14-install-aqua-packages.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_15-install-asdf-packages.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_99-bootstrap-zsh-plugins.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_41-vagrant-vmware-utility.tmpl - /software.yml
This commit is contained in:
parent
cbd8bc6fec
commit
e2b88b553a
5 changed files with 51 additions and 2 deletions
|
@ -0,0 +1,29 @@
|
||||||
|
{{- if ne .host.distro.family "windows" -}}
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
{{- includeTemplate "universal/profile" }}
|
||||||
|
{{- includeTemplate "universal/logg" }}
|
||||||
|
|
||||||
|
### Only run logic if both Vagrant and VMWare are installed
|
||||||
|
if command -v vagrant > /dev/null && command -v vmware > /dev/null; then
|
||||||
|
### Vagrant VMWare Utility configuration
|
||||||
|
if command -v vagrant-vmware-utility > /dev/null; then
|
||||||
|
if [ -f /usr/local/bin/certificates/vagrant-utility.key ]; then
|
||||||
|
logg info 'Assuming Vagrant VMWare Utility certificates have been properly generated since /usr/local/bin/certificates/vagrant-utility.key is present'
|
||||||
|
else
|
||||||
|
logg info 'Generating Vagrant VMWare Utility certificates'
|
||||||
|
sudo vagrant-vmware-utility certificate generate
|
||||||
|
logg success 'Generated Vagrant VMWare Utility certificates via `vagrant-vmware-utility certificate generate`'
|
||||||
|
fi
|
||||||
|
logg info 'Ensuring the Vagrant VMWare Utility service is enabled'
|
||||||
|
sudo vagrant-vmware-utility service install || EXIT_CODE=$?
|
||||||
|
if [ -n "$EXIT_CODE" ]; then
|
||||||
|
logg info 'The Vagrant VMWare Utility command `vagrant-vmware-utility service install` failed. It is probably already setup.'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
logg warn 'Vagrant is not installed so the Vagrant plugins will not be installed'
|
||||||
|
logg warn 'Vagrant or VMWare is not installed so the Vagrant VMWare utility will not be configured'
|
||||||
|
fi
|
||||||
|
|
||||||
|
{{ end -}}
|
24
software.yml
24
software.yml
|
@ -4246,8 +4246,15 @@ softwarePackages:
|
||||||
cargo: handlr
|
cargo: handlr
|
||||||
yay: handlr-bin
|
yay: handlr-bin
|
||||||
kvantum:
|
kvantum:
|
||||||
_bin: kvantum
|
_bin: kvantummanager
|
||||||
apt: kvantum
|
_desc: Kvantum is an SVG-based theme engine for Qt4/Qt5 and KDE, i.e. a program for styling Qt applications with SVG images, with an emphasis on elegance, usability and practicality.
|
||||||
|
_docs: https://github.com/tsujan/Kvantum/blob/master/Kvantum/doc/Theme-Config.pdf
|
||||||
|
_github: https://github.com/tsujan/Kvantum
|
||||||
|
_home: https://github.com/tsujan/Kvantum
|
||||||
|
_name: Kvantum
|
||||||
|
apt:
|
||||||
|
- qt5-style-kvantum
|
||||||
|
- qt5-style-kvantum-themes
|
||||||
dnf: kvantum
|
dnf: kvantum
|
||||||
eopkg: kvantum
|
eopkg: kvantum
|
||||||
pacman: kvantum
|
pacman: kvantum
|
||||||
|
@ -7761,6 +7768,19 @@ softwarePackages:
|
||||||
scoop: vagrant
|
scoop: vagrant
|
||||||
_service: false
|
_service: false
|
||||||
_type: cli
|
_type: cli
|
||||||
|
vagrant-vmware-utility:
|
||||||
|
_bin: vagrant-vmware-utility
|
||||||
|
_desc: null
|
||||||
|
_docs: null
|
||||||
|
_github: null
|
||||||
|
_home: null
|
||||||
|
_name: Vagrant VMWare Utility
|
||||||
|
_post:cask: 'sudo ln -s /opt/vagrant-vmware-desktop/bin/vagrant-vmware-utility /usr/local/bin/vagrant-vmware-utility'
|
||||||
|
_when:cask: '! test -f /opt/vagrant-vmware-desktop/bin/vagrant-vmware-utility'
|
||||||
|
ansible: professormanhattan.vmware
|
||||||
|
cask: vagrant-vmware-utility
|
||||||
|
choco: vagrant-vmware-utility
|
||||||
|
script: rm -rf /tmp/vagrant-vmware-utility_1.0.21_linux_amd64.zip && curl https://releases.hashicorp.com/vagrant-vmware-utility/1.0.21/vagrant-vmware-utility_1.0.21_linux_amd64.zip -o /tmp/vagrant-vmware-utility_1.0.21_linux_amd64.zip && unzip /tmp/vagrant-vmware-utility_1.0.21_linux_amd64.zip && sudo mv -f /tmp/vagrant-vmware-utility /usr/local/bin/vagrant-vmware-utility && sudo chmod +x /usr/local/bin/vagrant-vmware-utility
|
||||||
vault:
|
vault:
|
||||||
_bin: vault
|
_bin: vault
|
||||||
_desc: '[HashiCorp Vault](https://www.vaultproject.io/) secures, stores, and tightly controls access to tokens, passwords, certificates, API keys, and other secrets. Basically, it is a tool for managing any data that you want to tightly control access to. It also has some advanced integrations with systems like AWS.'
|
_desc: '[HashiCorp Vault](https://www.vaultproject.io/) secures, stores, and tightly controls access to tokens, passwords, certificates, API keys, and other secrets. Basically, it is a tool for managing any data that you want to tightly control access to. It also has some advanced integrations with systems like AWS.'
|
||||||
|
|
Loading…
Reference in a new issue