Check pyenv permissions

This commit is contained in:
Jake Howard 2017-11-14 09:09:22 +00:00
parent e0be6ae3b8
commit c9a6ec3b60
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -18,4 +18,8 @@ class common {
command => 'archlinux-java set intellij-jdk',
unless => 'archlinux-java get | grep intellij-jdk'
}
exec {'pyenv directory permissions':
command => 'chown -R jake:users /opt/pyenv',
unless => 'getfacl /opt/pyenv | grep "owner: jake"'
}
}