Commit 7c0c3a7d authored by Tim Smith's avatar Tim Smith
Browse files

Resolve cookstyle warnings


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 551f7919
......@@ -3,7 +3,6 @@ maintainer 'Brian Hatfield'
maintainer_email 'bmhatfield@gmail.com'
license 'Apache-2.0'
description 'Resources for manaing ulimits'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.0.0'
%w(amazon centos redhat scientific oracle fedora debian ubuntu).each do |os|
......@@ -12,4 +11,4 @@ end
source_url 'https://github.com/bmhatfield/chef-ulimit'
issues_url 'https://github.com/bmhatfield/chef-ulimit/issues'
chef_version '>= 12.7' if respond_to?(:chef_version)
chef_version '>= 12.7'
# Cookbook:: ulimit
# Recipe:: default
#
# Copyright 2012, Brightcove, Inc
# Copyright:: 2012, Brightcove, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......@@ -17,8 +17,7 @@
#
ulimit = node['ulimit']
case node['platform_family']
when 'debian'
if platform_family?('debian')
template '/etc/pam.d/su' do
cookbook ulimit['pam_su_template_cookbook']
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment