Am Samstag, 5. November 2016 13:29:13 UTC+1 schrieb Thomas Müller:
>
>
>
> Am Mittwoch, 2. November 2016 15:10:41 UTC+1 schrieb Craig Dunn:
>>
>>
>>
>> On Fri, Oct 28, 2016 at 7:45 PM, Christopher Wood <[email protected]>
>> wrote:
>>
>>>
>>>
>>> So how would I auto-magically auto-paragraph hiera yaml to make it
>>> friendlier for more people, while still keeping it syntactically valid?
>>>
>>>
>>> Example two:
>>>
>>> ---
>>> one::services::enabled: true
>>>
>>> one::two::abc: 8.45
>>> one::two::three: this is the string
>>>
>>> puppet4::ca_server: otherhostname
>>> puppet4::server: hostname
>>>
>>
>> Another options not yet presented is to split the files out into the
>> classes they represent.
>>
>> This can be done with something like this in your hiera.yaml using the
>> special variable %{calling_module}
>>
>> ---
>> :yaml:
>> :hierarchy:
>> - foo/%{calling_module}
>>
>> or %{calling_module_path} which replaces :: by /
>
I meant
%{calling_class_path}
not module. calling_module_path does not exist.
- Thomas
--
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/7e50ffb0-698d-4cff-b86f-dc2b3416309d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.