Nico Schottelius
c7a9e60de0
Merge branch 'master' of github.com:ungleich/cdist
2019-04-15 16:20:31 +02:00
Nico Schottelius
3a2041019b
[alpine] add support for alpine in __package and __package_apk
2019-04-15 16:11:58 +02:00
Darko Poljak
b21b6d0a7e
Merge pull request #755 from 4nd3r/bsd_stat_fix
...
fix __(file|directory)/explorer/stat for BSDs
2019-04-13 19:49:45 +02:00
44c9d09383
fix __(file|directory)/explorer/stat for BSDs
2019-04-12 23:34:28 +03:00
Ander Punnar
1c152f0acb
fix disks explorer ( #753 )
...
* fix disks explorer
* fix SC2230
* exclude floppies
* update comment about excluded floppies
* add link to linux documentation about device majors
* try to support netbsd
* update possible netbsd disk devices
2019-04-12 20:41:05 +02:00
204a572709
__link: add messaging
2019-04-11 13:59:15 +03:00
Darko Poljak
1ba5f6276e
Merge pull request #748 from markasoftware/ufw
...
UFW (Uncomplicated FireWall)
2019-04-11 08:19:37 +02:00
Mark Polyakov
0ce96f0860
Added __ufw and __ufw_rule.
2019-04-10 19:45:34 -07:00
Darko Poljak
671bb82a46
Fix shellcheck issues
2019-04-09 22:44:40 +02:00
Darko Poljak
f6b318bb00
Fire onchange for present and exists states
...
Even if no attribute is changed.
Fixes #750 .
2019-04-09 22:23:21 +02:00
Steven Armstrong
88513e6693
__ssh_authorized_keys: properly handle multiple --option parameters, fixes #393
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2019-04-07 12:17:19 +02:00
Darko Poljak
b47c6e3fe4
Fix shellcheck SC2002
2019-04-06 10:52:32 +02:00
decd80bf5d
be more explicit
2019-04-04 00:20:46 +03:00
da6a22c71a
new type: __check_messages
2019-04-03 01:11:03 +03:00
668dc83632
do not exit with non-zero if path does not exist or not directory
2019-04-02 17:52:00 +03:00
Darko Poljak
a60ce2fcfb
Merge pull request #744 from 4nd3r/__rm
...
new type: __clean_path
2019-03-30 12:36:38 +01:00
5f76bd5655
new type: __clean_path
2019-03-30 13:21:13 +02:00
Darko Poljak
6eb0aa4aeb
Merge pull request #743 from 4nd3r/__file_onchange
...
add --onchange to __file
2019-03-29 22:57:16 +01:00
c6fd43da81
add --onchange to __file, because having to use __config_file just for that feels redundant
2019-03-29 23:43:09 +02:00
0f6fe4764b
add --onchange to __line
2019-03-28 23:31:38 +02:00
Silas
28e2b058a4
Use portable -p instead of --tmpdir for mktemp
...
-p is equivalent to --tmpdir, but more portable, since it works across
GNU/Linux and *BSDs
2019-03-25 18:36:55 -03:00
Daniel Néri
dbcf7d5543
explorer/disks: Add support for OpenBSD
2019-03-19 23:13:24 +01:00
Daniel Néri
0fc64a951c
explorer/cpu_cores: Add support for OpenBSD
2019-03-19 23:09:01 +01:00
Daniel Néri
15ab7c0810
Implement "__start_on_boot --state absent" for OpenBSD
2019-03-16 17:23:19 +01:00
Darko Poljak
a40a81d36f
To keep original echo intentionally disable SC2046 too
2019-02-15 20:44:03 +01:00
Darko Poljak
867b9cb102
shellcheck: SC2236: use -n instead of ! -z
2019-02-15 20:44:03 +01:00
Darko Poljak
a3a7219ad6
Merge pull request #734 from dheule/fix_zypper_types_echo
...
readd the use of echo in my explorers
2019-02-13 18:14:49 +01:00
Daniel Heule
df693b9f47
added # shellcheck disable=SC2005 where we need the echo in __zypper explorers
2019-02-13 11:30:55 +01:00
Dominique Roux
67c3c8ca12
Added a startup flag for prometheus alertmanager
...
aded the flag --cluster.advertise-address since it is needed for startup on a machine
which does not provide a private v4
2019-01-28 09:32:02 +01:00
Daniel Heule
0bdd590344
readd the use of echo in my explorers
...
this is nessessary for
remove blanks in output (strip)
catch exit codes of zypper (for example if no repo is defined at all)
2019-01-22 13:30:06 +01:00
Darko Poljak
0cb3cbae1b
Remove unused explorer
2018-12-21 22:23:41 +01:00
sideeffect42
57a3257a26
Merge branch 'master' into refactor-openbsd-pkg-type
2018-12-14 21:33:42 +01:00
Darko Poljak
fccbcb2eb8
Merge pull request #732 from sideeffect42/package-messages
...
All package types send messages upon installation/removal
2018-12-14 16:18:20 +01:00
Takashi Yoshi
a7f1eda328
[type/__package_emerge] Send error messages to stderr
2018-12-14 15:54:54 +01:00
Takashi Yoshi
aa456ab6c1
[type/__package_pkg_openbsd] Clean up code
2018-12-14 15:51:47 +01:00
Takashi Yoshi
498628d16a
[type/__package_pkg_openbsd] Misc. fixes and improvements
2018-12-14 15:49:23 +01:00
Takashi Yoshi
827081f8a2
[type/__package_pkg_openbsd/explorer/pkg_version] Fix version extraction
...
The earlier code stripped away all non-numeric parts of the version number.
E.g. "5.6.38p0" would be trimmed to "5.6.38"
2018-12-14 15:49:06 +01:00
Takashi Yoshi
c492c53a98
[type/__package_pkg_openbsd] Send error messages to stderr
2018-12-14 15:46:31 +01:00
Takashi Yoshi
9acb9d1f3a
[type/__sysctl] Group entries
2018-12-14 14:12:33 +01:00
Takashi Yoshi
92610fe76c
[type/__sysctl] Add support for Alpine Linux, Gentoo and OpenWrt
2018-12-14 13:51:44 +01:00
Takashi Yoshi
45ff67c0f5
[type/__sysctl] Add Mac OS X support
2018-12-14 13:51:44 +01:00
Takashi Yoshi
566feba5b1
[type/__sysctl] Add NetBSD support
2018-12-14 13:51:44 +01:00
Takashi Yoshi
b36716ef36
[type/__sysctl] Add OpenBSD support
2018-12-14 13:51:44 +01:00
Takashi Yoshi
183d57d6d2
[type/__sysctl] Fix spelling of FreeBSD
2018-12-14 12:43:57 +01:00
Jonas Weber
d4bb114468
Remove usage of CDIST_ORDER_DEPENDENCY
2018-12-13 13:26:40 +01:00
Jonas Weber
a7f4c8d773
Allow installing specific Docker-CE version
2018-12-13 13:23:49 +01:00
8ad93a29c9
update for debian version 9
2018-12-12 01:40:39 +09:00
Takashi Yoshi
ccdbf1a31c
[type/__package_emerge_dependendencies] Send messages when a dependency is installed
2018-12-07 16:55:49 +01:00
Takashi Yoshi
7e9dce0ceb
[type/__package_*] Print installed/removed messages
...
Up-/downgraded packages will send an "installed" message.
2018-12-07 16:53:21 +01:00
Darko Poljak
45d1037491
[__postgres_role] Revert parts of a34060d703
...
Broken syntax fixed
2018-12-05 16:51:37 +01:00