danarchy_deploy 0.2.7 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/.asdf_versions.json +5 -0
  3. data/.tool-versions +1 -0
  4. data/CHANGELOG.md +15 -0
  5. data/Gemfile.lock +9 -8
  6. data/bin/danarchy_deploy +0 -1
  7. data/danarchy_deploy.gemspec +4 -4
  8. data/lib/danarchy_deploy/applicator/ssl.rb +1 -1
  9. data/lib/danarchy_deploy/archiver.rb +1 -1
  10. data/lib/danarchy_deploy/groups.rb +0 -1
  11. data/lib/danarchy_deploy/services/init/openrc.rb +10 -6
  12. data/lib/danarchy_deploy/services/init.rb +28 -18
  13. data/lib/danarchy_deploy/services.rb +0 -1
  14. data/lib/danarchy_deploy/system/centos.rb +7 -0
  15. data/lib/danarchy_deploy/system/debian.rb +6 -0
  16. data/lib/danarchy_deploy/system/fstab.rb +15 -5
  17. data/lib/danarchy_deploy/system/gentoo.rb +84 -23
  18. data/lib/danarchy_deploy/system/opensuse.rb +6 -0
  19. data/lib/danarchy_deploy/system.rb +14 -9
  20. data/lib/danarchy_deploy/templater.rb +1 -2
  21. data/lib/danarchy_deploy/users.rb +50 -42
  22. data/lib/danarchy_deploy/version.rb +1 -1
  23. data/lib/danarchy_deploy.rb +63 -20
  24. data/templates/applications/nginx/domain.conf.erb +38 -0
  25. data/templates/applications/php/phpfpm.conf.erb +19 -0
  26. data/templates/applications/php/user.conf.erb +19 -0
  27. data/templates/applications/wordpress/mysql_user_privileges.sql.erb +2 -0
  28. data/templates/applications/wordpress/wp-config.php.erb +82 -0
  29. data/templates/asdf/asdf.sh.erb +52 -0
  30. data/templates/deploy_template.json +6 -7
  31. data/templates/distcc/distccd.erb +14 -0
  32. data/templates/distcc/hosts.erb +2 -0
  33. data/templates/portage/make.conf.erb +30 -0
  34. data/templates/portage/package.use/bindist +3 -0
  35. data/templates/portage/package.use/documentation +3 -0
  36. data/templates/services/memcached/memcached.erb +40 -0
  37. data/templates/services/mysql/my.cnf.erb +143 -0
  38. data/templates/services/mysql/root_my.cnf.erb +11 -0
  39. data/templates/services/mysql/user_db_grants.sql.erb +33 -0
  40. data/templates/services/mysql/user_db_grants.sql.erb_cleanupUsers +52 -0
  41. data/templates/services/nginx/nginx.conf.erb +48 -0
  42. data/templates/services/php/php-fpm.conf.erb +2 -0
  43. data/templates/services/postfix/localmail.initial_setup.sh +19 -0
  44. data/templates/services/postfix/localmail.main.cf.erb +41 -0
  45. data/templates/services/postfix/mailname.erb +1 -0
  46. data/templates/services/postfix/mailrelayhost_main.cf.erb +33 -0
  47. data/templates/services/postfix/main.cf.erb +28 -0
  48. data/templates/services/postfix/master.cf.erb +124 -0
  49. data/templates/services/postfix/mysql-virtual-alias-maps.cf.erb +5 -0
  50. data/templates/services/postfix/mysql-virtual-mailbox-domains.cf.erb +5 -0
  51. data/templates/services/postfix/mysql-virtual-mailbox-maps.cf.erb +5 -0
  52. data/templates/system/authorized_keys.erb +5 -0
  53. data/templates/system/crontab.erb +8 -0
  54. data/templates/system/dmcrypt.erb +17 -0
  55. data/templates/system/exports.erb +4 -0
  56. data/templates/system/fstab.erb +4 -0
  57. data/templates/system/sudoers.erb +5 -0
  58. metadata +44 -11
  59. data/.ruby-gemset +0 -1
  60. data/.ruby-version +0 -1
  61. /data/bin/{setup → setup-dd} +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danarchy_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan James
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-15 00:00:00.000000000 Z
11
+ date: 2024-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danarchy_couchdb
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.3'
33
+ version: '2.5'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.3'
40
+ version: '2.5'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.17'
61
+ version: '2.20'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.17'
68
+ version: '2.20'
69
69
  description: DanarchyDeploy intends to simplify Gentoo Linux (and other distro) deployments
