| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Conflicts:
src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py
src/lib/Bcfg2/Server/Plugins/Packages/Yum.py
src/lib/Bcfg2/Server/Plugins/Properties.py
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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 commit fixes help on python3 and greatly simplifies a bunch of code
by removing stuff which the cmd module gives us for free.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This replaces the remaining gethostbyname() call by the equivalent
getaddrinfo() call required to properly cope with hosts being only
reachable over IPv6.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
from being added
(cherry picked from commit 6b0b45842b138a928f7d5e395f7a21f9ad932f2a)
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/lib/Bcfg2/settings.py
src/sbin/bcfg2-crypt
|
| |/ /
| | |
| | |
| | | |
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.
|
| | | | |
|