Commit Graph
100 Commits
Author SHA1 Message Date
greg 08172b7e04 Add node file for andromeda server 2018-04-17 18:55:48 +02:00
greg 44625ee017 Don't connect to IPFS through localhost in hal8000
Use the new IPFS node on the new server
2018-04-17 18:52:35 +02:00
greg 11db96b3a1 Update IPFS to the latest release
Also fix the ipfs config
2018-04-17 18:51:53 +02:00
greg b4624cf2aa Don't set the default variable to a type that's not allowed 2018-04-17 16:08:30 +02:00
greg b35c4bc097 Update Chef version 2018-04-17 16:08:15 +02:00
greg 14ad962f37 Add missing cookbook files 2018-04-17 16:05:39 +02:00
greg b92cc6e5d7 Update apt cookbook 2018-04-17 13:43:22 +02:00
greg 6a86fc64fa Add configuration for knife-solo
Disable Berkshelf integration and set the version of Chef to install on
the server
2018-04-17 13:42:38 +02:00
greg a35867f3d9 Update build-essential cookbook 2018-04-17 13:31:28 +02:00
greg dd47030301 Update firewall cookbook 2018-04-17 13:27:35 +02:00
greg c3933012dd We install nodejs from package, update paths 2018-04-17 13:19:23 +02:00
greg d26d2e17fd Install nodejs from packages instead of building from source 2018-04-17 13:19:03 +02:00
greg bd71418ec2 Changes for the new sudo cookbook 2018-04-17 13:18:36 +02:00
greg 157ccdc8b7 Update nodejs, sudo and users cookbooks 2018-04-17 13:18:09 +02:00
greg ff2f424ddb Update poise-archive and poise-service cookbooks 2018-04-17 12:24:17 +02:00
greg 90bb872305 Update poise-javascript and poise-ruby cookbooks 2018-04-17 12:21:48 +02:00
greg d3aa94aab5 Switch from Batali to Berkshelf to manage upstream cookbooks 2018-04-17 12:16:20 +02:00
greg 0c80aaabd4 Update Node to the latest LTS release (8.11.1) 2018-04-06 14:02:59 +02:00
greg 36813b38d6 Remove wordpress from the dev node 2018-03-20 16:09:19 +01:00
greg 8653a8fa97 Use jemalloc1 on Puma and Sidekiq to lower the memory usage
More details:
https://www.speedshop.co/2017/12/04/malloc-doubles-ruby-memory.html
2018-03-20 16:07:55 +01:00
greg b8853a1b5d Install lua-dbi-sqlite3 and set the prosody version 2018-03-20 16:06:28 +01:00
greg 6ae27293ce Set the number of ActiveRecord DB pools to 50 in the Sidekiq service 2018-02-28 15:11:22 +01:00
greg aaabeee1fb Remove extra empty external-scripts that disabled modules for botka 2017-10-27 10:34:48 +02:00
greg b967b9d035 Add bots to a new XMPP room 2017-10-18 15:39:04 +02:00
greg acf86e4038 Use a new Prosody Ubuntu repository to be able to update it 2017-10-17 15:32:03 +02:00
greg 49664dbc8d The renew hook now needs to be an executable in the path
An absolute path doesn't work anymore.

Also send an email containing STDERR when the renewal command fails
2017-09-22 11:53:01 +02:00
greg 063ebeb7c3 Update nodejs (security update) 2017-07-12 12:34:24 +02:00
greg 262fbd89b6 Specify the Chef version in the Vagrant config
We don't need the vagrant-omnibus plugin anymore
2017-07-12 12:12:45 +02:00
greg ffdec12606 Update Chef to 12.21.1 2017-07-12 12:12:45 +02:00
greg 0bb6204a0d Fix the Let's Encrypt setup for mediawiki 2017-06-19 18:40:20 +02:00
greg edca6608c7 Update mediawiki cookbook 2017-06-16 22:57:33 +02:00
greg bdfb3a1afb Downgrade mysql cookbook for now
It doesn't play well with our current dev server setup
2017-06-16 22:44:57 +02:00
greg ff3d062c73 Update users cookbook and poise cookbooks
The poise cookbooks were incompatible with Chef 13
2017-06-16 15:50:13 +02:00
greg f93070c4c0 Replace timezone-ii cookbook with timezone_iii
This fork supports Chef 13 and is still maintained
2017-06-16 13:10:46 +02:00
greg 189b66a36f Update Chef to 12.20.3 2017-06-16 11:43:24 +02:00
greg acd67151a0 Merge branch 'feature/ubuntu-16.04' into 'master'
Support Ubuntu 16.04

See merge request !2
2017-06-16 09:34:50 +00:00
greg 6711fc3a6e Merge branch 'master' into feature/ubuntu-16.04 2017-06-16 11:33:52 +02:00
greg f5858319a7 Update more cookbooks 2017-06-16 11:25:49 +02:00
greg 7da2c5a738 Add ntp cookbook 2017-06-09 21:23:42 +02:00
greg 49a9625d16 Just use plain HTTP in development environment 2017-06-09 21:20:00 +02:00
greg 488b50d54d Just use plain HTTP in development environment 2017-06-09 21:19:47 +02:00
greg 5534b57752 Add ntp package and don't run most kosmos-base things in development 2017-06-09 21:18:44 +02:00
greg 26097197ca Don't create users and rewrite the sudo config in dev environment
It breaks the vagrant user
2017-06-09 16:43:26 +02:00
greg c64383c2a4 Don't set up backups in development environment 2017-06-09 16:41:37 +02:00
greg 5385813eda Merge branch 'master' into feature/ubuntu-16.04 2017-06-09 16:36:19 +02:00
greg afc07c3192 Add more secure sudo configuration
Also update the sudo cookbook
2017-06-09 16:08:36 +02:00
greg 0acc4e65e9 Fix the IPFS API URL for the get command 2017-06-09 15:35:16 +02:00
greg cf48006a0a Add get endpoint to ipfs proxied API 2017-06-09 13:37:33 +02:00
greg f96444d6f4 Move CORS headers from nginx to ipfs 2017-06-09 13:34:44 +02:00
greg 9065db8476 Update mastodon cookbook for 1.4.1
There is a strange issue with assets precompilation. I have found a
workaround but it looks like a bug in application_ruby (in production I
fixed it manually)
2017-06-02 18:30:57 +02:00
greg b7e395f122 Update application_ruby cookbook 2017-06-02 18:30:48 +02:00
greg 892d02bf2d Deploy XMPP schlupp's master branch again 2017-05-17 12:13:43 +02:00
greg 78c377e07f Add parity role to the dev server 2017-05-09 00:05:20 +02:00
greg 541599434d Update the mainnet recipe 2017-05-09 00:04:39 +02:00
greg 383d3adaae Add parity testnet 2017-05-09 00:02:07 +02:00
greg 5b49d727a6 Enable Dapps
It's required after all, but doesn't need to have its port open
2017-05-08 22:59:57 +02:00
greg 82386b44ba Add missing backup recipe 2017-05-08 22:59:40 +02:00
greg 58c9ccc48c Fix the Let's Encrypt config for Parity
The SSL port wasn't set in the variables
2017-05-08 22:58:39 +02:00
greg f1d48b9a68 Enable more networks (safe doesn't do what we want) 2017-05-08 18:24:51 +02:00
greg e871095bb4 Backup the parity keys 2017-05-08 17:42:29 +02:00
greg c334c05e6d Add silverbucket user
Fixes #14
2017-05-08 17:08:59 +02:00
greg 2e0730e3e8 Merge branch 'master' into feature/15-parity 2017-05-08 16:53:45 +02:00
greg 5285f86043 Use two CPUs for the VirtualBox Vagrant box 2017-05-08 16:53:03 +02:00
greg 18dba49d51 Override the directory where the parity package is created in dev 2017-05-08 16:52:08 +02:00
greg fc346e85c9 Add initial parity role 2017-05-08 16:51:50 +02:00
greg 4fdf64dfbd Remove duplicate kosmos-nginx recipe directive 2017-05-08 16:47:58 +02:00
greg 0f58a1c236 Add information about the parity nodes 2017-05-08 16:45:53 +02:00
greg eaaaacf97f Remove placeholder text from generated Chef cookbooks 2017-05-08 12:07:32 +02:00
greg 23a621270f Remove placeholder text from generated Chef cookbook 2017-05-08 12:07:03 +02:00
greg 3b6a1d0e4c Set up config for testnet 2017-05-07 16:02:58 +02:00
greg 2624c09875 Allow to create a package and install a package compiled from GitHub
Also add nginx config for reverse proxying and set up Let's Encrypt
automatically
2017-05-05 19:47:30 +02:00
greg fcf3b0b0dc Remove unnecessary variable 2017-05-03 19:08:38 +02:00
greg 37ab52902b Use a password attribute in the parity_node resource
The mainnet and testnet nodes use data from an encrypted data bag

Also fix a bug with the resource (hardcoded "dev" name instead of the
name attribute)
2017-05-03 19:06:55 +02:00
greg 826b008fc0 Split node config into separate recipes, support account creation
The account is automatically created and added to the list of accounts
that are unlocked (can send without a password)
2017-05-03 18:24:57 +02:00
greg e2b483eb3f Generate the config files using a TOML parser
Now we don't need to change both the template and the resources to add
options
2017-05-03 09:53:45 +02:00
greg 462e7ff858 Move version and checksum to attributes 2017-05-02 18:07:46 +02:00
greg 2f8de91008 Initial parity cookbook
Supports installing multiple instances of Parity on the same machine,
running on different ports

Refs #15
2017-05-02 17:43:02 +02:00
greg ccbf11a407 Update logrotate cookbook 2017-05-02 11:58:32 +02:00
greg 180b3f5df0 Update ark cookbook 2017-05-02 11:56:29 +02:00
greg 943b4ace1f Replace omnibus_updater with chef_client_updater
omnibus_updater is deprecated
2017-05-02 11:53:33 +02:00
greg 030b2501eb Fix implicit dependency on firewall cookbook in kosmos-base
Also delete ufw cookbook, we're not using it
2017-05-02 11:46:56 +02:00
greg 11b812fbb8 Update sudo and users cookbooks 2017-05-02 11:39:43 +02:00
greg d7bdd5cdf3 Add an nginx vhost with a Let's Encrypt certificate for schlupp 2017-04-28 15:45:59 +02:00
greg 2f0ff1f559 Fixed code styling 2017-04-28 15:45:59 +02:00
greg 4641e77438 Update cookstyle cookbook 2017-04-28 12:04:58 +02:00
greg 17f9b897bf Update test-kitchen gem 2017-04-28 12:04:28 +02:00
greg 099debe5c3 Depend on the new chef_nginx cookbook 2017-04-28 12:01:51 +02:00
greg d6cc8509bc Don't run the Let's Encrypt set up in development 2017-04-28 12:01:17 +02:00
greg c9879a60e2 Run sockethub as its own user 2017-04-28 12:01:07 +02:00
greg 8ba12e1ba2 Pass the user and group to the git resource
The clone is done by root otherwise
2017-04-28 12:00:22 +02:00
greg 4fb5390f9b Update cookbooks
* Replace old nginx cookbook with new chef_nginx cookbooks
* Update application cookbook
2017-04-28 11:59:11 +02:00
greg 5d1d4832df Move repository to its own attribute 2017-04-28 11:58:45 +02:00
greg 34653dc7d6 Add GitHub token and deploy a feature branch for now 2017-04-28 10:23:04 +02:00
greg 2e5b27f848 Enable Freenode's botka and hal8000 again 2017-04-27 13:34:53 +02:00
greg 871f59dd8c Enable the XMPP schlupp and botka recipes again 2017-04-27 13:24:31 +02:00
greg 208d6de94d Add dependency on redis and do backups again 2017-04-21 12:54:16 +02:00
greg e98b887665 Add missing dependency on mysql, only install mysql client when needed 2017-04-21 12:53:37 +02:00
greg ead7db5eaf Only do backups when not in development environment 2017-04-21 12:53:06 +02:00
greg c39b3f709c Merge branch 'mastodon' into 'master'
Set up an instance of Mastodon for Kosmos

See merge request !3
2017-04-08 14:43:28 +00:00
greg 46f37b5b4a Merge branch 'master' into mastodon 2017-04-08 16:42:14 +02:00