22d570ae60
Rewrite __letsencrypt_cert type
...
This commit adds the following features:
* Ability to expand existing certificate
* Ability to manage object state
* Ability to obtain test certificate
* Ability to promote test certificate to production
* Ability to specify custom certificate name
* Ability to specify multiple domains per certificate
* Ability to use Certbot in standalone mode
* Messaging
This commit also introduces the following behavioral changes:
* Attempt to install Certbot only when it is not installed
already
* Installation of the cron job has to be enabled using
`--automatic-renewal` parameter
**Note:** Object ID is now treated as certificate name and new
required parameter `--domain` was added.
2018-05-08 10:49:49 +02:00
Darko Poljak
543bc8fed9
Merge pull request #660 from devinsolutions/docker-secret
...
__docker_secret: Set executable flag on scripts
2018-05-04 17:08:10 +02:00
fdb5bbcf91
__docker_secret: Set executable flag on scripts
2018-05-04 16:47:09 +02:00
1efbd6a3a0
__docker_config: Fix config-data explorer
...
Before this fix, the explorer returned binary data when config did
not exist.
This commit also removes dependency on jq and sets executable flag
on the explorer file.
2018-05-04 16:42:47 +02:00
Darko Poljak
3ddd46e489
Merge pull request #658 from devinsolutions/docker-secret
...
Add new type __docker_secret
2018-05-02 08:36:17 +02:00
5a7d74b905
Add new type __docker_secret
2018-04-30 17:59:31 +02:00
4f61f6be9c
Add new type __docker_config
2018-04-30 17:58:10 +02:00
aa20ed5ea1
__docker_stack: Use --with-registry-auth deploy option
...
Without this option, Swarm agents are unable to download images from
private registries.
2018-04-29 13:05:50 +02:00
Steven Armstrong
999f221c88
need a way to distinguish between install-config and normal config
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2018-04-05 10:32:33 +02:00
b695e82bec
FreeBSD improvements ( #651 )
2018-03-26 08:53:31 +02:00
958222133b
Fix spelling errors in manpages
2018-03-19 15:16:37 +01:00
Darko Poljak
ef13449687
Fix sphinx warnings.
2018-03-15 18:01:23 +01:00
Darko Poljak
fa32bd865b
Merge pull request #650 from devinsolutions/type-docker-stack
...
Add new type __docker_stack
2018-03-13 18:50:14 +01:00
7184228536
Add new type __docker_stack
2018-03-13 15:55:54 +01:00
8b86c6fc95
Add new type __docker_swarm
2018-03-13 15:54:47 +01:00
Darko Poljak
1bb9da233e
Merge pull request #647 from ungleich/new-prometheus
...
New __prometheus_server, __prometheus_alertmanager, __grafana_dashboard
2018-03-11 21:11:54 +01:00
f03a0e586e
__prometheus_{server,alertmanager}: restart when cli parameters change
2018-03-11 20:47:01 +01:00
f9443532a1
__key_value: --onchange parameter added ( #648 )
2018-03-11 18:01:38 +01:00
e63c3429da
__prometheus_{server,alertmanager}: update man pages
2018-03-11 11:07:59 +01:00
787f5237e5
__prometheus_{server,alertmanager}: use os_version instead of lsb_release
...
works without the `lsb-release` package and actually seems to be more reliable, even though it is inconsistent between debian and devuan
2018-03-11 10:55:24 +01:00
7ae24cf677
__grafana_dashboard: cleanup
2018-03-11 10:52:25 +01:00
34aefbc0f6
__prometheus_{server,alertmanager}: new man pages
2018-03-11 01:35:16 +01:00
ee6d63325d
new __prometheus_alertmanager; fixes to __prometheus_server
2018-03-11 01:28:26 +01:00
8a488591bb
__prometheus_server: switch to packages; assume prometheus 2.x
2018-03-11 00:47:33 +01:00
Nico Schottelius
bfe8b8fa57
Support stretch + ascii in __grafana_dashboard
2018-03-06 20:52:55 +01:00
Darko Poljak
bc94c01c49
Amend __file man.
2018-03-06 07:39:50 +01:00
a9a359d542
Add pre-exists state to __file ( #641 )
...
This allows checking whether a file exists, but erroring out instead of
creating the file if it does not (or is not a regular file).
2018-03-06 07:33:22 +01:00
b8ed816af4
Add __apt_default_release type ( #643 )
2018-03-05 12:40:11 +01:00
Darko Poljak
b870b6e43a
bugfix: __consul fails if consul is already running #633
2018-02-25 09:51:51 +01:00
Darko Poljak
ef7304499a
Merge pull request #629 from tom-ee/feature/improve__package_dpkg
...
add `--state`-parameter and messaging to __package_dpkg
2018-02-21 21:19:07 +01:00
a5dc6214e1
dpkg {-r|-P}
needs the package-, not the filename
2018-02-21 15:01:08 +01:00
3208ab614e
review notes (duplicate boolean section, comma separate "see also" items)
2018-02-21 11:16:23 +01:00
Darko Poljak
526e1c9a6d
Merge pull request #628 from tom-ee/bugfix/messaging__package_update_index
...
fix messaging for __package_update_index
2018-02-21 10:03:58 +01:00
Darko Poljak
1f93e7291e
Fix consul message and document messaging.
2018-02-21 10:00:25 +01:00
a545b10538
add --state
-parameter and messaging to __package_dpkg
...
- `--state` allows to remove a deb-package, if `--purge-if-absent` is
specified the package is purged instead of "only" removed
- messaging was added
- man-page updated accordingly
2018-02-20 16:46:26 +01:00
94c9d11cb8
fix messaging for __package_update_index
...
The message was printed unconditionally, even if no `apt-get update` had
been running.
2018-02-20 10:20:54 +01:00
Darko Poljak
c0dc26a577
Fix consul message.
2018-02-15 22:03:28 +01:00
Darko Poljak
48a0fb5bd0
Add message when adding consule directly on target.
2018-02-15 21:34:54 +01:00
Darko Poljak
9a832d88b5
Add option for directly downloading on target host.
2018-02-15 15:45:31 +01:00
Darko Poljak
0074bb0564
Fix minor docs formatting.
2018-02-14 20:07:44 +01:00
Darko Poljak
eb94d7a8bb
Remove update index type dep, call update index after adding new source. ( #623 )
2018-02-12 12:13:38 +01:00
Darko Poljak
47399bfa9f
Add --renew-hook param to letsencrypt_cert type.
2018-02-05 13:57:53 +01:00
Darko Poljak
fe7da4d8b3
Update man page.
2018-01-31 20:21:48 +01:00
Darko Poljak
d6ff077156
__package_apt ignores --version parameter #615
2018-01-31 20:18:11 +01:00
Darko Poljak
87558adbda
Merge pull request #620 from thriqon/130-issue-stdin
...
Allow reading contents of __motd and __issue from stdin
2018-01-31 20:12:10 +01:00
Darko Poljak
4d4d76bb38
Merge pull request #617 from tom-ee/maxage-for__package_update_index
...
Maxage for package update index
2018-01-31 13:57:09 +01:00
Jonas Weber
bfde7a6cfa
Allow __motd to read from stdin
2018-01-31 12:53:50 +00:00
Jonas Weber
2069650e74
Allow filling __issue from stdin
...
closes #130
2018-01-31 12:53:50 +00:00
fa91dbfcdb
(re-) copyright msg
2018-01-31 11:10:20 +01:00
6a6fdac25d
add error-message if OS is unsuppored; fix indentation
2018-01-31 10:37:30 +01:00