Commit graph

5906 commits

Author SHA1 Message Date
dhivael
f918acd725 don't duplicate Remote::mkdir in explorer transfer
Remote::transfer contains a call to mkdir(destination) if the source is
a directory. since the destination must also be a directory we can omit
extra mkdir calls in Explorer.

this saves about 10% on my manifests in sequential mode, and about 6% in
parallel mode.
2018-09-22 13:16:22 +02:00
Darko Poljak
d6952543a7 Add 'real world example' walkthrough docs chapter. 2018-09-14 10:53:16 +02:00
Darko Poljak
aa80e8f87d ++changelog 2018-09-12 11:53:46 +02:00
Darko Poljak
690b63081f
Merge pull request #688 from thriqon/improve-package-apt
Improve __package_apt
2018-09-12 11:53:37 +02:00
Jonas Weber
b3f3b907a4 Quote aptget command and params, simplify explorer 2018-09-12 11:36:11 +02:00
Jonas Weber
346f1f8af3 Send messages when installing packages via __package_apt 2018-09-12 11:36:06 +02:00
Darko Poljak
19a55ac75a
++changelog 2018-09-09 19:27:39 +02:00
Darko Poljak
cebe5949fc
Merge pull request #687 from devinsolutions/update-__docker
Update __docker type
2018-09-09 19:23:18 +02:00
Adam Dej
2e653409c1 Update __docker type
- Update installation method, following official installation
instructions.
  - docker-engine was renamed to Docker CE around March 2017. Update
manpage to reflect that change.
  - Remove flag `--experimental` since it is no longer necessary to install a
different binary to get experimental features. Experimental features are
included in the stable binary and can be enabled by a flag or in a
config file.
2018-09-07 11:38:49 +02:00
Adam Dej
c2f8c7abb3 Add explorer for info in /etc/os-release 2018-09-07 11:38:49 +02:00
Darko Poljak
55dcaecafe Release 4.10.2 2018-09-06 07:11:04 +02:00
Darko Poljak
3782656569 Report encoding errors nicely. 2018-09-04 08:27:20 +02:00
Darko Poljak
b9ddbb1aa0 ++changelog 2018-09-01 23:30:53 +02:00
Darko Poljak
b67051fac5
Merge pull request #686 from darko-poljak/letsencrypt_cert_explorers_fix
Check if certbot exists before using it. Fixes #685.
2018-09-01 23:29:37 +02:00
Darko Poljak
a627247908 Check if certbot exists before using it. Fixes #685. 2018-09-01 23:27:58 +02:00
Darko Poljak
282647a88c Fix changelog formatting. 2018-08-31 10:48:21 +02:00
Darko Poljak
fbc129e2ef
Merge pull request #684 from zhaostu/master
Update type `__package_update_index`
2018-08-31 10:47:30 +02:00
Stu Zhao
ad46c39c86
Merge branch 'master' into master 2018-08-30 15:56:19 -07:00
Darko Poljak
93d877f5bf Add nonparallel marker for __apt_source type. 2018-08-30 20:22:51 +02:00
Stu Zhao
f143a70463 Support pacman with --maxage parameter 2018-08-29 11:31:31 -07:00
Stu Zhao
b12c02138d Refactor __package_update_index explorers
* add an type explorer to unify detecting of package type.
* update currage use the type explorer, so if os and passed in type
does not match, it behaves correctly.
2018-08-29 00:22:28 -07:00
Stu Zhao
2f89d8a514 Fix __package_update_index processing error
exit 1 in explorer will abort cdist.
2018-08-29 00:22:28 -07:00
Darko Poljak
eeb0590150 ++changelog 2018-07-23 08:09:55 +02:00
Darko Poljak
0e9ba29850
Merge pull request #682 from greendeath/master
Bugfix:
2018-07-23 08:11:16 +02:00
Dominique Roux
f04f76524c Bugfix:
- __grafana_dashboard had the wrong release name for devuan ascii
2018-07-22 18:35:30 +02:00
Darko Poljak
1f2b7c84c2 ++changelog 2018-07-18 07:40:34 +02:00
Darko Poljak
e1f5fbf7b2
Merge pull request #678 from devinsolutions/improve-systemd-unit
Improve __systemd_unit
2018-07-18 07:41:41 +02:00
Adam Dej
43982f821f __systemd_unit: add support for masking units 2018-07-11 16:22:36 +02:00
Adam Dej
37b37f6e66 __systemd_unit: fix crash when transitioning to state=absent
This type tried to disable an unit after it has removed it, which
failed. Now the removal happens in gencode-remote, after the unit has
been stopped and disabled.
2018-07-11 16:22:36 +02:00
Adam Dej
8d84834db6 __systemd_unit: manpage clarifications
Clarify that this type only operates on units in /etc/systemd/system.
Also, when state=present, it is not always true that the type is
"installed, enabled and started"
2018-07-11 16:16:08 +02:00
Darko Poljak
6c8014b407 __letsencrypt_cert: add support for devuan ascii 2018-06-22 14:09:31 +02:00
Darko Poljak
7eae68c11d Release 4.10.1 2018-06-21 08:33:48 +02:00
Darko Poljak
8350b6297e ++changelog 2018-06-20 17:28:38 +02:00
Darko Poljak
58b0e83655 Add env vars usage idiom for writing types 2018-06-20 17:28:30 +02:00
Steven Armstrong
2f20b31758
Merge pull request #676 from thriqon/675-line-dry-run
Handle missing files with __line (dry-run)
2018-06-20 15:29:55 +02:00
Jonas Weber
4eaace7dd5 Handle missing file in __line explorer gracefully
closes #675
2018-06-20 11:14:25 +02:00
Darko Poljak
41186d66d4 ++changelog 2018-06-20 09:23:12 +02:00
Darko Poljak
4cee4abf7b
Merge pull request #674 from darko-poljak/fix-letsencrypt-tempfile
Fix temp file location and removal
2018-06-20 09:23:43 +02:00
Darko Poljak
ec8f2f9488 Fix temp file location and removal 2018-06-20 08:29:41 +02:00
Darko Poljak
ee64936ff9 Release 4.10.0 2018-06-17 10:57:06 +02:00
Darko Poljak
d49daca3dc ++changelog 2018-06-16 10:51:46 +02:00
Darko Poljak
f75af95bda
Merge pull request #663 from asteven/type/__line
RFC: rewrite __line type for --before and --after support
2018-06-16 10:51:33 +02:00
Darko Poljak
f9892e25a3
Merge pull request #672 from darko-poljak/sysctl-support-sysctl.d
__sysctl: support sysctl.d
2018-06-16 10:48:58 +02:00
Darko Poljak
9d4c0331a9 __sysctl: support sysctl.d 2018-06-16 07:42:43 +02:00
Darko Poljak
5aa8dac80a Disable config parser interpolation 2018-06-13 07:53:52 +02:00
Darko Poljak
b9a48c9316 ++changelog 2018-06-13 06:20:02 +02:00
Darko Poljak
75b68cd178
Merge pull request #669 from 4nd3r/__acl
add __acl: Basic wrapper around setfacl
2018-06-13 06:20:58 +02:00
d7a1645e4e __acl: fix os explorer 2018-06-11 11:21:07 +03:00
90adefe2e4 add __acl: Basic wrapper around setfacl 2018-06-08 15:06:35 +03:00
Steven Armstrong
4516ee0baa position can not be empty
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2018-06-01 15:27:40 +02:00