Unverified Commit e74b86ee authored by Tim Smith's avatar Tim Smith Committed by GitHub

Merge pull request #69 from bmhatfield/cleanup

Resolve failures in the upcoming Chef Infra Client 16 release
parents 551f7919 17dd1058
......@@ -3,6 +3,8 @@ require 'chef/resource'
class Chef
class Resource
class UlimitDomain < Chef::Resource
resource_name :ulimit_domain
property :domain, String
property :domain_name, String, name_property: true
property :filename, String
......
......@@ -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