Hello Ben,

On Wednesday, August 18, 2021 at 2:25:19 AM UTC+9 Ben Ford wrote:

> Hiera provides an environment hierarchy. Is that what you're looking for? 
> https://puppet.com/docs/puppet/latest/hiera_config_yaml_5.html
>

No, it is not. I know that the environmental hierarchy provided by hiera 
realise what I want to do but I don't want to do with that.

Let me restate the question. How can we get the absolute path of the 
manifest file in itself?

% pwd
/xxx/yyy
% puppet apply ../zzz/manifest.pp

In this example above, I would get the /xxx/zzz/manifest.pp in the manifest 
somehow.

Kind regards,
Go
 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1699572d-2c0f-46da-87dd-be36db28cf6dn%40googlegroups.com.

Reply via email to