GitXplorerGitXplorer
f

ini_updater

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
94611838937fcd8999d5d7b06398f6cf32a9f44e

Improving example

ffejese committed 10 years ago
Unverified
273bfee1f1dd74e10d2d39f8988ae9d2d68630a5

Formatting fix

ffejese committed 10 years ago
Unverified
3afa7fc4298b9f40f53688db0f45d77589cb85af

Initial version

ffejese committed 10 years ago
Unverified
be2b54da4103f4adee3bd668169d79c3cae76f9b

Initial commit

ffejese committed 10 years ago

README

The README file for this repository.

Description

Chef cookbook providing ini file update helper

Requirements

No requiremenst.

Attributes

No attributes used.

Usage

Just define this cookbook as a dependency and use the update_ini definition.

e.g.

update_ini "/etc/php5/apache2/php.ini" do
    settings {
        "max_execution_time" => "300",
        "max_input_time" => "600",
        "max_input_vars" => "2100",
        "post_max_size" => "5M",
        "setting_to_remove" => nil
    }
end

Use nil as value to remove setting from the ini file.

License and Authors

Author: Endre Fejes (fejese@fejese.com)

Copyright: 2014, Endre Fejes

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.