Ľubomír Kučera
e7e8f1428a
Add new type __install_coreos
7 years ago
Steven Armstrong
fb26894cbd
when searching treat line as string, and regex as regexp
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
7 years ago
Steven Armstrong
a3968f8313
rewrite __line type for --before and --after support
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
7 years ago
Ľubomír Kučera
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.
7 years ago
Ľubomír Kučera
fdb5bbcf91
__docker_secret: Set executable flag on scripts
7 years ago
Ľubomír Kučera
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.
7 years ago
Ľubomír Kučera
5a7d74b905
Add new type __docker_secret
7 years ago
Ľubomír Kučera
4f61f6be9c
Add new type __docker_config
7 years ago
Ľubomír Kučera
aa20ed5ea1
__docker_stack: Use --with-registry-auth deploy option
...
Without this option, Swarm agents are unable to download images from
private registries.
7 years ago
Steven Armstrong
999f221c88
need a way to distinguish between install-config and normal config
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
7 years ago
Kamila Součková
b695e82bec
FreeBSD improvements ( #651 )
7 years ago
Dmitry Bogatov
958222133b
Fix spelling errors in manpages
7 years ago
Darko Poljak
ef13449687
Fix sphinx warnings.
7 years ago
Ľubomír Kučera
7184228536
Add new type __docker_stack
7 years ago
Ľubomír Kučera
8b86c6fc95
Add new type __docker_swarm
7 years ago
Kamila Souckova
f03a0e586e
__prometheus_{server,alertmanager}: restart when cli parameters change
7 years ago
Kamila Součková
f9443532a1
__key_value: --onchange parameter added ( #648 )
7 years ago
Kamila Souckova
e63c3429da
__prometheus_{server,alertmanager}: update man pages
7 years ago
Kamila Souckova
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
7 years ago
Kamila Souckova
7ae24cf677
__grafana_dashboard: cleanup
7 years ago
Kamila Souckova
34aefbc0f6
__prometheus_{server,alertmanager}: new man pages
7 years ago
Kamila Souckova
ee6d63325d
new __prometheus_alertmanager; fixes to __prometheus_server
7 years ago
Kamila Souckova
8a488591bb
__prometheus_server: switch to packages; assume prometheus 2.x
7 years ago
Nico Schottelius
54ca7b40c7
Update consul agent init script so that it works again on Devuan
...
Error before:
---- BEGIN code-remote:stderr ----
insserv: warning: script 'consul' missing LSB tags and overrides
insserv: There is a loop between service monit and consul if stopped
insserv: loop involving service consul at depth 2
insserv: loop involving service monit at depth 1
insserv: Stopping consul depends on monit and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
7 years ago
Nico Schottelius
bfe8b8fa57
Support stretch + ascii in __grafana_dashboard
7 years ago
Darko Poljak
bc94c01c49
Amend __file man.
7 years ago
Matthijs Kooijman
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).
7 years ago
Matthijs Kooijman
b8ed816af4
Add __apt_default_release type ( #643 )
7 years ago
Darko Poljak
b870b6e43a
bugfix: __consul fails if consul is already running #633
7 years ago
Thomas Eckert
a5dc6214e1
`dpkg {-r|-P}` needs the package-, not the filename
7 years ago
Thomas Eckert
3208ab614e
review notes (duplicate boolean section, comma separate "see also" items)
7 years ago
Darko Poljak
1f93e7291e
Fix consul message and document messaging.
7 years ago
Thomas Eckert
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
7 years ago
Thomas Eckert
94c9d11cb8
fix messaging for __package_update_index
...
The message was printed unconditionally, even if no `apt-get update` had
been running.
7 years ago
Darko Poljak
c0dc26a577
Fix consul message.
7 years ago
Darko Poljak
48a0fb5bd0
Add message when adding consule directly on target.
7 years ago
Darko Poljak
9a832d88b5
Add option for directly downloading on target host.
7 years ago
Darko Poljak
0074bb0564
Fix minor docs formatting.
7 years ago
Darko Poljak
eb94d7a8bb
Remove update index type dep, call update index after adding new source. ( #623 )
7 years ago
Darko Poljak
47399bfa9f
Add --renew-hook param to letsencrypt_cert type.
7 years ago
Darko Poljak
fe7da4d8b3
Update man page.
7 years ago
Darko Poljak
d6ff077156
__package_apt ignores --version parameter #615
7 years ago
Jonas Weber
bfde7a6cfa
Allow __motd to read from stdin
7 years ago
Jonas Weber
2069650e74
Allow filling __issue from stdin
...
closes #130
7 years ago
Thomas Eckert
fa91dbfcdb
(re-) copyright msg
7 years ago
Thomas Eckert
6a6fdac25d
add error-message if OS is unsuppored; fix indentation
7 years ago
Thomas Eckert
cb21b3679a
add missing legal boilerplate to explorer
7 years ago
Thomas Eckert
e31de114e3
__package_update_index: update man-page w/ `--magage` and MESSAGING
7 years ago
Thomas Eckert
179c5a2dfe
__package_update_index: optional `--maxage <seconds>`-parameter for apt
...
`--maxage 3600` ensures that `apt-get --quiet update` is only done if
the previous run was at least 1 hour ago.
This also adds messaging
7 years ago
Thomas Eckert
2dc5550fa4
__package_update_index: update man-page w/ `--magage` and MESSAGING
7 years ago