forked from ungleich-public/cdist
update regexp for sane characters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
96af393942
commit
99e6b9e6b1
2 changed files with 5 additions and 2 deletions
|
@ -63,8 +63,8 @@ __cdist_abs_myname="$__cdist_abs_mydir/$__cdist_myname"
|
||||||
: ${__cdist_name_type_bin:=type_bin}
|
: ${__cdist_name_type_bin:=type_bin}
|
||||||
: ${__cdist_name_type_explorer:=type_explorer}
|
: ${__cdist_name_type_explorer:=type_explorer}
|
||||||
|
|
||||||
# Used for IDs
|
# Used for IDs: Allow everything not starting with - and .
|
||||||
: ${__cdist_sane_regexp:=[A-Za-z0-9/]*[-A-Za-z0-9_/]*}
|
: ${__cdist_sane_regexp:=^[^-\.]}
|
||||||
|
|
||||||
# Default remote user
|
# Default remote user
|
||||||
: ${__cdist_remote_user:=root}
|
: ${__cdist_remote_user:=root}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
1.0.3: upcoming
|
||||||
|
* Update regexp used for sane characters
|
||||||
|
|
||||||
1.0.2: 2011-03-09
|
1.0.2: 2011-03-09
|
||||||
* Add manpages: cdist-type, cdist-type__file, cdist-reference, cdist-explorer
|
* Add manpages: cdist-type, cdist-type__file, cdist-reference, cdist-explorer
|
||||||
* Make doc/man/ usable as MANPATH entry
|
* Make doc/man/ usable as MANPATH entry
|
||||||
|
|
Loading…
Reference in a new issue