| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds several features and generally makes it work a lot more
smoothly by not trying to overoptimize and share too much code.
You can now brute-force decrypt a Cfg file (i.e., without specifying a
passphrase, it will try all of them).
You can also now write a Properties file with
`encrypted="passphrase_name"` attributes in place, and then encrypt
(and decrypt) it in one fell swoop.
Various other minor improvements.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\
| |
| |
| | |
https://github.com/fennm/bcfg2 into maint
|
| | |
|
| |
| |
| |
| | |
This reverts commit ab62481b597edcc099811039f7fd60743353d979.
|
| |
| |
| |
| | |
This reverts commit 8f4a8d386f6f2988de08e686f04c457a62189dfd.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since bcfg2-info isn't normally run as root, it can remove write
permissions from itself in certain situations. This patch ensures
that owner write is added to the mode for all files written by
builddir.
For example, suppose a bundle specifies a file /etc/foo/private
with mode 0444. The POSIX tool will create /etc/foo with mode
0555. Any subsequent files that are specified to exist in
/etc/foo will not be created because bcfg2-info will hit a
permission denied error.
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\ \
| | |
| | |
| | | |
maint
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With the options setting in the database section of the config file
various database options for the django database could be set (like
ssl mode for postgres). For more information, consult your django
databse backend module's documentation.
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| | |
If the command should be excuted within a shell, it should not be
splited into a list. If subcommand.Popen gets a list, the first element
is the command and all other are the arguements. This breaks the shell
evaluation of the commamnd.
|
|\ \
| | |
| | |
| | | |
into maint
|
| | |
| | |
| | |
| | |
| | |
| | | |
getparent is not supported by xml.etree so try to emulate it
with a generated parent_map. This is the only possibility, because
xml.etree does not store references to the parent elements.
|
| |/
| |
| |
| | |
This reverts commit 38f55b6257ce51b1cf65ecb3d980d7528c1b53ff.
|
|/ |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
::ffff:127.0.0.1
|
|
|
|
|
|
|
| |
The get_bootstatus method has the correct logic to get the desired
result when bootstatus is unset.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\
| |
| | |
Make the "latest" value more usable in VCS.py
|
| |
| |
| |
| | |
copy only when the working copy is not updated to the latest revision.
|
| |
| |
| |
| | |
--stdin argument to bcfg2-lint
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Code was refactored such that this signal handler got put in the wrong
place during the revert.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 4568c44372c99ba809826e016680da9b881bd8e8.
Trying to handle ^c in the core is difficult and can break STDOUT for
interactive programs that invoke the core.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Conflicts:
src/lib/Bcfg2/Server/Core.py
src/sbin/bcfg2-test
tools/bcfg2-profile-templates.py
|
| |
| |
| |
| |
| |
| |
| | |
When status='ignore', set svcstatus to True so that the entry verifies
properly.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| | |
This option was removed in f157617a5c.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
You can specify a refname (like refs/heads/master) as revision and you
will always get the current tree of this refname. During verify it is
checked if the ref had changed in the remote repo and if an "update"
is necessary.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Older version of dulwich will not create the directory (even
with mkdir=True) for the repository. So we cannot rely on it.
Because we clean existing folders before, we have to create
the directory in every case.
|
|/ / |
|
| | |
|