Commit graph

5754 commits

Author SHA1 Message Date
Darko Poljak
a1a589ab59
Merge pull request #666 from darko-poljak/fix-letsencrypt-cert
Fix __letsencrypt_cert type: use object id as domain
2018-05-30 19:41:50 +02:00
Darko Poljak
efebe15386 Fix __letsencrypt_cert type: use object id as domain if domain param is not specified 2018-05-30 19:38:56 +02:00
Darko Poljak
81adabd1ab ++changelog 2018-05-28 08:04:41 +02:00
Darko Poljak
98ceebe386
Merge pull request #667 from aluuu/master
Fix __package_yum explorer
2018-05-28 08:05:59 +02:00
Nico Schottelius
ab62d58715 ++ changes 2018-05-27 19:09:24 +02:00
Nico Schottelius
709c216096 [__consul_agent] Add LSB header so that innserv doe not fail 2018-05-27 19:07:57 +02:00
Alexander Dinu
b3a4152e00 Fix __package_yum explorer
Why:

In case when name contains package name with exact version specified (e.g. rpm-build-4.11.3)
```
rpm -q --whatprovides "$pkg_name"
```

will tell you that no package could provide you with 'rpm-build-4.11.3',
because it's not virtual or file-provide, but exact package name.

This will lead to the installation of the package which was already installed.
It slows down manifest execution a lot.

My change will keep previous behaviour which relies on --whatprovides and
will fix wrong behaviour when argument is full package name with version.
2018-05-27 17:20:55 +02:00
Darko Poljak
ab696a8cb8 ++changelog 2018-05-25 18:01:26 +02:00
Darko Poljak
d662cc0d1b
Merge pull request #664 from devinsolutions/install-coreos
Add new type __install_coreos
2018-05-25 18:02:14 +02:00
e7e8f1428a Add new type __install_coreos 2018-05-21 11:10:54 +02:00
Steven Armstrong
fb26894cbd when searching treat line as string, and regex as regexp
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2018-05-18 16:57:34 +02:00
Steven Armstrong
a3968f8313 rewrite __line type for --before and --after support
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2018-05-18 01:25:35 +02:00
Darko Poljak
e6b6925908 Release 4.9.0 2018-05-17 16:11:05 +02:00
Darko Poljak
6946dc877a pep8 2018-05-17 13:33:58 +02:00
Darko Poljak
3cf417fa2b Fix NameError: name 'cdist_object' is not defined, #662 2018-05-15 12:12:01 +02:00
Darko Poljak
72bb485db7 ++changelog 2018-05-11 18:29:43 +02:00
Darko Poljak
87c48bebc5
Merge pull request #661 from devinsolutions/letsencrypt-cert
Rewrite __letsencrypt_cert type
2018-05-11 18:29:11 +02:00
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
Darko Poljak
6c462b2617
Merge pull request #659 from devinsolutions/docker-config
__docker_config: Fix config-data explorer
2018-05-04 17:07:50 +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
b5e96efcbf ++changelog 2018-05-02 08:35:12 +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
Darko Poljak
6722f56df1
Merge pull request #657 from devinsolutions/docker-config
Add new type __docker_config
2018-05-02 08:35:49 +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
Darko Poljak
3869940fc8 ++changelog 2018-04-29 20:39:39 +02:00
Darko Poljak
6893a5f990
Merge pull request #656 from devinsolutions/docker-stack
__docker_stack: Use --with-registry-auth deploy option
2018-04-29 20:40:41 +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
Darko Poljak
09642142f4 Release 4.8.4 2018-04-20 14:31:10 +02:00
Darko Poljak
7349da777b ++changelog 2018-04-20 14:24:51 +02:00
Darko Poljak
2a9057f892 ++changelog 2018-04-19 17:53:47 +02:00
Darko Poljak
0d15e1aae0
Merge pull request #653 from darko-poljak/improve_error_reporting
Improve error reporting
2018-04-19 17:53:30 +02:00
Darko Poljak
f09765a03a Improve error reporting. 2018-04-17 20:06:20 +02:00
Steven Armstrong
43a65d91b1 changelog++
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2018-04-05 10:36:38 +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
Darko Poljak
60eba42141 ++changelog 2018-03-26 08:52:41 +02:00
b695e82bec FreeBSD improvements (#651) 2018-03-26 08:53:31 +02:00
Darko Poljak
b740d415ca ++changelog 2018-03-19 15:18:08 +01:00
958222133b Fix spelling errors in manpages 2018-03-19 15:16:37 +01:00
Darko Poljak
7de80678f0 Release 4.8.3 2018-03-16 19:17:53 +01:00
Darko Poljak
ef13449687 Fix sphinx warnings. 2018-03-15 18:01:23 +01:00
Darko Poljak
a06ee6f9f1 Fix changelog. 2018-03-15 14:00:25 +01:00
Darko Poljak
d4a7b298a6 Return translator_class for older sphinx versions. 2018-03-15 13:49:22 +01:00
Darko Poljak
26a8827ec2 Add gitattributes: export-ignore entries. 2018-03-15 06:33:05 +01:00
Darko Poljak
bba4c0ef67 ++changelog 2018-03-13 18:49:40 +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
Darko Poljak
17fa27a56a ++changelog 2018-03-13 17:31:50 +01:00
Darko Poljak
f095e40c22
Merge pull request #649 from devinsolutions/type-docker-swarm
Add new type __docker_swarm
2018-03-13 17:31:23 +01:00