Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smford22/mongodb update #49

Merged
merged 3 commits into from
Sep 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .studiorc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
install_mongodb() {
hab pkg install core/mongodb/3.2.10/20171016003652
}

install_mongodb
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ In order run this repo, you must first install Habitat. You can find setup docs
5. `build`
6. `source results/last_build.env`
7. Load `core/mongodb` package from the public depot:
`hab svc load core/mongodb`
`hab svc load core/mongodb/3.2.10/20171016003652`
8. Override the default configuration of mongodb:
`hab config apply mongodb.default $(date +%s) mongo.toml`
9. Load the most recent build of national-parks:
Expand Down
2 changes: 1 addition & 1 deletion terraform/aws/national-parks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ resource "aws_instance" "mongodb" {
"sudo cp /home/${var.aws_ami_user}/mongo.toml /hab/user/mongodb/config/user.toml",
"sudo hab svc load effortless/config-baseline --group ${var.group} --strategy at-once --channel stable",
"sudo hab svc load effortless/audit-baseline --group ${var.group} --strategy at-once --channel stable",
"sudo hab svc load core/mongodb --group ${var.group}"
"sudo hab svc load core/mongodb/3.2.10/20171016003652 --group ${var.group}"
]

}
Expand Down
2 changes: 1 addition & 1 deletion terraform/azure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ resource "azurerm_virtual_machine" "mongodb" {
"sudo cp /home/${var.azure_image_user}/mongo.toml /hab/user/mongodb/config/user.toml",
"sudo hab svc load effortless/audit-baseline --channel stable --strategy at-once --group ${var.group}",
"sudo hab svc load effortless/config-baseline --channel stable --strategy at-once --group ${var.group}",
"sudo hab svc load core/mongodb --group ${var.group}"
"sudo hab svc load core/mongodb/3.2.10/20171016003652 --group ${var.group}"
]
}

Expand Down