This applicatoin is used by the betadots Ruby for Puppet training. Within this dummy application we demo an application which can not be configured by managing config files, but which must be configured using a command.
Deploy this application to /opt/app by running git clone https://github.com/betadots/workshop-demo-app /opt/app
You then have an executable which will allow you to read, set and change config settings.
Usage of the app:
/opt/app/bin/app.exe
Usage: /opt/app/bin/app.exe ['list', 'set', 'rm', 'version']
/opt/app/bin/app.exe list
---
key: value
loglevel: debug
user: martin
cachepath: /etc/app/cache
/opt/app/bin/app.exe set
Usage: /opt/app/bin/app.exe set <key> <value>
/opt/app/bin/app.exe rm
Usage: /opt/app/bin/app.exe rm <key>
/opt/app/bin/app.exe version
app version: 3.1.2-git-e4f10ac