Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
puppet
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4280ad5f
authored
Jul 30, 2019
by
John Donnal
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
clear command history on cleanup
parent
44727d4b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
TODO
bootstrap.sh
cleanup.sh
modules/common/manifests/init.pp
rpi_cleanup.sh
TODO
View file @
4280ad5f
check that imagemagick is installed (needed for data view saving in lumen)
bootstrap.sh
View file @
4280ad5f
...
...
@@ -11,7 +11,7 @@ wget https://apt.puppetlabs.com/puppet-release-bionic.deb
dpkg
-i
puppet-release-bionic.deb
add-apt-repository universe
apt-get update
apt install puppet-agent git r10k
-y
apt install puppet-agent git r10k
python3-pip
-y
pip3 install
--upgrade
pip
...
...
cleanup.sh
View file @
4280ad5f
...
...
@@ -16,5 +16,7 @@ rm -f /etc/joule/stream_configs/*.conf
echo
"4] Removing default key material"
rm
-f
/etc/joule/security/
*
rm
-f
/opt/api/config/secrets.yml
echo
"5] Clearing command history"
history
-c
echo
"Remember to remove ubuntu user!"
modules/common/manifests/init.pp
View file @
4280ad5f
...
...
@@ -5,7 +5,8 @@
class
common
{
$pkgs
=
[
'build-essential'
,
'screen'
,
'emacs'
,
'openvpn'
,
'nmap'
,
'wget'
,
'sqlite3'
,
'gparted'
,
'net-tools'
,
'openssh-server'
,
'chromium-browser'
,
'zlib1g-dev'
]
'openssh-server'
,
'chromium-browser'
,
'zlib1g-dev'
,
'imagemagick'
]
package
{
$pkgs
:
ensure
=>
present
...
...
rpi_cleanup.sh
View file @
4280ad5f
...
...
@@ -76,4 +76,6 @@ StartupNotify=true
Categories=Settings;DesktopSettings;GTK;X-LXDE-Settings;
EOF
history
-c
echo
"ALL DONE! Remember to remove the puppet directory!!"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment