You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently none of the params are exposed so you can't override them with an ENC like foreman. I propose to extend this module to allow $home to be overridden, you can do this by exposing the $home as a class parameter in the manifests/params.pp.
Something like this should suffice for now:
manifests/init.pp
# View README.md for full documentation.## === Authors## Leon Brocard <[email protected]># Zan Loy <[email protected]>## === Copyright## Copyright 2014#classohmyzsh (
$home = $::ohmyzsh::params::homedir
) inherits ::ohmyzsh::params {}
I will submit a PR for this if you like (although I am still fairly new to puppet), I also was thinking about creating a wrapper for this module so you can use an ENC via hiera/yaml to define something like the following:
Currently none of the params are exposed so you can't override them with an ENC like foreman. I propose to extend this module to allow
$home
to be overridden, you can do this by exposing the $home as a class parameter in themanifests/params.pp
.Something like this should suffice for now:
manifests/init.pp
manifests/params.pp
I will submit a PR for this if you like (although I am still fairly new to puppet), I also was thinking about creating a wrapper for this module so you can use an ENC via hiera/yaml to define something like the following:
The text was updated successfully, but these errors were encountered: