aboutsummaryrefslogtreecommitdiffstats
path: root/lib/capistrano/tasks
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-06-17 20:40:31 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-06-17 20:40:31 +0200
commitfa31ff3be4221777456aa772cb04732cfdc10f5e (patch)
treecdc16b4532e97037d304ba3e67b31e0213a6492d /lib/capistrano/tasks
parent0db9279361e4ea98387d4da001f30f438788dfe8 (diff)
parent45fea420bddcf9d370b681b766a622da6f11eb38 (diff)
downloadhmnoweb-fa31ff3be4221777456aa772cb04732cfdc10f5e.tar.gz
hmnoweb-fa31ff3be4221777456aa772cb04732cfdc10f5e.tar.bz2
hmnoweb-fa31ff3be4221777456aa772cb04732cfdc10f5e.zip
Merge branch 'misc-updates'
Diffstat (limited to 'lib/capistrano/tasks')
-rw-r--r--lib/capistrano/tasks/configure_piwik.rake18
-rw-r--r--lib/capistrano/tasks/configure_puma.rake18
-rw-r--r--lib/capistrano/tasks/create_secret_token.rake18
-rw-r--r--lib/capistrano/tasks/refinery_setup.rake18
4 files changed, 68 insertions, 4 deletions
diff --git a/lib/capistrano/tasks/configure_piwik.rake b/lib/capistrano/tasks/configure_piwik.rake
index 54f458b..612b765 100644
--- a/lib/capistrano/tasks/configure_piwik.rake
+++ b/lib/capistrano/tasks/configure_piwik.rake
@@ -1,4 +1,18 @@
-# :mode=ruby:
+# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+# Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License version 3
+# as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
namespace :deploy do
namespace :piwik do
desc 'Configure piwik for site'
@@ -25,3 +39,5 @@ namespace :deploy do
before 'deploy:check:linked_files', 'deploy:piwik:configure'
end
+
+# :mode=ruby:
diff --git a/lib/capistrano/tasks/configure_puma.rake b/lib/capistrano/tasks/configure_puma.rake
index ccea36b..46e1daa 100644
--- a/lib/capistrano/tasks/configure_puma.rake
+++ b/lib/capistrano/tasks/configure_puma.rake
@@ -1,4 +1,18 @@
-# :mode=ruby:
+# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+# Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License version 3
+# as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
namespace :deploy do
desc 'Configure Puma'
task :configure_puma do
@@ -13,3 +27,5 @@ namespace :deploy do
before 'deploy:finishing', 'deploy:generate_secret_token'
end
+
+# :mode=ruby:
diff --git a/lib/capistrano/tasks/create_secret_token.rake b/lib/capistrano/tasks/create_secret_token.rake
index e51a486..01658cf 100644
--- a/lib/capistrano/tasks/create_secret_token.rake
+++ b/lib/capistrano/tasks/create_secret_token.rake
@@ -1,4 +1,18 @@
-# :mode=ruby:
+# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+# Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License version 3
+# as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
require 'securerandom'
namespace :deploy do
@@ -15,3 +29,5 @@ namespace :deploy do
before 'deploy:check:linked_files', 'deploy:generate_secret_token'
end
+
+# :mode=ruby:
diff --git a/lib/capistrano/tasks/refinery_setup.rake b/lib/capistrano/tasks/refinery_setup.rake
index 8192130..4978800 100644
--- a/lib/capistrano/tasks/refinery_setup.rake
+++ b/lib/capistrano/tasks/refinery_setup.rake
@@ -1,4 +1,18 @@
-# :mode=ruby:
+# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+# Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License version 3
+# as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
require 'securerandom'
require 'active_support/inflector'
@@ -20,3 +34,5 @@ namespace :deploy do
before 'deploy:check:linked_files', 'deploy:refinery:setup'
end
+
+# :mode=ruby: