camptocamp / puppet-accounts

11 stars 40 forks source link

strformat function breaks with Puppet 5.5.7 #63

Closed seidler2547 closed 6 years ago

seidler2547 commented 6 years ago

According to https://tickets.puppetlabs.com/browse/PUP-9268 the strformat function must be defined differently. Right now, if the server runs 5.5.7 and authorized keys are defined, then no clients will be able to fetch a catalog.

raphink commented 6 years ago

Thanks for reporting. If you've already investigated, could you suggest a PR with a fix please?

seidler2547 commented 6 years ago

I have no clue about Ruby programming, but the software engineer in me says #64 is probably functionally equivalent (and saves one gsub call in the input does not contain %).

raphink commented 6 years ago

Yes, I agree #64 fixes that.