Overhaul some things to support a basic CORE Office install
This commit is contained in:
parent
a84d360509
commit
2c5e073168
5 changed files with 52 additions and 23 deletions
|
|
@ -112,6 +112,8 @@ def put(local_path, remote_path, owner='root:root', **kwargs):
|
|||
kwargs.setdefault('mirror_local_mode', True)
|
||||
kwargs['use_sudo'] = True
|
||||
fab_put(local_path, remote_path, **kwargs)
|
||||
if ':' not in owner:
|
||||
owner = '{}:'.format(owner)
|
||||
sudo("chown {} '{}'".format(owner, remote_path))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue