Commit graph

5947 commits

Author SHA1 Message Date
Daniel Heule
df693b9f47 added # shellcheck disable=SC2005 where we need the echo in __zypper explorers 2019-02-13 11:30:55 +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
5d3598b96e Release 4.10.5 2018-12-21 22:24:02 +01:00
Darko Poljak
0cb3cbae1b Remove unused explorer 2018-12-21 22:23:41 +01:00
Darko Poljak
794f20007f ++changelog 2018-12-19 17:14:37 +01:00
Darko Poljak
585221db28
Merge pull request #733 from sideeffect42/refactor-openbsd-pkg-type
Refactor __package_pkg_openbsd type
2018-12-19 17:13:10 +01:00
sideeffect42
7d50ba01da
Merge branch 'master' into refactor-openbsd-pkg-type 2018-12-15 09:46:50 +01:00
Takashi Yoshi
ede076e7c5 [type/__package_pkg_openbsd] Send messages local instead of remote 2018-12-15 09:06:09 +01:00
sideeffect42
57a3257a26
Merge branch 'master' into refactor-openbsd-pkg-type 2018-12-14 21:33:42 +01:00
Darko Poljak
93b0727c3b ++changelog 2018-12-14 16:19:30 +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
Darko Poljak
e3b0cbe8ac ++changelog 2018-12-14 15:20:17 +01:00
Darko Poljak
77d69c987d
Merge pull request #731 from sideeffect42/sysctl-more-oses
Better OS support for __sysctl type
2018-12-14 15:19:17 +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
Darko Poljak
75afdd4d69 ++changelog 2018-12-13 20:14:54 +01:00
Darko Poljak
a9427f6b2d
Merge pull request #729 from thriqon/allow-docker-ce-version-number
Allow docker ce version number as parameter to type
2018-12-13 20:13:32 +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
Darko Poljak
f2ef1ef0d6 ++changelog 2018-12-13 12:32:57 +01:00
Darko Poljak
4a4287e02a
Merge pull request #728 from oxr463/patch-1
Fix broken links.
2018-12-13 12:31:51 +01:00
Rage OxR463
96a0eaabf1
Fix broken links. 2018-12-12 12:12:36 -05:00
Nico Schottelius
49f2d3bf91 ++ changelog 2018-12-11 18:48:23 +01:00
Nico Schottelius
3b921b5dcf
Merge pull request #727 from jgug/develop
update for debian version 9
2018-12-11 18:44:23 +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
5014fd2388 ++changelog 2018-12-05 16:54:39 +01:00
Darko Poljak
45d1037491 [__postgres_role] Revert parts of a34060d703
Broken syntax fixed
2018-12-05 16:51:37 +01:00
Darko Poljak
0491b5b8db Revert "[__postgres_role] Revert parts of a34060d7035e84ff8f70d1e8d5bded7a1bfd71b3"
This reverts commit c85dfbdb10.
2018-12-05 16:41:22 +01:00
Nico Schottelius
c85dfbdb10 [__postgres_role] Revert parts of a34060d703
Broken syntax fixed
2018-12-05 13:14:19 +01:00
Darko Poljak
a85f2ebdb6 ++changelog 2018-11-27 10:41:02 +01:00
Darko Poljak
3a96c21f09
Merge pull request #723 from oliv3r/__ping
type: Add new type __ping
2018-11-27 10:40:03 +01:00
Darko Poljak
0e4ff14633
Merge pull request #725 from oliv3r/update_gitignore
Update .gitignore to more broadly ignore vim
2018-11-27 08:04:48 +01:00
Olliver Schinagl
6b95db8fc7
Update .gitignore to more broadly ignore vim
As per https://github.com/github/gitignore/blob/master/Global/Vim.gitignore

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2018-11-26 20:39:20 +01:00
Olliver Schinagl
71ceba4ac5
type: Add new type __ping
When starting with cdist, the documentation and examples can be
overwheliming. Further more, sometimes one would only want to do a
simple test to see if the basics are working. One such example currently
is to create a simple remote file. While this is a nice and simple
example, an even simpler example would be to just see if we can 'ping'
the host.

Other configuration management tools also seem to have this as a basic
starting command.

This thus allows to do:
echo __ping | cdist config --initial-manifest - <host>

as the most basic, most simple command to 'test' things with, without
having lingering files to boot.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2018-11-26 20:37:43 +01:00
Darko Poljak
308be1b6fa ++changelog 2018-11-18 16:04:24 +01:00
Darko Poljak
74d222079b
Merge pull request #721 from jimis/master
Fix __group type failing with --gid
2018-11-18 16:04:26 +01:00
Dimitrios Apostolou
2cae33f6d6 Fix __group type failing with --gid
The command `echo -- -g` prints `-- -g` so the generated `groupadd` command
was syntactically incorrect and failing. Solution was to remove `--` since
echo command does not understand it, and add instead an extra space before
`-g` to avoid echo interpreting it as a flag.
2018-11-18 01:30:40 +01:00
Darko Poljak
f8fbcdf2a7 Release 4.10.4 2018-11-03 19:22:59 +01:00
Darko Poljak
d11174f2b7 Add missing ;; in case item. 2018-11-03 19:21:20 +01:00