|
7a25ec00ed
|
__acl: add TODO note about dry-run
|
2019-05-14 13:42:56 +03:00 |
|
|
7dfc5bc473
|
__acl: we do not have to check here if file exist
|
2019-05-14 13:41:32 +03:00 |
|
|
ca8bc959ed
|
__acl: add todo note
|
2019-05-14 13:27:43 +03:00 |
|
Nico Schottelius
|
569ae29955
|
[__package_apk] fix / add support for @yrepo syntax
|
2019-05-14 11:47:15 +02:00 |
|
Darko Poljak
|
15f01149f9
|
Update old homepage residual refs and non working git protocol
|
2019-05-09 08:26:42 +02:00 |
|
Darko Poljak
|
8b93bf0218
|
Migrate from github to ungleich gitlab
|
2019-04-25 22:23:06 +02:00 |
|
Darko Poljak
|
880f653ec2
|
Merge pull request #771 from sideeffect42/quote-block
__block: Quote prefix/suffix
|
2019-04-24 12:23:19 +02:00 |
|
Darko Poljak
|
5b20950045
|
Merge pull request #773 from sideeffect42/postgres-nopw
__postgres_{database,role}: Run psql with --no-password (-w)
|
2019-04-24 12:20:48 +02:00 |
|
Takashi Yoshi
|
f7ace88ec2
|
[__postgres_{database,role}] Run psql with --no-password (-w)
cdist does not work with interactive processes, so it's better to fail when
manual password input is required.
|
2019-04-24 11:38:31 +02:00 |
|
Takashi Yoshi
|
510ea220f2
|
[type/__block] Quote prefix and suffix correctly
Before prefix and suffix were not allowed to contain " (quotes).
|
2019-04-24 11:27:26 +02:00 |
|
|
4c21983698
|
__acl: remove macosx because no way to properly test
|
2019-04-24 00:39:54 +03:00 |
|
|
f586937614
|
__acl: drop Solaris because POSIX-draft ACL specification is not supported
|
2019-04-24 00:36:53 +03:00 |
|
|
d66b6969f3
|
__acl: rename missing_users_groups explorer to more generic name for future checks
|
2019-04-24 00:09:49 +03:00 |
|
|
894311a572
|
__acl: if users/groups check fail, log error and exit in explorer
|
2019-04-24 00:08:43 +03:00 |
|
Dmitry Bogatov
|
a95d4ffefa
|
Fix spelling error in manpage
|
2019-04-23 17:18:28 +02:00 |
|
Darko Poljak
|
c2d32a78a9
|
Merge pull request #768 from 4nd3r/fixes_for_solaris
[RFC] fixes for solaris
|
2019-04-22 09:20:57 +02:00 |
|
|
038524ba30
|
support solaris in __(file|directory)/explorer/stat
|
2019-04-20 16:10:17 +03:00 |
|
|
e3a900c1c9
|
__ssh_authorized_keys: remove legacy code
|
2019-04-20 16:10:17 +03:00 |
|
Darko Poljak
|
250f3d3fb8
|
shellcheck: remove unused var
|
2019-04-20 12:40:04 +02:00 |
|
|
108e46abee
|
__acl: fix removal in freebsd
|
2019-04-19 15:04:18 +03:00 |
|
|
186ce77bb2
|
__acl: add messaging
|
2019-04-19 14:58:44 +03:00 |
|
|
c7e6109462
|
__acl: tabs vs spaces
|
2019-04-19 14:49:02 +03:00 |
|
|
05225352aa
|
__acl: check for missing users and groups (common mistake)
|
2019-04-19 14:48:26 +03:00 |
|
|
6d71ae342a
|
__acl: update man more
|
2019-04-19 14:47:16 +03:00 |
|
|
13df0a2a2b
|
__acl: update man
|
2019-04-19 14:11:29 +03:00 |
|
|
8729e39c21
|
__acl: combine two explorers into one
|
2019-04-19 13:48:24 +03:00 |
|
|
86f45db1b9
|
__acl: add nice oneliners and move default ACL decision out of the loop
|
2019-04-19 13:30:50 +03:00 |
|
|
0f3c162696
|
__acl: setting default ACL in FreeBSD and macOS is currently not supported
|
2019-04-19 13:16:35 +03:00 |
|
|
0809d89836
|
__acl: replace sed -r where possible or make it portable without -r
|
2019-04-19 12:56:55 +03:00 |
|
|
f5d3196dd4
|
__acl: getfacl's -E not supported on FreeBSD
|
2019-04-19 11:31:38 +03:00 |
|
|
68f61c35ff
|
__acl: check for X after last occurrence of colon
|
2019-04-16 23:36:54 +03:00 |
|
|
f23099218a
|
__acl: juggle man sections around because user/group are more important parameters
|
2019-04-16 23:29:38 +03:00 |
|
|
7924c1339c
|
__acl: avoid duplication and safer sed for last occurence replacement
|
2019-04-16 23:28:30 +03:00 |
|
|
8b3c84dfef
|
__acl: remove whitespace before inline comments too
|
2019-04-16 23:15:58 +03:00 |
|
|
a1634b3ec0
|
__acl: optimize gencode-remote
|
2019-04-16 19:24:38 +03:00 |
|
|
c1a34caba7
|
__acl: add "other" ACL entry support and some comments, remove getfacl's inline comments
|
2019-04-16 19:06:48 +03:00 |
|
|
e04d647d8e
|
__acl: fix always check first if path exists
|
2019-04-16 18:09:47 +03:00 |
|
|
53c963b2ee
|
__acl: be bit more precise where the X is
|
2019-04-16 15:35:11 +03:00 |
|
|
8b9b2c56ab
|
__acl: be more strict because of reasons
|
2019-04-16 15:28:25 +03:00 |
|
|
cea639d1c9
|
__acl: we can't remove mask
|
2019-04-16 15:27:47 +03:00 |
|
|
731986ef8b
|
__acl: trying to understand X
|
2019-04-16 15:21:41 +03:00 |
|
|
9e3cd47b9a
|
__acl: command -v stdout to devnull
|
2019-04-16 15:03:07 +03:00 |
|
|
2b5887bdbd
|
__acl: we only care whether file is directory
|
2019-04-16 14:51:26 +03:00 |
|
|
ab954ffbcf
|
__acl: always check first if path exists
|
2019-04-16 14:44:32 +03:00 |
|
|
ef8ff06b5f
|
__acl: only directories can have default ACLs
|
2019-04-16 14:39:45 +03:00 |
|
|
d71eb3d8bd
|
__acl: (open|net)bsd do not have (get|set)facl
|
2019-04-16 14:20:13 +03:00 |
|
|
2cde09648c
|
__acl: check if getfacl is available
|
2019-04-16 14:15:48 +03:00 |
|
Darko Poljak
|
c7a4ae112f
|
Merge pull request #759 from jimis/acl_mask
Add support for ACL mask.
|
2019-04-16 11:00:27 +02:00 |
|
Dimitrios Apostolou
|
437af3a0a3
|
Silence getfacl
otherwise it always prints the message:
getfacl: Removing leading '/' from absolute path names
|
2019-04-15 20:51:02 +02:00 |
|
Nico Schottelius
|
63d7499b75
|
[directory] add alpine support
|
2019-04-15 19:27:42 +02:00 |
|
Nico Schottelius
|
1722fced72
|
[file] add alpine support
|
2019-04-15 19:13:44 +02:00 |
|
Nico Schottelius
|
a1cb9ee869
|
[locale/alpine] exit 0 in gencode-remote
|
2019-04-15 18:56:51 +02:00 |
|
Nico Schottelius
|
e290733a00
|
[locale] Add alpine support
|
2019-04-15 18:54:30 +02:00 |
|
Nico Schottelius
|
f4db6e908e
|
[hostname] add alpine support
|
2019-04-15 18:48:49 +02:00 |
|
Nico Schottelius
|
c801fb4965
|
[timezone] + alpine support
|
2019-04-15 18:44:30 +02:00 |
|
Dimitrios Apostolou
|
6062e3557c
|
Output of grep should be quiet, as we care only for the exit code.
|
2019-04-15 18:05:16 +02:00 |
|
Dimitrios Apostolou
|
45e9ed441e
|
Add support for ACL mask.
|
2019-04-15 18:05:16 +02:00 |
|
Nico Schottelius
|
ec935353d7
|
[__start_on_boot] Merge alpine and gentoo, update gentoo
|
2019-04-15 17:02:09 +02:00 |
|
Nico Schottelius
|
dbf29c18c1
|
[__start_on_boot] alpine fix
|
2019-04-15 16:41:27 +02:00 |
|
Nico Schottelius
|
707426d1f0
|
[__start_on_boot] add code for alpine handling, fix explorer
|
2019-04-15 16:35:10 +02:00 |
|
Nico Schottelius
|
e32d92c109
|
[__start_on_boot] Begin to add alpine support
|
2019-04-15 16:32:54 +02:00 |
|
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 |
|
|
44c9d09383
|
fix __(file|directory)/explorer/stat for BSDs
|
2019-04-12 23:34:28 +03: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
|
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 |
|