Created
December 20, 2011 02:56
-
-
Save peteroyle/1500026 to your computer and use it in GitHub Desktop.
Boxgrinder Embedded Ordering Samples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: myapp_app | |
summary: Common configuration for running the C-Rex platform (just the application host) | |
post: | |
base: | |
- "echo ---- Creating home directory structures" | |
- "mkdir -p /home/myapp/stuff" | |
- "echo ---- Installing application and setting permissions" | |
- "chown -R myapp:myapp /home/myapp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: myapp_app_int | |
summary: Common configuration for running MyApp in integration environment (just the application host) | |
appliances: | |
- myapp_common_int | |
- myapp_app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: myapp_common_int | |
summary: Common configuration for running MyApp in the integration environment (both database and application) | |
post: | |
base: | |
- "groupadd -g603 myapp" | |
- "useradd -u563 -gmyapp myapp" | |
- "echo \"passwordmyapp\" | passwd --stdin myapp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: myapp_db_int | |
summary: Separate database host for integration version of MyApp. | |
appliances: | |
- mysql | |
- myapp_common_int | |
hardware: | |
partitions: | |
"/": | |
size: 20 # Gb | |
post: | |
base: | |
- "echo '-- Creating database ...'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: myapp_int_single_server | |
summary: Configuration for running the integration version of MyApp on a single standalone server (app and DB). | |
appliances: | |
- myapp_app_int | |
- myapp_db_int | |
hardware: | |
partitions: | |
"/": | |
size: 30 # Gb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment