ander
54d83a6211
there is no single author anymore, also remove www.
3 years ago
ander
e55db1b427
use check_output for git describe execution and define fallback VERSION earlier
3 years ago
ander
b41d80075a
update paths in setup.py
3 years ago
ander
42d5d6c3e2
redundant str()
3 years ago
ander
65c8af4ba3
overengineered version discovery
3 years ago
ander
174aa77280
__file__ already is absolute
3 years ago
ander
1614b62f70
fallback VERSION to "unknown version"
3 years ago
ander
fd04c03613
add parent dir to module search path only when importing fails
3 years ago
ander
86057cef19
don't die if there is no version.py
3 years ago
ander
fdc1ab93e9
move scripts/* to bin/
3 years ago
ander
3f1939716f
enable running scripts/cdist directly and symlinked
3 years ago
ander
45d51c0e15
rename build-helper -> cdist-build-helper
3 years ago
ander
8ecae42199
remove bin/cdist script
3 years ago
Darko Poljak
4df5c91912
++changelog
3 years ago
poljakowski
1057ceef01
Merge branch 'line-replace' into 'master'
...
[__line] Add support for '--state replace'
See merge request ungleich-public/cdist!939
3 years ago
evilham
c030deea3d
[__line] Add support for '--state replace'
...
It is currently counter-intuitive that something like:
# File '/thing' contents
#SomeSetting WrongValue
# Manifest
__line '/thing' \
--line 'SomeSeting GoodValue' \
--regex '^(#[[:space:]]*)?SomeSetting[[:space:]]'
Produces:
# Resulting '/thing' contents
#SomeSetting WrongValue
This makes sense given the implementation, but it masks a very common use-case.
Changing the default behaviour for such a base type is not really an option, so
instead we add a `replace` as a valid value for `--state`, which would result
in:
# Resulting '/thing' contents with: --state replace
SomeSetting GoodValue
For compatibility, if the regex is missing, `--state replace` behaves just as
`--state present`.
3 years ago
poljakowski
68a280d51a
Merge branch '__service-fix' into 'master'
...
Fixed calling of __systemd_service type with correct arguments.
See merge request ungleich-public/cdist!941
3 years ago
Mark Verboom
5aeed14b1b
Fixed calling of __systemd_service type with correct arguments.
3 years ago
Darko Poljak
3fa74b454a
Fix typo
3 years ago
Darko Poljak
52b5f05163
++changelog
3 years ago
poljakowski
34a7d8c280
Merge branch 'pkgng_freebsd-bootstrap' into 'master'
...
[__package_pkgng_freebsd] Bootstrap pkg if necessary
See merge request ungleich-public/cdist!940
3 years ago
evilham
f994226d0e
[__package_pkgng_freebsd] Bootstrap pkg if necessary
...
In a pristine FreeBSD base installation, pkg is really a bootstrapper utility,
in such cases the type used to fail instead of automatically bootstrapping pkg.
3 years ago
Darko Poljak
652c891858
++changelog
3 years ago
poljakowski
84ade29ca9
Merge branch 'docs/custom-remote-exec-copy-examples' into 'master'
...
Add custom remote copy/exec examples
See merge request ungleich-public/cdist!938
3 years ago
Darko Poljak
73d6c9d469
Add custom remote copy/exec examples
3 years ago
poljakowski
8ab1b6a03d
Merge branch 'fix/docs-makefile' into 'master'
...
docs: make varaibles environment-aware
See merge request ungleich-public/cdist!937
3 years ago
matze
84a7818121
docs: make varaibles environment-aware
...
There are all overwriting the environment, even the comment states
otherwise. Fixes it.
3 years ago
Darko Poljak
b6922508b9
Update helper script
3 years ago
Darko Poljak
0fc10749ed
Fix shellcheck
3 years ago
Darko Poljak
89a0080e13
++changelog
3 years ago
poljakowski
139a782c96
Merge branch '__package_pip_detect_pip_bin' into 'master'
...
[__package_pip] detect pip binary
See merge request ungleich-public/cdist!935
3 years ago
poljakowski
2e6c12c27c
Merge branch 'clarify-stdin-input' into 'master'
...
Clarify stdin input
Closes #836
See merge request ungleich-public/cdist!934
3 years ago
poljakowski
89b6215115
Clarify stdin input
...
Resolve #836 .
3 years ago
ander
decc0ad54d
[__package_pip] detect pip binary
3 years ago
Darko Poljak
2885c6a248
Release 6.8.0
3 years ago
Darko Poljak
53b91adbd8
Fix shellcheck
3 years ago
Darko Poljak
6b262a61c1
++changelog
3 years ago
poljakowski
a20ab63e60
Merge branch 'fix/__systemd_service/manpage' into 'master'
...
__systemd_service: fix manpage typos
See merge request ungleich-public/cdist!931
3 years ago
matze
b1375464cc
__systemd_service: fix manpage typos
3 years ago
poljakowski
f5b534df71
Merge branch 'fix/type/__timezone/singleton' into 'master'
...
__timezone: Make singleton
See merge request ungleich-public/cdist!916
3 years ago
Darko Poljak
b5a40eb0d1
++changelog
3 years ago
poljakowski
a4a3b98568
Merge branch 'feature/expand-require-separator' into 'master'
...
Expand and split by consecutive require delimiters
Closes #832
See merge request ungleich-public/cdist!930
3 years ago
Darko Poljak
c17541f24c
Expand and split by consecutive require delimiters
...
Resolves #832 .
3 years ago
Darko Poljak
ba26a437be
++changelog
3 years ago
poljakowski
a8ea56253c
Merge branch 'feature/explorer/os_version/debian-sid' into 'master'
...
explorer/os_version: Convert Debian sid to version number.
Closes #833
See merge request ungleich-public/cdist!927
3 years ago
poljakowski
2c1eca9ee7
Merge branch '__download_man_fix' into 'master'
...
[__download] fix manual: onchange parameter in wrong section
See merge request ungleich-public/cdist!929
3 years ago
poljakowski
52b75e513f
Merge branch '__unpack_onchange' into 'master'
...
[__unpack] add --onchange
See merge request ungleich-public/cdist!928
3 years ago
ander
d239169c4f
[__download] fix manual: onchange parameter in wrong section
3 years ago
ander
502d753047
[__unpack] add --onchange
3 years ago
Dennis Camera
6fed178529
[explorer/os_version] Convert Debian sid to version number.
...
Conversion of Debian sid to versions is done based on Debian codenames.
The version number is the version number of the final release - 0.01.
It is unknown if Debian < 4.0 has any sort of version information
available (apart from maybe checking base-files package version).
But I don't think any of these systems are still alive,
so I think going with 3.99 is fine for those.
3 years ago