rcbops / ansible-lxc-rpc

Ansible Playbooks to deploy openstack
https://rcbops.github.io/ansible-lxc-rpc/
Apache License 2.0
38 stars 31 forks source link

rpc-wheel-builder.sh not executable by default #490

Closed claco closed 9 years ago

claco commented 9 years ago

Seems like all of the .sh files in ./scripts are executable after clone, except for rpc-wheel-builder.sh

Also, seems that it's hardcoded to look for /opt/rpc-wheel-builder.py, and should likely be ./scripts/rpc-wheel-builder.py or some variant instead.

d34dh0r53 commented 9 years ago

What about an RPC_PATH environment variable that is set at the beginning of the file that is referenced in the execute string?

d34dh0r53 commented 9 years ago

Actually looking at it, the WORK_DIR is where the repo is cloned so the wheel builder scripts are located there, submitting a patch that changes the hardcoding to use that.

cloudnull commented 9 years ago

I am closing this issue because this script as well as its accompanying python script has been moved into the files directory of the pkg_repo_sync_master role. In PR: https://github.com/rcbops/ansible-lxc-rpc/pull/543 which automates the setup and use of the wheel builder applications.