??
This commit is contained in:
50 files changed
+11
-11
No files matched your search
Vendored
+2
-2
@@ -14,7 +14,6 @@ Vagrant.configure("2") do |config|
|
||||
# boxes at https://vagrantcloud.com/search.
|
||||
config.vm.box = "generic/ubuntu1604"
|
||||
|
||||
|
||||
# Create a forwarded port mapping which allows access to a specific port
|
||||
# within the machine from a port on the host machine. In the example below,
|
||||
# accessing "localhost:8080" will access port 80 on the guest machine.
|
||||
@@ -47,8 +46,9 @@ Vagrant.configure("2") do |config|
|
||||
'ops/cookbooks/vendor'
|
||||
]
|
||||
chef.roles_path = 'ops/roles'
|
||||
chef.add_role('gitea')
|
||||
chef.add_role('app')
|
||||
chef.json = {
|
||||
|
||||
'custom-domain': 'localhost.vm42.us',
|
||||
'custom-title': 'My gitea server!',
|
||||
'db-password': 'mypassword',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
apt install git wget nano;
|
||||
apt-get install -y git wget nano;
|
||||
|
||||
if which chef-solo; then
|
||||
echo 'found chef-solo, skipping';
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"run_list": [
|
||||
"role[app]"
|
||||
]
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
|
||||
name 'hosting'
|
||||
name 'app'
|
||||
maintainer 'The Authors'
|
||||
maintainer_email 'you@example.com'
|
||||
license 'All Rights Reserved'
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"run_list": [ "role[gitea]"]
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
name :gitea
|
||||
name :app
|
||||
description "A basic role"
|
||||
|
||||
run_list(
|
||||
@@ -7,6 +7,4 @@ run_list(
|
||||
"recipe[hosting::postgress]",
|
||||
"recipe[hosting::gitea]",
|
||||
"recipe[hosting::nginx]",
|
||||
|
||||
|
||||
)
|
||||
)
|
||||
Reference in new issue
Block a user