70
70
  down to a single template from an input JSON or YAML file, or from a CouchDB file.
71
71
  email:
@@ -73,14 +73,14 @@ email:
73
73
  executables:
74
74
  - console-dd
75
75
  - danarchy_deploy
76
- - setup
76
+ - setup-dd
77
77
  extensions: []
78
78
  extra_rdoc_files: []
79
79
  files:
80
+ - ".asdf_versions.json"
80
81
  - ".gitignore"
81
82
  - ".rspec"
82
- - ".ruby-gemset"
83
- - ".ruby-version"
83
+ - ".tool-versions"
84
84
  - ".travis.yml"
85
85
  - CHANGELOG.md
86
86
  - Gemfile
@@ -90,7 +90,7 @@ files:
90
90
  - Rakefile
91
91
  - bin/console-dd
92
92
  - bin/danarchy_deploy
93
- - bin/setup
93
+ - bin/setup-dd
94
94
  - danarchy_deploy.gemspec
95
95
  - lib/danarchy_deploy.rb
96
96
  - lib/danarchy_deploy/applicator.rb
@@ -126,7 +126,40 @@ files:
126
126
  - lib/danarchy_deploy/templater.rb
127
127
  - lib/danarchy_deploy/users.rb
128
128
  - lib/danarchy_deploy/version.rb
129
+ - templates/applications/nginx/domain.conf.erb
130
+ - templates/applications/php/phpfpm.conf.erb
131
+ - templates/applications/php/user.conf.erb
132
+ - templates/applications/wordpress/mysql_user_privileges.sql.erb
133
+ - templates/applications/wordpress/wp-config.php.erb
134
+ - templates/asdf/asdf.sh.erb
129
135
  - templates/deploy_template.json
136
+ - templates/distcc/distccd.erb
137
+ - templates/distcc/hosts.erb
138
+ - templates/portage/make.conf.erb
139
+ - templates/portage/package.use/bindist
140
+ - templates/portage/package.use/documentation
141
+ - templates/services/memcached/memcached.erb
142
+ - templates/services/mysql/my.cnf.erb
143
+ - templates/services/mysql/root_my.cnf.erb
144
+ - templates/services/mysql/user_db_grants.sql.erb
145
+ - templates/services/mysql/user_db_grants.sql.erb_cleanupUsers
146
+ - templates/services/nginx/nginx.conf.erb
147
+ - templates/services/php/php-fpm.conf.erb
148
+ - templates/services/postfix/localmail.initial_setup.sh
149
+ - templates/services/postfix/localmail.main.cf.erb
150
+ - templates/services/postfix/mailname.erb
151
+ - templates/services/postfix/mailrelayhost_main.cf.erb
152
+ - templates/services/postfix/main.cf.erb
153
+ - templates/services/postfix/master.cf.erb
154
+ - templates/services/postfix/mysql-virtual-alias-maps.cf.erb
155
+ - templates/services/postfix/mysql-virtual-mailbox-domains.cf.erb
156
+ - templates/services/postfix/mysql-virtual-mailbox-maps.cf.erb
157
+ - templates/system/authorized_keys.erb
158
+ - templates/system/crontab.erb
159
+ - templates/system/dmcrypt.erb
160
+ - templates/system/exports.erb
161
+ - templates/system/fstab.erb
162
+ - templates/system/sudoers.erb
130
163
  homepage: https://github.com/danarchy85/danarchy_deploy
131
164
  licenses:
132
165
  - MIT
@@ -147,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
180
  - !ruby/object:Gem::Version
148
181
  version: '0'
149
182
  requirements: []
150
- rubygems_version: 3.3.26
183
+ rubygems_version: 3.5.11
151
184
  signing_key:
152
185
  specification_version: 4
153
186
  summary: Pushes deployments locally or remotely based on a JSON/YAML/CouchDB template.
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- danarchy_deploy
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- ruby-2.7.2
File without changes