Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to attributes #453

Closed
wants to merge 6 commits into from
Closed

Fixes to attributes #453

wants to merge 6 commits into from

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Nov 11, 2016

Some code optimizations and bug fixes in the attributes

Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Even releases that have been EOL’d are 2.4

Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
I’m fairly certain this was a typo and it was meant to be 8 since PHP7 is in 8. Also this needs to be .to_i to make it ever work

Signed-off-by: Tim Smith <tsmith@chef.io>
@@ -17,7 +17,7 @@
# limitations under the License.
#

define :apache_module, :enable => true, :conf => false, :restart => false do # rubocop:disable Metrics/BlockLength

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

@@ -25,7 +25,7 @@
Chef::Log.warn("Currently the apache2 cookbook is configured to use the '#{node['apache']['mpm']}' MPM")
end

case node['platform_family'] # rubocop:disable Style/MultilineIfModifier

This comment was marked as outdated.

@@ -80,8 +80,8 @@
default['apache']['default_site_name'] = 'default'

# Where the various parts of apache are
case node['platform']
when 'redhat', 'centos', 'scientific', 'fedora', 'amazon', 'oracle'

This comment was marked as outdated.

@@ -48,9 +48,9 @@
when 'ubuntu'
node['platform_version'].to_f >= 13.10 ? '2.4' : '2.2'
when 'linuxmint'
node['platform_version'].to_i >= 16 ? '2.4' : '2.2'
node['platform_version'].to_i >= 16 ? '2.4' : '2.2' # this can go away 4/17

This comment was marked as outdated.

This comment was marked as outdated.

@tas50 tas50 closed this Nov 11, 2016
@tas50 tas50 deleted the tas50/attributes branch November 11, 2016 06:19
@lock lock bot unassigned svanzoest Jul 24, 2018
@lock
Copy link

lock bot commented Jul 24, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot unassigned svanzoest Jul 24, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants