[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:
Relates
relates to FOLIO-1051 Refactor folio-ansible "data" roles ... Closed
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 FOLIO-1154 Closed of folio-ansible. Waiting for resolution of FOLIO-1153 Closed to test and merge, but you can certainly grab the script out of there for your own nefarious purposes.

Comment by Wayne Schneider [ 25/Mar/18 ]

Tested and merged.

Generated at Thu Feb 08 23:11:14 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.