diff --git a/resources/providers/config.rb b/resources/providers/config.rb index 428de6e..6239fd5 100755 --- a/resources/providers/config.rb +++ b/resources/providers/config.rb @@ -4,7 +4,7 @@ action :configure do # nofile settings hard = new_resource.hard - soft = new_resource.soft + soft = new_resource.soft # hard execute "ulimit -Hn #{hard}" do diff --git a/resources/resources/config.rb b/resources/resources/config.rb index ec4222e..76faea7 100755 --- a/resources/resources/config.rb +++ b/resources/resources/config.rb @@ -5,4 +5,4 @@ default_action :configure attribute :soft, kind_of: Integer, default: 65535 -attribute :hard, kind_of: Integer, default: 65535 \ No newline at end of file +attribute :hard, kind_of: Integer, default: 65535