Fix systemd launch of timesheetsdb
- Add default environment file with postgres config
- Add full path to npm (makes ubuntu happy)
- Call handlers appropriately when systemd unit files are modified
- Add very basic test
Change-Id: I5b1dfab78e449492be193bccfe470813f3028195
diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml
index 85a5b1f..fcced9b 100644
--- a/molecule/default/verify.yml
+++ b/molecule/default/verify.yml
@@ -7,6 +7,13 @@
- name: Verify
hosts: all
tasks:
- - name: example assertion
- assert:
- that: true
+
+ - name: Obtain the root webpage, check that it's from timesheetsui
+ uri:
+ url: http://127.0.0.1/
+ headers:
+ Host: "timesheets.example.com"
+ status_code: 200
+ return_content: true
+ register: timesheet_root_page
+ failed_when: "'Timesheetsui' not in timesheet_root_page.content"