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"'
}
}