Commit Graph

6126 Commits

Author SHA1 Message Date
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
kjg 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
Darko Poljak 0882a0beec ++changelog 2018-11-03 19:17:24 +01:00
sideeffect42 a34060d703 Improve OpenBSD support (#720)
* [type/__timezone] Whitelist OpenBSD

OpenBSD ships /etc/localtime and /usr/share/zoneinfo by default.

* [type/__postgres_{database,role}] Add explorer support for OpenBSD

On OpenBSD the "postgres" user is called "_postgresql".
The "postgres" database must me specifically specified as it differs from the
user name.

* [type/__postgres_{database,role}] Add gencode support for OpenBSD

On OpenBSD the "postgres" user is called "_postgresql".
The "postgres" database must me specifically specified when using psql as it
differs from the user name.

* [type/__postgres_role] Query DB if role exists instead of screen scaping

* [type/__postgres_database] Query DB if database exists instead

* [type/__postgres_{database,role}] Add user for NetBSD

* [type/__postgres_extension] Add support for OpenBSD and NetBSD

* [__ssh_authorized_key] Add OpenBSD support to entry explorer

Make sure to adhere to re_format(7) for OpenBSD compatibility.

https://man.openbsd.org/re_format.7

* [type/__start_on_boot] Add support for OpenBSD
2018-11-03 19:17:56 +01:00
Darko Poljak 6d70205319 ++changelog 2018-11-02 15:25:13 +01:00
Darko Poljak 14b1952edf
Merge pull request #719 from tom-ee/docs-patches
Docs patches
2018-11-02 15:24:37 +01:00
Darko Poljak e860f1c792 Determine source_is only if destination is symlink. 2018-11-02 14:35:06 +01:00
tom a3a0023b2a man-pages are no longer in asciidoc but in ReSTructured text instead 2018-10-31 20:24:07 +01:00
tom 1bae2be406 Synchronize notes on ssh-connection multipexing with current state. 2018-10-31 20:22:41 +01:00
Darko Poljak 6895ad0207 Fix post-shellcheck bug. 2018-10-24 18:26:33 +02:00
Darko Poljak 8c03518962 Fix spelling. 2018-10-17 07:09:59 +02:00
Darko Poljak 3d56aa83ac ++changelog 2018-10-14 10:32:30 +02:00
Darko Poljak 72a0da5537
Merge pull request #718 from darko-poljak/bugfix/716-conflicting-object-parameters
Fix DirectoryDict getitem.
2018-10-14 10:32:15 +02:00
Darko Poljak 5480c22020 Adapt object_parameters before checking conflicting parameters. 2018-10-13 16:11:51 +02:00
Darko Poljak 151edc6398 Fix DirectoryDict getitem. 2018-10-12 19:08:36 +02:00
Darko Poljak 3b7f39cab7 ++changelog 2018-10-12 15:14:30 +02:00
Darko Poljak 09bd321c5c
Merge pull request #715 from tom-ee/improve__user-type
* explicitly check for `absent` to handle state-typos gracefully
* add messaging
* redirect stdout+stderr of `userdel`
If no mail-spoolfile exists for the user the error reporting was
visible in the cdist-run.
* add new messages to man.rst
* quote "remote user", ensuring `user` is handled as one parameter
* fix [SC1117] (explicitly excaping `\n`)
2018-10-12 15:14:21 +02:00
tom c5098dfcc5 fix [SC1117] (explicitly excaping `\n`) 2018-10-12 14:05:38 +02:00
tom c950dd1e90 quote "remote user", ensuring `user` is handled as one parameter 2018-10-12 14:05:38 +02:00
tom 5761939fa9 add new messages to man.rst 2018-10-12 14:05:38 +02:00
tom c995d08ce2 redirect stdout+stderr of `userdel`
If no mail-spoolfile exists for the user the error reporting was
visible in the cdist-run.
2018-10-12 14:05:38 +02:00
tom a1bf381370 add messaging 2018-10-12 14:05:38 +02:00
tom 409d736339 explicitly check for `absent` to handle state-typos gracefully 2018-10-12 14:05:38 +02:00