Hi Henrik,
Thanks for commenting. Could you elaborate "Only reference Facter in logic
that implements facts" pls? Does it mean when defining, e.g. a custom-fact,
it's okay to reference another fact but not anywhere else? People gave me
so many advice about dos and don'ts but no one actually
On 25/01/17 20:20, Sans wrote:
On Wednesday, January 25, 2017 at 7:05:03 PM UTC, R.I. Pienaar wrote:
only if you enable structured facts and have a new facter
Well, it's not "structured" i.e. it returns only a string. and didn't
work as expected.
It also an "external fact", not sure
On Wed, Jan 25, 2017, at 08:20 PM, Sans wrote:
>
>
> On Wednesday, January 25, 2017 at 7:05:03 PM UTC, R.I. Pienaar wrote:
>>
>>
>> only if you enable structured facts and have a new facter
>
> Well, it's not "structured" i.e. it returns only a string. and didn't
> work as
On Wednesday, January 25, 2017 at 7:05:03 PM UTC, R.I. Pienaar wrote:
>
>
>
> only if you enable structured facts and have a new facter
>
Well, it's not "structured" i.e. it returns only a string. and didn't work
as expected.
It also an "external fact", not sure if that's the main issue.
Hi Folks,
You're invited to Contributor Summit EU on 8 February, the day after
ConfigManagement Camp in Ghent. It's a great opportunity to work with other
Puppet folks and add more learning to your ConfigMgmt Camp experience.
Registration and more
information:
- Original Message -
> From: "Sans"
> To: "puppet-users"
> Sent: Wednesday, 25 January, 2017 20:01:20
> Subject: Re: [Puppet Users] how to use external facts in a template?
> On Wednesday, January 25, 2017 at 2:20:30 PM UTC, R.I.
On Wednesday, January 25, 2017 at 2:20:30 PM UTC, R.I. Pienaar wrote:
>
>
> not been following, but if you're on a recent version @facts["foo"] is the
> best
>
I didn't know that but will check soon. I'm on v3.8.x - will it work there?
-S
--
You received this message because you are
Thank you for the reply!
On Tuesday, January 24, 2017 at 4:42:10 AM UTC-5, Luke Bigum wrote:
>
>
>
> On Monday, 23 January 2017 20:55:44 UTC, Sean wrote:
>>
>> Hello,
>>
>> I was reading over several threads regarding the use of concat modules
>> and subscribe capabilities. It seems everyone is
- Original Message -
> From: "Sans"
> To: "puppet-users"
> Sent: Wednesday, 25 January, 2017 15:17:19
> Subject: Re: [Puppet Users] how to use external facts in a template?
>> Hi Sans,
>>
>> I think your ERB syntax may be off.
> Hi Sans,
>
> I think your ERB syntax may be off. Here's an example doing something
> similar. Instead of Facter.value() just put an @ in front of the fact
> name.
>
> <% @nameservers.each do |nameserver| -%>
> nameserver <%= nameserver %>
> <% end -%>
>
> Best regards,
> -g
>
>
On 1/25/17 6:43 AM, Sans wrote:
> Dear all,
> I'm having this issue and running out of ideas.
> I have this two external facts (defined in
> /etc/facter/facts.d/extn_git_facts.txt):
>
> |
>
> root@p19-d-pmaster-001:~# facter|grep ks_git
> ks_git_puppet-hiera =>master
>
Dear all,
I'm having this issue and running out of ideas.
I have this two external facts (defined in
/etc/facter/facts.d/extn_git_facts.txt):
root@p19-d-pmaster-001:~# facter|grep ks_git
ks_git_puppet-hiera => master
ks_git_puppet-master => develop
I want to use these
12 matches
Mail list logo