Ask Your Question

Razor server "like" and "str" function not in PE 2015.2

asked 2015-09-01 04:07:37 -0600

FranzCC gravatar image

updated 2015-09-01 06:03:35 -0600

Hello, regarding the missing "str" and "like" function in the actual PE repo, i want to know when you will merge the git changes into the repo releases. Right now i'm stuck, because razor-server lacks the ability to regex match e.g. macaddresses.
Reading this,, the missing functions are available in the git repo.
Howto merge the git repo into a running yum PE based installation ?
When you will update the repo so that these functions will be available ?

Thanks in advance


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-02 12:13:51 -0600

smcclellan gravatar image

Hi Franz,

First a caveat: Making changes like this will nullify your PE Razor support contract, as you will no longer be running a supported version of Razor.

With that said... it is possible to update the file(s) from that pull request directly on your Razor server. To do so, search for a "matcher.rb" file inside a lib/razor directory and update its contents to look like this file:

After that, just restart your Razor server using service pe-razor-server restart and you'll have access to those extra functions in tags.

Since these functions are a new feature, they will likely not be backported to the 2015.2 series and will instead wait for the next feature release included in PE.

Let me know if you have any questions.


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2015-09-01 04:07:37 -0600

Seen: 488 times

Last updated: Sep 02 '15