[FOLIO-1154] folio-ansible gen_users perl script not portable to CentOS 6 Created: 21/Mar/18 Updated: 12/Nov/18 Resolved: 25/Mar/18 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | John Malconian | Assignee: | Wayne Schneider |
| Resolution: | Done | Votes: | 0 |
| Labels: | ci, sprint34 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 30 minutes | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Description |
|
The existing gen_users.pl script that generates sample user data is not easily portable to CentOS 6/Amazon Linux and possibly other non-Debian environments. Specifically, there is an issue installing the perl UUID module from CPAN (no RPM for this module exists in either the base or EPEL repositories). The UUID module expects to find a header called 'rpcdce.h' which it presumes is part of a libuuid-development package, but this is not the case on CentOS 6. In fact, this header file does not seem to exist at all in any base or EPEL packages. |
| Comments |
| Comment by John Malconian [ 21/Mar/18 ] |
|
As discussed on Slack, UUID::Tiny may be a suitable replacement. |
| Comment by Wayne Schneider [ 22/Mar/18 ] |
|
Updated in branch
|
| Comment by Wayne Schneider [ 25/Mar/18 ] |
|
Tested and merged. |