{"id":19008025,"url":"https://github.com/teleivo/puppet-openmrs-postgres","last_synced_at":"2026-06-18T01:31:28.494Z","repository":{"id":33612565,"uuid":"37264773","full_name":"teleivo/puppet-openmrs-postgres","owner":"teleivo","description":"Vagrant/Puppet project to test OpenMRS deployment with PostgreSQL","archived":false,"fork":false,"pushed_at":"2016-05-08T17:44:31.000Z","size":7,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T14:49:31.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teleivo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-11T14:06:35.000Z","updated_at":"2018-07-26T11:27:21.000Z","dependencies_parsed_at":"2022-09-12T22:01:31.049Z","dependency_job_id":null,"html_url":"https://github.com/teleivo/puppet-openmrs-postgres","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teleivo/puppet-openmrs-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teleivo%2Fpuppet-openmrs-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teleivo%2Fpuppet-openmrs-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teleivo%2Fpuppet-openmrs-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teleivo%2Fpuppet-openmrs-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teleivo","download_url":"https://codeload.github.com/teleivo/puppet-openmrs-postgres/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teleivo%2Fpuppet-openmrs-postgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34472822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T18:40:16.872Z","updated_at":"2026-06-18T01:31:28.476Z","avatar_url":"https://github.com/teleivo.png","language":"Puppet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# puppet-openmrs-postgres\n\nQuick vagrant/puppet setup to create a VM for testing/adapting OpenMRS to work with PostgreSQL\n\n##Setup\n\n###Setup requirements\n\nTo get started you need to install:\n* [virtualbox](https://www.virtualbox.org/)\n* [vagrant](https://www.vagrantup.com/downloads.html)\n\n##How to get started\n\n###Setup the VM\nTo setup a virtual machine execute:\n```\ngit clone https://github.com/teleivo/puppet-openmrs-postgres.git\ncd puppet-openmrs-postgres\nvagrant up\n```\n\nThis will download a virtualbox VM with Ubuntu 14.04 64bit, install all\nnecessary puppet modules via librarian-puppet and run the manifest/site.pp\nwhich\n* installs openjdk7\n* installs maven\n* installs PostgreSQL server (currently 9.3.8, depends on default in\n  puppetlabs-postgresql module)\n* creates PostgreSQL user 'openmrs' with password 'openmrs' and an empty\n  database 'openmrs'\n* installs tomcat 6.0.29\n* creates tomcat user with the manager role. user 'admin' with password 'admin'\n\n###Add PostgreSQL jdbc driver to tomcat\n```\nvagrant ssh\nsudo su - tomcat6\ncd apache-tomcat-6.0.29/lib\nwget https://jdbc.postgresql.org/download/postgresql-9.3-1103.jdbc41.jar\n```\n\n###Deploy OpenMRS\nOnce vagrant is done with the installation and you added the jdbc driver to\ntomcat you are ready to deploy OpenMRS into tomcat\n* Get the version you want to try from [OpenMRS] (http://openmrs.org/)\n* Deploy the war file in [localhost:8080/manager/](http://localhost:8080/manager/)\n  * In the OpenMRS wizard, select 'Advanced' and enter the following into 'Database\nconnection':\n```\njdbc:postgresql://localhost:5432/@DBNAME@\n```\n* Follow the wizard, enter the db 'openmrs' and db user 'openmrs' with password 'openmrs' where asked\n\n##Access\n###PostgreSQL DB\n```\nvagrant ssh\npsql -U openmrs -h localhost -d openmrs\n```\n\nPassword: openmrs\n\n###Tomcat Manager\nhttp://localhost:8080/manager/\n\nUser: admin\nPassword: admin\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteleivo%2Fpuppet-openmrs-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteleivo%2Fpuppet-openmrs-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteleivo%2Fpuppet-openmrs-postgres/lists"}