Commit 4280ad5f by John Donnal

clear command history on cleanup

parent 44727d4b
check that imagemagick is installed (needed for data view saving in lumen)
...@@ -11,7 +11,7 @@ wget https://apt.puppetlabs.com/puppet-release-bionic.deb ...@@ -11,7 +11,7 @@ wget https://apt.puppetlabs.com/puppet-release-bionic.deb
dpkg -i puppet-release-bionic.deb dpkg -i puppet-release-bionic.deb
add-apt-repository universe add-apt-repository universe
apt-get update apt-get update
apt install puppet-agent git r10k -y apt install puppet-agent git r10k python3-pip -y
pip3 install --upgrade pip pip3 install --upgrade pip
......
...@@ -16,5 +16,7 @@ rm -f /etc/joule/stream_configs/*.conf ...@@ -16,5 +16,7 @@ rm -f /etc/joule/stream_configs/*.conf
echo "4] Removing default key material" echo "4] Removing default key material"
rm -f /etc/joule/security/* rm -f /etc/joule/security/*
rm -f /opt/api/config/secrets.yml rm -f /opt/api/config/secrets.yml
echo "5] Clearing command history"
history -c
echo "Remember to remove ubuntu user!" echo "Remember to remove ubuntu user!"
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
class common { class common {
$pkgs=['build-essential','screen','emacs','openvpn', $pkgs=['build-essential','screen','emacs','openvpn',
'nmap','wget', 'sqlite3', 'gparted', 'net-tools', 'nmap','wget', 'sqlite3', 'gparted', 'net-tools',
'openssh-server','chromium-browser','zlib1g-dev'] 'openssh-server','chromium-browser','zlib1g-dev',
'imagemagick']
package { $pkgs: package { $pkgs:
ensure => present ensure => present
......
...@@ -76,4 +76,6 @@ StartupNotify=true ...@@ -76,4 +76,6 @@ StartupNotify=true
Categories=Settings;DesktopSettings;GTK;X-LXDE-Settings; Categories=Settings;DesktopSettings;GTK;X-LXDE-Settings;
EOF EOF
history -c
echo "ALL DONE! Remember to remove the puppet directory!!" echo "ALL DONE! Remember to remove the puppet directory!!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment