document /, // behaviour of object id

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-02-13 11:30:11 +01:00
parent 2d61070023
commit 95cbdeba27
3 changed files with 74 additions and 69 deletions

View file

@ -9,7 +9,10 @@ Changelog
* Bugfix __user: Correct shadow field in explorer (Matt Coddington) * Bugfix __user: Correct shadow field in explorer (Matt Coddington)
* Bugfix __link: Properly handle existing links (Steven Armstrong) * Bugfix __link: Properly handle existing links (Steven Armstrong)
* Bugfix __key_value: More robust implementation (Steven Armstrong) * Bugfix __key_value: More robust implementation (Steven Armstrong)
* Bugfix __user: Fix for changing a user's group by name (Matt Coddington)
* New Type: __package_pip * New Type: __package_pip
* Bugfix/Cleanup: Correctly allow Object ID to start and end with /, but
not contain //.
2.0.6: 2012-01-28 2.0.6: 2012-01-28
* Bugfix __apt_ppa: * Bugfix __apt_ppa:

View file

@ -1,7 +1,5 @@
- cleanup object_id handling - cleanup object_id handling
- have a look at singletons - have a look at singletons
- double check verification
- adjust tests
- remove useless - remove useless
ERROR: monitoring02: Code that raised the error: ERROR: monitoring02: Code that raised the error:

View file

@ -180,7 +180,11 @@ __object::
__object_id:: __object_id::
The type unique object id. The type unique object id.
Available for: type manifest, type explorer, type gencode Available for: type manifest, type explorer, type gencode
Note: The leading "/" will always be stripped.
Note: The leading and the trailing "/" will always be stripped (caused by
the filesystem database and ensured by the core).
Note: Double slashes ("//") will not be fixed and result in an error.
__self:: __self::
DEPRECATED: Same as __object_name, do not use anymore, use __object_name instead. DEPRECATED: Same as __object_name, do not use anymore, use __object_name instead.
Will be removed in cdist 3.x. Will be removed in cdist 3.x.