mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add changes suggested by @cachedout
This commit is contained in:
parent
494deda074
commit
c804480982
1 changed files with 9 additions and 2 deletions
|
@ -455,13 +455,20 @@ def build(runas,
|
|||
return ret
|
||||
|
||||
|
||||
def make_repo(repodir, keyid=None, env=None, use_passphrase=False, gnupghome='/etc/salt/gpgkeys', runas='root'):
|
||||
def make_repo(repodir,
|
||||
keyid=None,
|
||||
env=None,
|
||||
use_passphrase=False,
|
||||
gnupghome='/etc/salt/gpgkeys',
|
||||
runas='root'):
|
||||
'''
|
||||
Given the repodir (directory to create repository in), create a Debian
|
||||
repository and optionally sign it and packages present. This state is
|
||||
best used with onchanges linked to your package building states
|
||||
|
||||
CLI Example::
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' pkgbuild.make_repo /var/www/html
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue