| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
Replaced incredibly stupid (mea culpa!) and race-condition-prone
system that toggled filesystem permissions (what was I thinking?!?)
with judicious application of the yum cacheonly option.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Bootstatus is optional and should have the value of status if not specified.
This is handled by get_bootstatus.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes the yum cache read-only so that bcfg2-yum-helper cannot
update the cache on the fly, which should help avoid locking issues
with the yum caches that can cause client runs to fail. It also makes
the Packages plugin behave more consistently, since use of yum
libraries won't cause the cache to be refreshed at random times on the
fly, but rather more predictably as with the Apt cache or the yum
cache without using yum libraries. Unlike those two cases, though,
the caches will not all be downloaded initially, but rather
opportunistically as needed.
In order for this to work, the Bcfg2 server must not run as root.
Root ignores the 'w' permissions bit, so the cache cannot be made
read-only.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes a crash when the client tries to render the diff of a file
which includes unicode characters. This change assumes that utf-8 is the
default encoding, which looking at the rest of the code appears to be a
safe bet.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
|
|\ \ \
| |/ /
|/| | |
Chkconfig should not set service to "on" on every run level
|
| | |
| | |
| | | |
Let chkconfig assign default runlevels.
|
| | |
| | |
| | |
| | | |
from being added
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
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
|