mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 18:35:18 +00:00
Guarantee portage packages settings
This commit is contained in:
parent
aa695dec79
commit
e73d5ec11a
@ -54,7 +54,7 @@ filenames = []
|
||||
|
||||
for var in ('accept_keywords', 'mask', 'unmask', 'use', 'env', 'license', 'properties'):
|
||||
d = '/etc/portage/package.{}/'.format(var)
|
||||
File.directory(d, create=True, mode='0755', user='root', group='portage')
|
||||
File.directory(d, create=True, mode='0755', user='root', group='portage', clean=True, exclude_pat='*SALT')
|
||||
|
||||
result = []
|
||||
for cp, package_vars in packages.items():
|
||||
|
Loading…
Reference in New Issue
Block a user