Skip to content

Commit 397b471

Browse files
removing duplication assignment. Syncing up the path with the gpg renderer.
1 parent e39557b commit 397b471

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

salt/modules/gpg.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ def _create_gpg(user=None):
108108
user = __salt__['config.option']('user')
109109

110110
if user == 'salt':
111-
homeDir = '/etc/salt/gpg'
112-
homeDir = os.path.join(salt.syspaths.CONFIG_DIR, 'gpg')
111+
homeDir = os.path.join(salt.syspaths.CONFIG_DIR, 'gpgkeys')
113112
else:
114113
userinfo = __salt__['user.info'](user)
115114
if userinfo:

0 commit comments

Comments
 (0)