Commit graph

30 commits

Author SHA1 Message Date
David Schmitt
77022c5050 Merge pull request #208 from dmitryilyin/master
Add insert_type and subsetting_key_val_separator
2016-07-21 18:25:13 +01:00
Helen Campbell
fff45971c8 Additional tests - multiple ini settings creation 2016-07-18 17:27:13 +01:00
Dmitry Ilyin
357ecf8e8e Add insert_type and subsetting_key_val_separator
* Insert_type and insert value can define where
  a new subsetting element will be placed.
* subsetting_key_val_separator allows you to have
  a separator character between a subsetting name
  and its value.
* Refactor ini_subsetting and its spec.
2016-07-01 13:49:10 +03:00
Alan Petersen
ede74d1a67 Added refreshonly Parameter
Working with a recent customer, they had a product whose ini files have timestamps in them associated with particular settings. When those settings are updated, it is expected that the timestamp be updated as well. To do this with ini_setting, we need it to respond to refresh events and have a way of only updating a value if a refresh event occurs. Hence the little modification to make this possible.
2016-05-16 16:09:53 +01:00
Stepan Stipl
4853927093 Implemented show_diff parameter, with similar behaviour as show_diff on
type file

show_diff => true (default) prints diff to logs
show_diff => md5 prints only md5 hashes instead of actual values
show_diff => false redacts any information about values

Global show_diff config takes priotiry over this one.
2016-01-15 20:47:07 +00:00
Ryan Whitehurst
53606a2ac8 (maint) Fix README for ini_setting parameters
Update descriptions of the `section` parameter and the `setting`
parameter in `ini_setting` to match the descriptions in
`ini_subsetting`. Commit af78845 erroneously updated the README
description for the `setting` parameter with a description intended for
the `section` parameter.
2015-08-27 15:08:43 +01:00
Morgan Haskel
7e0527248f Merge pull request #186 from puppetlabs/1.4.x
1.4.x mergeback
2015-08-17 10:18:10 -07:00
Morgan Haskel
2ab47100c7 MODULES-2212 - Add use_exact_match parameter for subsettings
There's no way to distinguish between a subsetting with a value and a
subsetting with no value, so add a parameter to allow that to be
specified.
2015-07-31 16:11:27 -07:00
Hunter Haugen
af39974708 Reorder output and remove whitespace 2015-07-27 16:15:02 -07:00
jbondpdx
d9b4c3622a fixing mistakes in code samples 2015-07-27 16:11:32 -07:00
jbondpdx
7f465f53ce Edits to new Function: create_ini_settings in README
Also added language highlighting throughout.
2015-07-27 15:50:03 -07:00
TP Honey
7a45b38414 Merge pull request #173 from poikilotherm/fix/master/add_create_ini_settings_to_readme
MODULES-2158: Add documentation for create_ini_settings() to README
2015-07-20 12:34:33 +01:00
David Schmitt
560134c661 (maint) fixup description of ini_setting%setting 2015-07-07 11:07:25 +01:00
Oliver Bertuch
d3724aa875 Add documentation for create_ini_settings() to README 2015-07-03 16:14:21 +02:00
Drew Fisher
366523b5ab Add support for Solaris 12 2015-06-22 10:43:00 -06:00
WhatsARanjit
b0fb47d4ec Added ability to specify section_prefix and section_suffix to accomodate files with sections that don't follow [section_name] format. AIX for example uses section_name: format. 2015-04-15 03:56:08 -04:00
Chris Barker
af78845467 Adds default values for section
Our documentation says to use "" for section if you want top of file
global settings, this defaults to that assumption if the user doesn't
provide a section parameter at all.
2015-03-30 13:27:25 -07:00
Pete Soloway
9789615104 Updates README per DOC-1502
1. Remove any "what this affects" sections, except where particularly warranted.
2. Make sure that for each parameter, where applicable, there is a data type and a default value.
3. Make sure that for each parameter that's applicable, there is a note if the parameter is optional.
4. Make sure the links in the README work and are accurate.
5. Update the link in the Contributing section to point here: https://docs.puppetlabs.com/forge/contributing.html
6. General copyediting.
2015-03-19 13:26:56 -07:00
Pete Johns
927d87910a The Puppet Labs Issue Tracker has Moved
https://tickets.puppetlabs.com

Update the documentation accordingly
2014-11-11 07:03:07 +11:00
jbondpdx
4e3f602d78 DOC-1100: old inifile causes agent run failure in PE 3.3
Added a warning about old, manually installed inifile modules cause failure of agent runs on master as of PE 3.3. User needs to update inifile module.

Bonus round: DOC-1267. Corrected a broken link in the contributor section.
2014-10-10 15:13:09 -07:00
jbondpdx
4c94689e5d Docs: fixed code formatting
Fixed code indentation for Implementing Child Providers section.
2014-08-13 14:21:46 -07:00
jbondpdx
9f9e1d4ec9 Docs: New inifile readme 2014-08-13 10:28:03 -07:00
Garrett Honeycutt
4e1bc1e914 Fix link to travis in README 2014-01-23 17:43:26 -05:00
Johan Haals
ff98e78c0a make ensure => present the first attribute
ensure should be the first attribute. puppet-lint errors otherwise
2013-10-17 13:30:49 +02:00
Ashley Penney
903d47648a Prepare a 1.0.0 release. 2013-07-16 12:21:36 -04:00
Chris Price
ad38a08dc7 Update README.markdown 2013-04-02 15:28:34 -07:00
Chris Price
6c245ef674 Update Modulefile and Changelog, prepping for 0.10.0 release
This commit also adds some comments clarifying the new code
that was added to support purging.
2013-04-02 15:10:43 -07:00
Karel Brezina
4351d8b9c8 Added 'ini_subsetting' custom resource type 2013-03-25 11:34:37 +01:00
Chris Price
04e2c5ea3b Add CHANGELOG and update README; final commit for 0.0.2 release 2012-08-20 14:13:37 -07:00
Chris Price
4f0e7264e3 final commit for 0.0.1 release
* Updated README
* Fixed a small bug that would be triggered if the file specified
  by `path` didn't exist.
* Added a smoke test manifest
2012-08-16 21:50:20 -07:00