Skip to content

Commit

Permalink
Fix ulimit filename to have .conf extension
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhatfield committed Aug 29, 2013
1 parent 028143c commit dba897d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/domain.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
def load_current_resource
new_resource.filename new_resource.name unless new_resource.filename
new_resource.filename "#{new_resource.filename}.conf"

new_resource.subresource_rules.map! do |name, block|
urule = Chef::Resource::UlimitRule.new("ulimit_rule[#{new_resource.name}:#{name}]", nil)
urule.domain new_resource
Expand Down

0 comments on commit dba897d

Please sign in to comment.