cloud-mu 3.6.10 → 3.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Berksfile +2 -3
- data/Berksfile.lock +11 -14
- data/bin/mu-aws-setup +16 -4
- data/bin/mu-configure +2 -1
- data/cloud-mu.gemspec +2 -2
- data/cookbooks/mu-firewall/Berksfile +1 -1
- data/cookbooks/mu-firewall/attributes/default.rb +2 -2
- data/cookbooks/mu-firewall/metadata.rb +3 -3
- data/cookbooks/mu-firewall/recipes/default.rb +11 -2
- data/cookbooks/mu-master/Berksfile +1 -1
- data/cookbooks/mu-master/attributes/default.rb +14 -1
- data/cookbooks/mu-master/files/default/389ds-perl/ASDialogs.pm +173 -0
- data/cookbooks/mu-master/files/default/389ds-perl/AdminMigration.pm +569 -0
- data/cookbooks/mu-master/files/default/389ds-perl/AdminServer.pm +952 -0
- data/cookbooks/mu-master/files/default/389ds-perl/AdminUtil.pm +983 -0
- data/cookbooks/mu-master/files/default/389ds-perl/ConfigDSDialogs.pm +449 -0
- data/cookbooks/mu-master/files/default/389ds-perl/DSCreate.pm +1551 -0
- data/cookbooks/mu-master/files/default/389ds-perl/DSDialogs.pm +233 -0
- data/cookbooks/mu-master/files/default/389ds-perl/DSMigration.pm +1175 -0
- data/cookbooks/mu-master/files/default/389ds-perl/DSUpdate.pm +534 -0
- data/cookbooks/mu-master/files/default/389ds-perl/DSUpdateDialogs.pm +152 -0
- data/cookbooks/mu-master/files/default/389ds-perl/DSUtil.pm +1710 -0
- data/cookbooks/mu-master/files/default/389ds-perl/Dialog.pm +249 -0
- data/cookbooks/mu-master/files/default/389ds-perl/DialogManager.pm +212 -0
- data/cookbooks/mu-master/files/default/389ds-perl/FileConn.pm +461 -0
- data/cookbooks/mu-master/files/default/389ds-perl/Inf.pm +268 -0
- data/cookbooks/mu-master/files/default/389ds-perl/Migration.pm +327 -0
- data/cookbooks/mu-master/files/default/389ds-perl/RegDSDialogs.pm +94 -0
- data/cookbooks/mu-master/files/default/389ds-perl/Resource.pm +137 -0
- data/cookbooks/mu-master/files/default/389ds-perl/Setup.pm +240 -0
- data/cookbooks/mu-master/files/default/389ds-perl/SetupDialogs.pm +243 -0
- data/cookbooks/mu-master/files/default/389ds-perl/SetupLog.pm +82 -0
- data/cookbooks/mu-master/files/default/setCertName.ldif +4 -0
- data/cookbooks/mu-master/libraries/mu.rb +2 -2
- data/cookbooks/mu-master/metadata.rb +1 -1
- data/cookbooks/mu-master/recipes/389ds.rb +71 -32
- data/cookbooks/mu-master/recipes/basepackages.rb +5 -0
- data/cookbooks/mu-master/recipes/default.rb +16 -5
- data/cookbooks/mu-master/recipes/init.rb +36 -3
- data/cookbooks/mu-master/recipes/ssl-certs.rb +6 -0
- data/cookbooks/mu-master/recipes/sssd.rb +85 -62
- data/cookbooks/mu-master/recipes/update_nagios_only.rb +7 -1
- data/cookbooks/mu-master/templates/default/389-directory-setup.inf.erb +11 -26
- data/cookbooks/mu-master/templates/default/sssd.conf.erb +18 -8
- data/cookbooks/mu-tools/files/default/Mu_CA.pem +33 -0
- data/cookbooks/mu-tools/metadata.rb +0 -1
- data/cookbooks/mu-tools/recipes/set_local_fw.rb +7 -1
- data/cookbooks/mu-tools/templates/amazon/sshd_config.erb +5 -1
- data/cookbooks/nagios/CHANGELOG.md +679 -0
- data/cookbooks/nagios/LICENSE +201 -0
- data/cookbooks/nagios/README.md +340 -0
- data/cookbooks/nagios/attributes/config.rb +163 -0
- data/cookbooks/nagios/attributes/default.rb +204 -0
- data/cookbooks/nagios/libraries/base.rb +311 -0
- data/cookbooks/nagios/libraries/command.rb +68 -0
- data/cookbooks/nagios/libraries/contact.rb +229 -0
- data/cookbooks/nagios/libraries/contactgroup.rb +111 -0
- data/cookbooks/{firewall/recipes/disable_firewall.rb → nagios/libraries/custom_option.rb} +20 -7
- data/cookbooks/nagios/libraries/data_bag_helper.rb +23 -0
- data/cookbooks/nagios/libraries/default.rb +90 -0
- data/cookbooks/nagios/libraries/helpers.rb +229 -0
- data/cookbooks/nagios/libraries/host.rb +410 -0
- data/cookbooks/nagios/libraries/hostdependency.rb +178 -0
- data/cookbooks/nagios/libraries/hostescalation.rb +170 -0
- data/cookbooks/nagios/libraries/hostgroup.rb +117 -0
- data/cookbooks/nagios/libraries/nagios.rb +277 -0
- data/cookbooks/nagios/libraries/resource.rb +59 -0
- data/cookbooks/nagios/libraries/service.rb +449 -0
- data/cookbooks/nagios/libraries/servicedependency.rb +213 -0
- data/cookbooks/nagios/libraries/serviceescalation.rb +193 -0
- data/cookbooks/nagios/libraries/servicegroup.rb +142 -0
- data/cookbooks/nagios/libraries/timeperiod.rb +159 -0
- data/cookbooks/nagios/libraries/users_helper.rb +54 -0
- data/cookbooks/nagios/metadata.json +44 -0
- data/cookbooks/nagios/metadata.rb +22 -0
- data/cookbooks/nagios/recipes/_load_databag_config.rb +153 -0
- data/cookbooks/nagios/recipes/_load_default_config.rb +241 -0
- data/cookbooks/nagios/recipes/apache.rb +114 -0
- data/cookbooks/nagios/recipes/default.rb +41 -0
- data/cookbooks/nagios/recipes/nginx.rb +114 -0
- data/cookbooks/nagios/recipes/pagerduty.rb +95 -0
- data/cookbooks/nagios/recipes/server.rb +182 -0
- data/cookbooks/nagios/recipes/server_package.rb +85 -0
- data/cookbooks/nagios/recipes/server_source.rb +137 -0
- data/cookbooks/nagios/resources/command.rb +34 -0
- data/cookbooks/nagios/resources/conf.rb +52 -0
- data/cookbooks/nagios/resources/contact.rb +34 -0
- data/cookbooks/nagios/resources/contactgroup.rb +35 -0
- data/cookbooks/nagios/resources/host.rb +35 -0
- data/cookbooks/nagios/resources/hostdependency.rb +35 -0
- data/cookbooks/nagios/resources/hostescalation.rb +36 -0
- data/cookbooks/nagios/resources/hostgroup.rb +35 -0
- data/cookbooks/nagios/resources/resource.rb +34 -0
- data/cookbooks/nagios/resources/service.rb +35 -0
- data/cookbooks/nagios/resources/servicedependency.rb +35 -0
- data/cookbooks/nagios/resources/serviceescalation.rb +35 -0
- data/cookbooks/nagios/resources/servicegroup.rb +35 -0
- data/cookbooks/nagios/resources/timeperiod.rb +35 -0
- data/cookbooks/nagios/templates/apache2.conf.erb +102 -0
- data/cookbooks/nagios/templates/cgi.cfg.erb +266 -0
- data/cookbooks/nagios/templates/commands.cfg.erb +13 -0
- data/cookbooks/nagios/templates/contacts.cfg.erb +37 -0
- data/cookbooks/nagios/templates/hostgroups.cfg.erb +25 -0
- data/cookbooks/nagios/templates/hosts.cfg.erb +15 -0
- data/cookbooks/nagios/templates/htpasswd.users.erb +6 -0
- data/cookbooks/nagios/templates/nagios.cfg.erb +22 -0
- data/cookbooks/nagios/templates/nginx.conf.erb +80 -0
- data/cookbooks/nagios/templates/pagerduty.cgi.erb +185 -0
- data/cookbooks/nagios/templates/resource.cfg.erb +27 -0
- data/cookbooks/nagios/templates/servicedependencies.cfg.erb +15 -0
- data/cookbooks/nagios/templates/servicegroups.cfg.erb +14 -0
- data/cookbooks/nagios/templates/services.cfg.erb +14 -0
- data/cookbooks/nagios/templates/spawn-fcgi.erb +10 -0
- data/cookbooks/nagios/templates/templates.cfg.erb +31 -0
- data/cookbooks/nagios/templates/timeperiods.cfg.erb +13 -0
- data/extras/platform_berksfile_base +3 -3
- data/extras/python_rpm/build.sh +4 -4
- data/extras/python_rpm/muthon.spec +2 -4
- data/extras/vault_tools/export_vaults.sh +11 -1
- data/install/installer +1 -1
- data/modules/mu/kittens.rb +27523 -0
- data/modules/mu/master/ldap.rb +48 -31
- data/modules/mu/master.rb +69 -0
- data/modules/mu/mu.yaml.rb +351 -0
- data/modules/mu/providers/aws/firewall_rule.rb +3 -1
- data/modules/mu/providers/aws.rb +11 -5
- data/modules/mu.rb +5 -4
- metadata +99 -48
- data/cookbooks/firewall/CHANGELOG.md +0 -488
- data/cookbooks/firewall/LICENSE +0 -202
- data/cookbooks/firewall/README.md +0 -366
- data/cookbooks/firewall/TODO.md +0 -6
- data/cookbooks/firewall/attributes/default.rb +0 -5
- data/cookbooks/firewall/attributes/firewalld.rb +0 -8
- data/cookbooks/firewall/attributes/iptables.rb +0 -17
- data/cookbooks/firewall/attributes/ufw.rb +0 -12
- data/cookbooks/firewall/attributes/windows.rb +0 -8
- data/cookbooks/firewall/libraries/helpers.rb +0 -105
- data/cookbooks/firewall/libraries/helpers_firewalld.rb +0 -116
- data/cookbooks/firewall/libraries/helpers_firewalld_dbus.rb +0 -72
- data/cookbooks/firewall/libraries/helpers_iptables.rb +0 -112
- data/cookbooks/firewall/libraries/helpers_nftables.rb +0 -170
- data/cookbooks/firewall/libraries/helpers_ufw.rb +0 -142
- data/cookbooks/firewall/libraries/helpers_windows.rb +0 -129
- data/cookbooks/firewall/libraries/provider_firewall_firewalld.rb +0 -179
- data/cookbooks/firewall/libraries/provider_firewall_iptables.rb +0 -171
- data/cookbooks/firewall/libraries/provider_firewall_iptables_ubuntu.rb +0 -200
- data/cookbooks/firewall/libraries/provider_firewall_iptables_ubuntu1404.rb +0 -200
- data/cookbooks/firewall/libraries/provider_firewall_rule.rb +0 -34
- data/cookbooks/firewall/libraries/provider_firewall_ufw.rb +0 -138
- data/cookbooks/firewall/libraries/provider_firewall_windows.rb +0 -126
- data/cookbooks/firewall/libraries/resource_firewall.rb +0 -26
- data/cookbooks/firewall/libraries/resource_firewall_rule.rb +0 -52
- data/cookbooks/firewall/metadata.json +0 -40
- data/cookbooks/firewall/metadata.rb +0 -15
- data/cookbooks/firewall/recipes/default.rb +0 -76
- data/cookbooks/firewall/recipes/firewalld.rb +0 -87
- data/cookbooks/firewall/resources/firewalld.rb +0 -28
- data/cookbooks/firewall/resources/firewalld_config.rb +0 -39
- data/cookbooks/firewall/resources/firewalld_helpers.rb +0 -106
- data/cookbooks/firewall/resources/firewalld_icmptype.rb +0 -88
- data/cookbooks/firewall/resources/firewalld_ipset.rb +0 -104
- data/cookbooks/firewall/resources/firewalld_policy.rb +0 -115
- data/cookbooks/firewall/resources/firewalld_service.rb +0 -98
- data/cookbooks/firewall/resources/firewalld_zone.rb +0 -118
- data/cookbooks/firewall/resources/nftables.rb +0 -71
- data/cookbooks/firewall/resources/nftables_rule.rb +0 -113
- data/cookbooks/firewall/templates/default/ufw/default.erb +0 -13
- /data/cookbooks/{firewall → nagios}/chefignore +0 -0
- /data/cookbooks/{firewall → nagios}/renovate.json +0 -0
@@ -1,488 +0,0 @@
|
|
1
|
-
# firewall Cookbook CHANGELOG
|
2
|
-
|
3
|
-
This file is used to list changes made in each version of the firewall cookbook.
|
4
|
-
|
5
|
-
## 6.3.7 - *2024-07-15*
|
6
|
-
|
7
|
-
Standardise files with files in sous-chefs/repo-management
|
8
|
-
|
9
|
-
Standardise files with files in sous-chefs/repo-management
|
10
|
-
|
11
|
-
## 6.3.6 - *2024-05-06*
|
12
|
-
|
13
|
-
## 6.3.5 - *2024-05-06*
|
14
|
-
|
15
|
-
Added support for firewalld zone attribute
|
16
|
-
|
17
|
-
## 6.3.4 - *2023-12-21*
|
18
|
-
|
19
|
-
## 6.3.3 - *2023-09-28*
|
20
|
-
|
21
|
-
## 6.3.2 - *2023-09-04*
|
22
|
-
|
23
|
-
## 6.3.1 - *2023-08-30*
|
24
|
-
|
25
|
-
## 6.3.0 - *2023-08-01*
|
26
|
-
|
27
|
-
- Default to `firewalld` on EL8
|
28
|
-
|
29
|
-
## 6.2.18 - *2023-07-31*
|
30
|
-
|
31
|
-
Fixes typo in FORWARD chain of nftables default ruleset
|
32
|
-
|
33
|
-
## 6.2.17 - *2023-07-10*
|
34
|
-
|
35
|
-
## 6.2.16 - *2023-05-17*
|
36
|
-
|
37
|
-
## 6.2.15 - *2023-04-26*
|
38
|
-
|
39
|
-
Update CI runner to MacOS 12
|
40
|
-
|
41
|
-
## 6.2.14 - *2023-04-17*
|
42
|
-
|
43
|
-
## 6.2.13 - *2023-04-11*
|
44
|
-
|
45
|
-
Fix documentation to pass markdown lint
|
46
|
-
|
47
|
-
## 6.2.12 - *2023-04-07*
|
48
|
-
|
49
|
-
Standardise files with files in sous-chefs/repo-management
|
50
|
-
|
51
|
-
## 6.2.11 - *2023-04-04*
|
52
|
-
|
53
|
-
Fixed a typo in the readme
|
54
|
-
|
55
|
-
## 6.2.10 - *2023-04-01*
|
56
|
-
|
57
|
-
## 6.2.9 - *2023-04-01*
|
58
|
-
|
59
|
-
## 6.2.8 - *2023-04-01*
|
60
|
-
|
61
|
-
Standardise files with files in sous-chefs/repo-management
|
62
|
-
|
63
|
-
Standardise files with files in sous-chefs/repo-management
|
64
|
-
|
65
|
-
## 6.2.7 - *2023-03-02*
|
66
|
-
|
67
|
-
## 6.2.6 - *2023-02-23*
|
68
|
-
|
69
|
-
Standardise files with files in sous-chefs/repo-management
|
70
|
-
|
71
|
-
## 6.2.5 - *2023-02-16*
|
72
|
-
|
73
|
-
Standardise files with files in sous-chefs/repo-management
|
74
|
-
|
75
|
-
## 6.2.4 - *2023-02-15*
|
76
|
-
|
77
|
-
Standardise files with files in sous-chefs/repo-management
|
78
|
-
|
79
|
-
## 6.2.3 - *2022-12-08*
|
80
|
-
|
81
|
-
Standardise files with files in sous-chefs/repo-management
|
82
|
-
|
83
|
-
## 6.2.2 - *2022-12-08*
|
84
|
-
|
85
|
-
Standardise files with files in sous-chefs/repo-management
|
86
|
-
|
87
|
-
## 6.2.1 - *2022-12-02*
|
88
|
-
|
89
|
-
## 6.2.0 - *2022-12-02*
|
90
|
-
|
91
|
-
- Add support for for the description attribute when using UFW
|
92
|
-
|
93
|
-
## 6.1.0 - *2022-09-15*
|
94
|
-
|
95
|
-
- Add filepath selection based on OS for nftables.conf
|
96
|
-
|
97
|
-
## 6.0.2 - *2022-05-15*
|
98
|
-
|
99
|
-
Standardise files with files in sous-chefs/repo-management
|
100
|
-
|
101
|
-
## 6.0.1 - *2022-05-13*
|
102
|
-
|
103
|
-
- Standardise files with files in sous-chefs/repo-management
|
104
|
-
|
105
|
-
## 6.0.0 - *2022-05-09*
|
106
|
-
|
107
|
-
- Values for firewalld resources must be specified as one would
|
108
|
-
specify them to `firewall-cmd`.
|
109
|
-
- Do not use begin/rescue blocks when adding firewalld-objects, as
|
110
|
-
that resulted in errors being logged by firewalld.
|
111
|
-
- Various bug fixes that were found along the way.
|
112
|
-
|
113
|
-
## 5.1.0 - *2022-05-07*
|
114
|
-
|
115
|
-
- Add new providers for firewalld using the dbus-interface of firewalld.
|
116
|
-
|
117
|
-
## 5.0.0 - *2022-04-20*
|
118
|
-
|
119
|
-
- Add support for nftables
|
120
|
-
|
121
|
-
## 4.0.3 - *2022-04-11*
|
122
|
-
|
123
|
-
- Use resuable workflows instead of Chef Delivery
|
124
|
-
|
125
|
-
## 4.0.2 - *2022-02-17*
|
126
|
-
|
127
|
-
- Standardise files with files in sous-chefs/repo-management
|
128
|
-
- Remove delivery folder
|
129
|
-
|
130
|
-
## 4.0.1 - *2022-01-07*
|
131
|
-
|
132
|
-
- Remove extraneous task file that's no longer needed
|
133
|
-
|
134
|
-
## 4.0.0 - *2021-09-09*
|
135
|
-
|
136
|
-
- Remove dependency on chef-sugar cookbook
|
137
|
-
- Bump to require Chef Infra Client >= 15.5 for chef-utils
|
138
|
-
- Update metadata and README to Sous Chefs
|
139
|
-
|
140
|
-
## 3.0.2 - *2021-08-30*
|
141
|
-
|
142
|
-
- Standardise files with files in sous-chefs/repo-management
|
143
|
-
|
144
|
-
## 3.0.1 - *2021-07-08*
|
145
|
-
|
146
|
-
- Restart netfilter service in iptables mode after updating firewall rules
|
147
|
-
|
148
|
-
## 3.0.0 - *2021-06-14*
|
149
|
-
|
150
|
-
- Add Amazon Linux support
|
151
|
-
- Fix firewall resource actions list
|
152
|
-
- First attempt to modernize testing
|
153
|
-
- Various Cookstyle fixes
|
154
|
-
|
155
|
-
## 2.7.1 - *2021-06-01*
|
156
|
-
|
157
|
-
- resolved cookstyle error: libraries/helpers_windows.rb:47:9 convention: `Style/RedundantAssignment`
|
158
|
-
- resolved cookstyle error: libraries/helpers_windows.rb:48:9 convention: `Layout/IndentationWidth`
|
159
|
-
- resolved cookstyle error: libraries/helpers_windows.rb:49:16 convention: `Layout/ElseAlignment`
|
160
|
-
- resolved cookstyle error: libraries/helpers_windows.rb:50:9 convention: `Layout/IndentationWidth`
|
161
|
-
- resolved cookstyle error: libraries/helpers_windows.rb:51:16 warning: `Layout/EndAlignment`
|
162
|
-
- resolved cookstyle error: libraries/helpers_windows.rb:52:1 convention: `Layout/EmptyLinesAroundMethodBody`
|
163
|
-
- resolved cookstyle error: libraries/helpers_windows.rb:52:1 convention: `Layout/TrailingWhitespace`
|
164
|
-
- resolved cookstyle error: libraries/provider_firewall_firewalld.rb:30:5 refactor: `ChefModernize/ActionMethodInResource`
|
165
|
-
- resolved cookstyle error: libraries/provider_firewall_firewalld.rb:54:5 refactor: `ChefModernize/ActionMethodInResource`
|
166
|
-
- resolved cookstyle error: libraries/provider_firewall_firewalld.rb:114:5 refactor: `ChefModernize/ActionMethodInResource`
|
167
|
-
- resolved cookstyle error: libraries/provider_firewall_firewalld.rb:136:5 refactor: `ChefModernize/ActionMethodInResource`
|
168
|
-
- resolved cookstyle error: libraries/provider_firewall_firewalld.rb:149:5 refactor: `ChefModernize/ActionMethodInResource`
|
169
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables.rb:33:5 refactor: `ChefModernize/ActionMethodInResource`
|
170
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables.rb:63:5 refactor: `ChefModernize/ActionMethodInResource`
|
171
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables.rb:112:5 refactor: `ChefModernize/ActionMethodInResource`
|
172
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables.rb:134:5 refactor: `ChefModernize/ActionMethodInResource`
|
173
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables_ubuntu.rb:34:5 refactor: `ChefModernize/ActionMethodInResource`
|
174
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables_ubuntu.rb:67:5 refactor: `ChefModernize/ActionMethodInResource`
|
175
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables_ubuntu.rb:133:5 refactor: `ChefModernize/ActionMethodInResource`
|
176
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables_ubuntu.rb:156:5 refactor: `ChefModernize/ActionMethodInResource`
|
177
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables_ubuntu1404.rb:34:5 refactor: `ChefModernize/ActionMethodInResource`
|
178
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables_ubuntu1404.rb:67:5 refactor: `ChefModernize/ActionMethodInResource`
|
179
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables_ubuntu1404.rb:133:5 refactor: `ChefModernize/ActionMethodInResource`
|
180
|
-
- resolved cookstyle error: libraries/provider_firewall_iptables_ubuntu1404.rb:156:5 refactor: `ChefModernize/ActionMethodInResource`
|
181
|
-
- resolved cookstyle error: libraries/provider_firewall_rule.rb:24:5 refactor: `ChefModernize/ActionMethodInResource`
|
182
|
-
- resolved cookstyle error: libraries/provider_firewall_ufw.rb:32:5 refactor: `ChefModernize/ActionMethodInResource`
|
183
|
-
- resolved cookstyle error: libraries/provider_firewall_ufw.rb:61:5 refactor: `ChefModernize/ActionMethodInResource`
|
184
|
-
- resolved cookstyle error: libraries/provider_firewall_ufw.rb:102:5 refactor: `ChefModernize/ActionMethodInResource`
|
185
|
-
- resolved cookstyle error: libraries/provider_firewall_ufw.rb:115:5 refactor: `ChefModernize/ActionMethodInResource`
|
186
|
-
- resolved cookstyle error: libraries/provider_firewall_windows.rb:29:5 refactor: `ChefModernize/ActionMethodInResource`
|
187
|
-
- resolved cookstyle error: libraries/provider_firewall_windows.rb:42:5 refactor: `ChefModernize/ActionMethodInResource`
|
188
|
-
- resolved cookstyle error: libraries/provider_firewall_windows.rb:97:5 refactor: `ChefModernize/ActionMethodInResource`
|
189
|
-
- resolved cookstyle error: libraries/provider_firewall_windows.rb:118:5 refactor: `ChefModernize/ActionMethodInResource`
|
190
|
-
- resolved cookstyle error: attributes/iptables.rb:8:54 refactor: `ChefStyle/AttributeKeys`
|
191
|
-
- resolved cookstyle error: attributes/iptables.rb:8:54 convention: `Style/StringLiteralsInInterpolation`
|
192
|
-
- resolved cookstyle error: attributes/iptables.rb:8:63 refactor: `ChefStyle/AttributeKeys`
|
193
|
-
- resolved cookstyle error: attributes/iptables.rb:8:64 convention: `Style/StringLiteralsInInterpolation`
|
194
|
-
- resolved cookstyle error: attributes/iptables.rb:9:56 refactor: `ChefStyle/AttributeKeys`
|
195
|
-
- resolved cookstyle error: attributes/iptables.rb:9:56 convention: `Style/StringLiteralsInInterpolation`
|
196
|
-
- resolved cookstyle error: attributes/iptables.rb:9:65 refactor: `ChefStyle/AttributeKeys`
|
197
|
-
- resolved cookstyle error: attributes/iptables.rb:9:66 convention: `Style/StringLiteralsInInterpolation`
|
198
|
-
- resolved cookstyle error: attributes/iptables.rb:10:55 refactor: `ChefStyle/AttributeKeys`
|
199
|
-
- resolved cookstyle error: attributes/iptables.rb:10:55 convention: `Style/StringLiteralsInInterpolation`
|
200
|
-
- resolved cookstyle error: attributes/iptables.rb:10:64 refactor: `ChefStyle/AttributeKeys`
|
201
|
-
- resolved cookstyle error: attributes/iptables.rb:10:65 convention: `Style/StringLiteralsInInterpolation`
|
202
|
-
|
203
|
-
## 2.7.0 (2018-12-19)
|
204
|
-
|
205
|
-
- Nominal support for Debian 9 (#202)
|
206
|
-
|
207
|
-
## 2.6.5 (2018-07-24)
|
208
|
-
|
209
|
-
- use platform_family instead of platform to include all rhels
|
210
|
-
|
211
|
-
## v2.6.4 (2018-07-01)
|
212
|
-
|
213
|
-
- Stop including chef-sugar when it's >= 4.0.0 (#197)
|
214
|
-
|
215
|
-
## v2.6.3 (2018-02-01)
|
216
|
-
|
217
|
-
- Fix issue with deep merging of hashes and arrays in recent chef release (#185)
|
218
|
-
|
219
|
-
## v2.6.2 (2017-06-01)
|
220
|
-
|
221
|
-
- Incorrect file checking on Ubuntu, double file write (#173)
|
222
|
-
- Added testing on CentOS 6.9
|
223
|
-
- Clarify metadata that we're not working on Amazon Linux (#172)
|
224
|
-
|
225
|
-
## v2.6.1 (2017-04-21)
|
226
|
-
|
227
|
-
- Add recipe to disable firewall (#164)
|
228
|
-
|
229
|
-
## v2.6.0 (2017-04-17)
|
230
|
-
|
231
|
-
- Initial Chef 13.x support (#160, #159)
|
232
|
-
- Allow loopback and icmp, when enabled (#161)
|
233
|
-
- Address various newer rubocop and foodcritic complaints
|
234
|
-
- Convert rule provider away from DSL (#159)
|
235
|
-
|
236
|
-
## v2.5.4 (2017-02-13)
|
237
|
-
|
238
|
-
- Update Test Kitchen platforms to the latest
|
239
|
-
- Update copyright headers
|
240
|
-
- Allow package options to be passed through to the package install for firewall
|
241
|
-
- Define policy for Windows Firewall and use the attributes to set desired policy
|
242
|
-
|
243
|
-
## v2.5.3 (2016-10-26)
|
244
|
-
|
245
|
-
- Don't show firewall resource as updated (#133)
|
246
|
-
- Add :off as a valid logging level (#129)
|
247
|
-
- Add support for Ubuntu 16.04 (#149)
|
248
|
-
|
249
|
-
## v2.5.2 (2016-06-02)
|
250
|
-
|
251
|
-
- Don't issue commands when firewalld isn't active (#140)
|
252
|
-
- Install iptables-services on CentOS >= 7 (#131)
|
253
|
-
- Update Ruby version on Travis for listen gem
|
254
|
-
|
255
|
-
## v2.5.1 (2016-05-31)
|
256
|
-
|
257
|
-
- Protocol guard incorrectly prevents "none" protocol type on UFW helper (#128)
|
258
|
-
- Fix wrongly ordered conditional for converting ports to strings using port_to_s
|
259
|
-
- Fix notify_firewall attribute crashing firewall_rule provider (#130)
|
260
|
-
- Add warning if firewall rule opens all traffic (#132)
|
261
|
-
- Add ipv6 attribute respect to Ubuntu iptables (#138)
|
262
|
-
|
263
|
-
## v2.5.0 (2016-03-08)
|
264
|
-
|
265
|
-
- Don't modify parameter for port (#120)
|
266
|
-
- Remove a reference to the wrong variable name under windows (#123)
|
267
|
-
- Add support for mobile shell default firewall rule (#121)
|
268
|
-
- New rubocop rules and style fixes
|
269
|
-
- Correct a README.md example for `action :allow`
|
270
|
-
|
271
|
-
## v2.4.0 (2016-01-28)
|
272
|
-
|
273
|
-
- Expose default iptables ruleset so that raw rules can be used in conjunction with rulesets for other tables (#101).
|
274
|
-
|
275
|
-
## v2.3.1 (2016-01-08)
|
276
|
-
|
277
|
-
- Add raw rule support to the ufw firewall provider (#113).
|
278
|
-
|
279
|
-
## v2.3.0 (2015-12-23)
|
280
|
-
|
281
|
-
- Refactor logic so that firewall rules don't add a string rule to the firewall when their actions run. Just run the action once on the firewall itself. This is designed to prevent partial application of rules (#106)
|
282
|
-
|
283
|
-
- Switch to "enabled" (positive logic) instead of "disabled" (negative logic) on the firewall resource. It was difficult to reason with "disabled false" for some complicated recipes using firewall downstream. `disabled` is now deprecated.
|
284
|
-
|
285
|
-
- Add proper Windows testing and serverspec tests back into this cookbook.
|
286
|
-
|
287
|
-
- Fix the `port_to_s` function so it also works for Windows (#111)
|
288
|
-
|
289
|
-
- Fix typo checking action instead of command in iptables helper (#112)
|
290
|
-
|
291
|
-
- Remove testing ranges of ports on CentOS 5.x, as it's broken there.
|
292
|
-
|
293
|
-
## v2.2.0 (2015-11-02)
|
294
|
-
|
295
|
-
Added permanent as default option for RHEL 7 based systems using firewall-cmd.
|
296
|
-
This defaults to turned off, but it will be enabled by default on the next major version bump.
|
297
|
-
|
298
|
-
## v2.1.0 (2015-10-15)
|
299
|
-
|
300
|
-
Minor feature release.
|
301
|
-
|
302
|
-
- Ensure ICMPv6 is open when `['firewall']['allow_established']` is set to true (the default). ICMPv6 is critical for most IPv6 operations.
|
303
|
-
|
304
|
-
## v2.0.5 (2015-10-05)
|
305
|
-
|
306
|
-
Minor bugfix release.
|
307
|
-
|
308
|
-
- Ensure provider filtering always yields 1 and only 1 provider, #97 & #98
|
309
|
-
- Documentation update #96
|
310
|
-
|
311
|
-
## v2.0.4 (2015-09-23)
|
312
|
-
|
313
|
-
Minor bugfix release.
|
314
|
-
|
315
|
-
- Allow override of filter chain policies, #94
|
316
|
-
- Fix foodcrtitic and chefspec errors
|
317
|
-
|
318
|
-
## v2.0.3 (2015-09-14)
|
319
|
-
|
320
|
-
Minor bugfix release.
|
321
|
-
|
322
|
-
- Fix wrong conditional for firewalld ports, #93
|
323
|
-
- Fix ipv6 command logic under iptables, #91
|
324
|
-
|
325
|
-
## v2.0.2 (2015-09-08)
|
326
|
-
|
327
|
-
- Release with working CI, Chefspec matchers.
|
328
|
-
|
329
|
-
## v2.0.1 (2015-09-01)
|
330
|
-
|
331
|
-
- Add default related/established rule for iptables
|
332
|
-
|
333
|
-
## v2.0.0 (2015-08-31)
|
334
|
-
|
335
|
-
- 84, major rewrite
|
336
|
-
- Allow relative positioning of rules
|
337
|
-
- Use delayed notifications to create one firewall ruleset instead of incremental changes
|
338
|
-
- Remove poise dependency
|
339
|
-
- #82 - Introduce Windows firewall support and test-kitchen platform
|
340
|
-
- #73 - Add the option to disable ipv6 commands on iptables
|
341
|
-
- #78 - Use Chef-12 style `provides` to address provider mapping issues
|
342
|
-
- Rubocop and foodcritic cleanup
|
343
|
-
|
344
|
-
## v1.6.1 (2015-07-24)
|
345
|
-
|
346
|
-
- 80 - Remove an extra space in port range
|
347
|
-
|
348
|
-
## v1.6.0 (2015-07-15)
|
349
|
-
|
350
|
-
- 68 - Install firewalld when it does not exist
|
351
|
-
- 72 - Fix symbol that was a string, breaking comparisons
|
352
|
-
|
353
|
-
## v1.5.2 (2015-07-15)
|
354
|
-
|
355
|
-
- 75 - Use correct service in iptables save action, Add serverspec tests for iptables suite
|
356
|
-
|
357
|
-
## v1.5.1 (2015-07-13)
|
358
|
-
|
359
|
-
- 74 - add :save matcher for Chefspec
|
360
|
-
|
361
|
-
## v1.5.0 (2015-07-06)
|
362
|
-
|
363
|
-
- 70 - Add chef service resource to ensure firewall-related services are enabled/disabled
|
364
|
-
- Add testing and support for iptables on ubuntu in iptables provider
|
365
|
-
|
366
|
-
## v1.4.0 (2015-06-30)
|
367
|
-
|
368
|
-
- 69 - Support for CentOS/RHEL 5.x
|
369
|
-
|
370
|
-
## v1.3.0 (2015-06-09)
|
371
|
-
|
372
|
-
- 63 - Add support for protocol numbers
|
373
|
-
|
374
|
-
## v1.2.0 (2015-05-28)
|
375
|
-
|
376
|
-
- 64 - Support the newer version of poise
|
377
|
-
|
378
|
-
## v1.1.2 (2015-05-19)
|
379
|
-
|
380
|
-
- 60 - Always add /32 or /128 to ipv4 or ipv6 addresses, respectively
|
381
|
-
- Make comment quoting optional; iptables on Ubuntu strips quotes on strings without any spaces
|
382
|
-
|
383
|
-
## v1.1.1 (2015-05-11)
|
384
|
-
|
385
|
-
- 57 - Suppress warning: already initialized constant XXX while Chefspec
|
386
|
-
|
387
|
-
## v1.1.0 (2015-04-27)
|
388
|
-
|
389
|
-
- 56 - Better ipv6 support for firewalld and iptables
|
390
|
-
- 54 - Document raw parameter
|
391
|
-
|
392
|
-
## v1.0.2 (2015-04-03)
|
393
|
-
|
394
|
-
- 52 - Typo in :masquerade action name
|
395
|
-
|
396
|
-
## v1.0.1 (2015-03-28)
|
397
|
-
|
398
|
-
- 49 - Fix position attribute of firewall_rule providers to be correctly used as a string in commands
|
399
|
-
|
400
|
-
## v1.0.0 (2015-03-25)
|
401
|
-
|
402
|
-
- Major upgrade and rewrite as HWRP using poise
|
403
|
-
- Adds support for iptables and firewalld
|
404
|
-
- Modernize tests and other files
|
405
|
-
- Fix many bugs from ufw defaults to multiport suppot
|
406
|
-
|
407
|
-
## v0.11.8 (2014-05-20)
|
408
|
-
|
409
|
-
- Corrects issue where on a secondary converge would not distinguish between inbound and outbound rules
|
410
|
-
|
411
|
-
## v0.11.6 (2014-02-28)
|
412
|
-
|
413
|
-
[COOK-4385] - UFW provider is broken
|
414
|
-
|
415
|
-
## v0.11.4 (2014-02-25)
|
416
|
-
|
417
|
-
[COOK-4140] Only notify when a rule is actually added
|
418
|
-
|
419
|
-
## v0.11.2
|
420
|
-
|
421
|
-
### Bug
|
422
|
-
|
423
|
-
- [COOK-3615]: Install required UFW package on Debian
|
424
|
-
|
425
|
-
## v0.11.0
|
426
|
-
|
427
|
-
### Improvement
|
428
|
-
|
429
|
-
- [COOK-2932]: ufw providers work on debian but cannot be used
|
430
|
-
|
431
|
-
## v0.10.2
|
432
|
-
|
433
|
-
- [COOK-2250] - improve readme
|
434
|
-
|
435
|
-
## v0.10.0
|
436
|
-
|
437
|
-
- [COOK-1234] - allow multiple ports per rule
|
438
|
-
|
439
|
-
## v0.9.2
|
440
|
-
|
441
|
-
- [COOK-1615] - Firewall example docs have incorrect direction syntax
|
442
|
-
|
443
|
-
## v0.9.0
|
444
|
-
|
445
|
-
The default action for firewall LWRP is now :enable, the default action for firewall_rule LWRP is now :reject. This is in line with a "default deny" policy.
|
446
|
-
|
447
|
-
- [COOK-1429] - resolve foodcritic warnings
|
448
|
-
|
449
|
-
## v0.8.0
|
450
|
-
|
451
|
-
- refactor all resources and providers into LWRPs
|
452
|
-
- removed :reset action from firewall resource (couldn't find a good way to make it idempotent)
|
453
|
-
- removed :logging action from firewall resource...just set desired level via the log_level attribute
|
454
|
-
|
455
|
-
## v0.6.0
|
456
|
-
|
457
|
-
- [COOK-725] Firewall cookbook firewall_rule LWRP needs to support logging attribute.
|
458
|
-
- Firewall cookbook firewall LWRP needs to support :logging
|
459
|
-
|
460
|
-
## v0.5.7
|
461
|
-
|
462
|
-
- [COOK-696] Firewall cookbook firewall_rule LWRP needs to support interface
|
463
|
-
- [COOK-697] Firewall cookbook firewall_rule LWRP needs to support the direction for the rules
|
464
|
-
|
465
|
-
## v0.5.6
|
466
|
-
|
467
|
-
- [COOK-695] Firewall cookbook firewall_rule LWRP needs to support destination port
|
468
|
-
|
469
|
-
## v0.5.5
|
470
|
-
|
471
|
-
- [COOK-709] fixed :nothing action for the 'firewall_rule' resource.
|
472
|
-
|
473
|
-
## v0.5.4
|
474
|
-
|
475
|
-
- [COOK-694] added :reject action to the 'firewall_rule' resource.
|
476
|
-
|
477
|
-
## v0.5.3
|
478
|
-
|
479
|
-
- [COOK-698] added :reset action to the 'firewall' resource.
|
480
|
-
|
481
|
-
## v0.5.2
|
482
|
-
|
483
|
-
- Add missing 'requires' statements. fixes 'NameError: uninitialized constant' error. Thanks to Ernad Husremović for the fix.
|
484
|
-
|
485
|
-
## v0.5.0
|
486
|
-
|
487
|
-
- [COOK-686] create firewall and firewall_rule resources
|
488
|
-
- [COOK-687] create UFW providers for all resources
|
data/cookbooks/firewall/LICENSE
DELETED
@@ -1,202 +0,0 @@
|
|
1
|
-
Apache License
|
2
|
-
Version 2.0, January 2004
|
3
|
-
http://www.apache.org/licenses/
|
4
|
-
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
-
|
7
|
-
1. Definitions.
|
8
|
-
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
-
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
-
the copyright owner that is granting the License.
|
14
|
-
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
-
other entities that control, are controlled by, or are under common
|
17
|
-
control with that entity. For the purposes of this definition,
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
19
|
-
direction or management of such entity, whether by contract or
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
-
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
-
exercising permissions granted by this License.
|
25
|
-
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
27
|
-
including but not limited to software source code, documentation
|
28
|
-
source, and configuration files.
|
29
|
-
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
31
|
-
transformation or translation of a Source form, including but
|
32
|
-
not limited to compiled object code, generated documentation,
|
33
|
-
and conversions to other media types.
|
34
|
-
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
36
|
-
Object form, made available under the License, as indicated by a
|
37
|
-
copyright notice that is included in or attached to the work
|
38
|
-
(an example is provided in the Appendix below).
|
39
|
-
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
-
the Work and Derivative Works thereof.
|
47
|
-
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
49
|
-
the original version of the Work and any modifications or additions
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
-
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
64
|
-
subsequently incorporated within the Work.
|
65
|
-
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
72
|
-
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
-
where such license applies only to those patent claims licensable
|
79
|
-
by such Contributor that are necessarily infringed by their
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
82
|
-
institute patent litigation against any entity (including a
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
85
|
-
or contributory patent infringement, then any patent licenses
|
86
|
-
granted to You under this License for that Work shall terminate
|
87
|
-
as of the date such litigation is filed.
|
88
|
-
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
91
|
-
modifications, and in Source or Object form, provided that You
|
92
|
-
meet the following conditions:
|
93
|
-
|
94
|
-
(a) You must give any other recipients of the Work or
|
95
|
-
Derivative Works a copy of this License; and
|
96
|
-
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
98
|
-
stating that You changed the files; and
|
99
|
-
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
102
|
-
attribution notices from the Source form of the Work,
|
103
|
-
excluding those notices that do not pertain to any part of
|
104
|
-
the Derivative Works; and
|
105
|
-
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
108
|
-
include a readable copy of the attribution notices contained
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
111
|
-
of the following places: within a NOTICE text file distributed
|
112
|
-
as part of the Derivative Works; within the Source form or
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
114
|
-
within a display generated by the Derivative Works, if and
|
115
|
-
wherever such third-party notices normally appear. The contents
|
116
|
-
of the NOTICE file are for informational purposes only and
|
117
|
-
do not modify the License. You may add Your own attribution
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
120
|
-
that such additional attribution notices cannot be construed
|
121
|
-
as modifying the License.
|
122
|
-
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
124
|
-
may provide additional or different license terms and conditions
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
128
|
-
the conditions stated in this License.
|
129
|
-
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
133
|
-
this License, without any additional terms or conditions.
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
-
the terms of any separate license agreement you may have executed
|
136
|
-
with Licensor regarding such Contributions.
|
137
|
-
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
140
|
-
except as required for reasonable and customary use in describing the
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
-
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
152
|
-
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
158
|
-
incidental, or consequential damages of any character arising as a
|
159
|
-
result of this License or out of the use or inability to use the
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
162
|
-
other commercial damages or losses), even if such Contributor
|
163
|
-
has been advised of the possibility of such damages.
|
164
|
-
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
-
or other liability obligations and/or rights consistent with this
|
169
|
-
License. However, in accepting such obligations, You may act only
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
174
|
-
of your accepting any such warranty or additional liability.
|
175
|
-
|
176
|
-
END OF TERMS AND CONDITIONS
|
177
|
-
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
179
|
-
|
180
|
-
To apply the Apache License to your work, attach the following
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "{}"
|
182
|
-
replaced with your own identifying information. (Don't include
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
184
|
-
comment syntax for the file format. We also recommend that a
|
185
|
-
file or class name and description of purpose be included on the
|
186
|
-
same "printed page" as the copyright notice for easier
|
187
|
-
identification within third-party archives.
|
188
|
-
|
189
|
-
Copyright {yyyy} {name of copyright owner}
|
190
|
-
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
-
you may not use this file except in compliance with the License.
|
193
|
-
You may obtain a copy of the License at
|
194
|
-
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
-
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
-
See the License for the specific language governing permissions and
|
201
|
-
limitations under the License.
|
202
|
-
|