anything weird about behaviour in
virtualbox vms?
On Mon, Feb 9, 2015 at 11:12 AM, John D'Ausilio wrote:
> Just to make sure .. simplified without perl ..
>
> [root@uc-01 ~]# cat
> /opt/wdts/puppet/production/modules/puppet/lib/facter/last_interface.rb
> Facter.add('last_inte
ast_interface
last_interface => 10.0.2.15
[root@uc-01 ~]# facter last_interface
10.200.111.100
[root@uc-01 ~]#
On Mon, Feb 9, 2015 at 10:34 AM, John D'Ausilio wrote:
> Point taken on perl overkill .. trying to get something working and
> copy/pasted someone else's solution ;)
>
great. When I run facter
alone (show all facts) or Puppet runs it it appears to instead give me
the first one in the list.
On Mon, Feb 9, 2015 at 9:25 AM, jcbollinger wrote:
>
>
> On Sunday, February 8, 2015 at 3:47:58 PM UTC-6, John D'Ausilio wrote:
>>
>> So I have a cu
So I have a custom fact which works fine from the commandline: facter
last_interface (it returns the ip address of the last of a sorted list of
interface names)
If I just run facter without parameters, the value in last_interface is
incorrect!
Is there something different between the environm