puppet-php icon indicating copy to clipboard operation
puppet-php copied to clipboard

Private php::pear class has no way to change php::pear::package from php class

Open eimirae opened this issue 7 years ago • 1 comments
trafficstars

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet:
  • Ruby:
  • Distribution:
  • Module version:

How to reproduce (e.g Puppet code you use)

What are you seeing

What behaviour did you expect instead

Output log

Any additional information you'd like to impart

Php::Pear uses assert_private(), but there is no corresponding parameter for php class to change php::pear::package, leaving hiera as the only way to alter the package name.

eimirae avatar Oct 11 '18 16:10 eimirae

Hey @eimirae, could you provide a PR that adds the param to the init.pp and passes it along the php::pear class?

bastelfreak avatar Oct 14 '18 08:10 bastelfreak