<feed xmlns='http://www.w3.org/2005/Atom'>
<title>facter.git/lib, branch master</title>
<subtitle>Facter repo</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/'/>
<entry>
<title>(#7670) Stop preloading all facts in the application</title>
<updated>2011-05-31T22:35:40+00:00</updated>
<author>
<name>Nick Lewis</name>
<email>nick@puppetlabs.com</email>
</author>
<published>2011-05-31T20:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=926e912cd4eeedacc5833457ed34e57bd06f5b1a'/>
<id>926e912cd4eeedacc5833457ed34e57bd06f5b1a</id>
<content type='text'>
If a requested fact isn't found in the same location as its name, we want to
load all of the facts to find it. However, to simplify that, we were previously
just preloading all the facts every time. Because requesting a fact now
implicitly loads all facts if necessary, we can rely on that, providing results
much more quickly in the case where facts do match their filenames.

Reviewed-By: Jacob Helwig &lt;jacob@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a requested fact isn't found in the same location as its name, we want to
load all of the facts to find it. However, to simplify that, we were previously
just preloading all the facts every time. Because requesting a fact now
implicitly loads all facts if necessary, we can rely on that, providing results
much more quickly in the case where facts do match their filenames.

Reviewed-By: Jacob Helwig &lt;jacob@puppetlabs.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>(#7670) Never fail to find a fact that is present</title>
<updated>2011-05-31T22:35:40+00:00</updated>
<author>
<name>Nick Lewis</name>
<email>nick@puppetlabs.com</email>
</author>
<published>2011-05-31T20:14:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=2255abee7bdb9b6478ca228546e3d275dbac0ec3'/>
<id>2255abee7bdb9b6478ca228546e3d275dbac0ec3</id>
<content type='text'>
With the previous behavior, any fact which depended on another fact in a file
not matching its name would fail to properly load the required fact, resulting
in missing, incorrect, or inconsistent values.

For instance, the operatingsystem fact depends on the lsbdistid fact found in
lsb.rb. The first time the operatingsystem fact is requested, it requires
lsb.rb, and so the required fact is loaded first. But if Facter is subsequently
cleared and the operatingsystem fact requested again, the require will not
occur, and the fact will not be automatically loaded because it doesn't match
its filename.

Now if a fact is requested and can't be found, we will attempt to load all the
facts to find it. Such an approach appears heavy-handed, but in the case where
we want a particular fact, this is the only way to make sure we've found it. In
the case where we eventually want other facts, we are conveniently eagerly
loading them.

Paired-With: Jacob Helwig &lt;jacob@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the previous behavior, any fact which depended on another fact in a file
not matching its name would fail to properly load the required fact, resulting
in missing, incorrect, or inconsistent values.

For instance, the operatingsystem fact depends on the lsbdistid fact found in
lsb.rb. The first time the operatingsystem fact is requested, it requires
lsb.rb, and so the required fact is loaded first. But if Facter is subsequently
cleared and the operatingsystem fact requested again, the require will not
occur, and the fact will not be automatically loaded because it doesn't match
its filename.

Now if a fact is requested and can't be found, we will attempt to load all the
facts to find it. Such an approach appears heavy-handed, but in the case where
we want a particular fact, this is the only way to make sure we've found it. In
the case where we eventually want other facts, we are conveniently eagerly
loading them.

Paired-With: Jacob Helwig &lt;jacob@puppetlabs.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into next</title>
<updated>2011-05-20T18:50:27+00:00</updated>
<author>
<name>Jacob Helwig</name>
<email>jacob@puppetlabs.com</email>
</author>
<published>2011-05-20T18:50:27+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=2c5effffa0558f0cec4e84d07ee80ffa27db9a2f'/>
<id>2c5effffa0558f0cec4e84d07ee80ffa27db9a2f</id>
<content type='text'>
* master:
  Update CHANGELOG for 1.5.9
  Updated CHANGELOG for 1.5.9rc6
  Removed inappropriately uncredited Ohai method from ec2 fact
  Add facter test for ticket 7039
  downcase arp output so that the ec2 arp is matched
  (#7039) Pre-load all facts when requesting a single fact
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* master:
  Update CHANGELOG for 1.5.9
  Updated CHANGELOG for 1.5.9rc6
  Removed inappropriately uncredited Ohai method from ec2 fact
  Add facter test for ticket 7039
  downcase arp output so that the ec2 arp is matched
  (#7039) Pre-load all facts when requesting a single fact
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed inappropriately uncredited Ohai method from ec2 fact</title>
<updated>2011-05-10T00:25:42+00:00</updated>
<author>
<name>James Turnbull</name>
<email>james@lovedthanlost.net</email>
</author>
<published>2011-05-04T01:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=cc67a0148b97e315572cdb905476df1224a78dd5'/>
<id>cc67a0148b97e315572cdb905476df1224a78dd5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed inappropriately uncredited Ohai method from ec2 fact</title>
<updated>2011-05-04T03:14:01+00:00</updated>
<author>
<name>James Turnbull</name>
<email>james@lovedthanlost.net</email>
</author>
<published>2011-05-04T01:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=063582222f83bd713699c86c825ec1e628a57473'/>
<id>063582222f83bd713699c86c825ec1e628a57473</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ticket/next/6728-facter_improperly_detects_openvzve_on_cloudlinux_systems' into next</title>
<updated>2011-04-28T21:21:43+00:00</updated>
<author>
<name>Max Martin</name>
<email>max@puppetlabs.com</email>
</author>
<published>2011-04-28T21:21:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=8353506ea5705a58ed4bf91283e475751fb5f77c'/>
<id>8353506ea5705a58ed4bf91283e475751fb5f77c</id>
<content type='text'>
* ticket/next/6728-facter_improperly_detects_openvzve_on_cloudlinux_systems:
  (#6728) Facter improperly detects openvzve on CloudLinux systems
  (#6883) Update Facter install.rb to be slightly more informative.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ticket/next/6728-facter_improperly_detects_openvzve_on_cloudlinux_systems:
  (#6728) Facter improperly detects openvzve on CloudLinux systems
  (#6883) Update Facter install.rb to be slightly more informative.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#6614) Update ipaddress6 fact to work with Ruby 1.9</title>
<updated>2011-04-22T20:56:39+00:00</updated>
<author>
<name>Jacob Helwig</name>
<email>jacob@puppetlabs.com</email>
</author>
<published>2011-04-22T20:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=6b1cd16c7ef6ac78ffa85bfb81d193076db3e4c8'/>
<id>6b1cd16c7ef6ac78ffa85bfb81d193076db3e4c8</id>
<content type='text'>
Calling #to_s on an Array such as ["foo"] in Ruby 1.9 will result in
the string '["foo"]', instead of stringifying the element in the array
which would have given the expected result of "foo".  Since the
element of the array we're dealing with is already a string, we can
just grab it out of the array by using #first.

Paired-with: Josh Cooper &lt;josh@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling #to_s on an Array such as ["foo"] in Ruby 1.9 will result in
the string '["foo"]', instead of stringifying the element in the array
which would have given the expected result of "foo".  Since the
element of the array we're dealing with is already a string, we can
just grab it out of the array by using #first.

Paired-with: Josh Cooper &lt;josh@puppetlabs.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>downcase arp output so that the ec2 arp is matched</title>
<updated>2011-04-18T16:28:53+00:00</updated>
<author>
<name>Jeremy Katz</name>
<email>katzj@hubspot.com</email>
</author>
<published>2011-04-18T16:28:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=f91c1205e4dc9a78066af8818fdb92f630aad0d9'/>
<id>f91c1205e4dc9a78066af8818fdb92f630aad0d9</id>
<content type='text'>
CentOS 5.4 arp gives the arp output as uppercase; downcase it so
we're ensured a match
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CentOS 5.4 arp gives the arp output as uppercase; downcase it so
we're ensured a match
</pre>
</div>
</content>
</entry>
<entry>
<title>(#7039) Pre-load all facts when requesting a single fact</title>
<updated>2011-04-12T18:15:06+00:00</updated>
<author>
<name>Jacob Helwig</name>
<email>jacob@puppetlabs.com</email>
</author>
<published>2011-04-12T18:15:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=a75f0f9bc7ea1e03dc3a19fba8fae61165ab2b05'/>
<id>a75f0f9bc7ea1e03dc3a19fba8fae61165ab2b05</id>
<content type='text'>
Since multiple facts can be defined in a single file and we have no
way of knowing which "additional" facts are defined in which files, we
pre-load all facts when we're looking for specific one.

Paired-with: Max Martin &lt;max@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since multiple facts can be defined in a single file and we have no
way of knowing which "additional" facts are defined in which files, we
pre-load all facts when we're looking for specific one.

Paired-with: Max Martin &lt;max@puppetlabs.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>(#6728) Facter improperly detects openvzve on CloudLinux systems</title>
<updated>2011-04-07T01:33:09+00:00</updated>
<author>
<name>Ben Hughes</name>
<email>ben@puppetlabs.com</email>
</author>
<published>2011-04-07T01:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=19f96b59081558eefd613770fdf8c5f5665a150b'/>
<id>19f96b59081558eefd613770fdf8c5f5665a150b</id>
<content type='text'>
Make the openvz check for more than just the vz directory to be sure it's
OpenVZ.

Update the OpenVZ fact to be slightly more resilient in it's checking of
OpenVZ, so it doesn't clash with CloudLinux's LVE container system.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the openvz check for more than just the vz directory to be sure it's
OpenVZ.

Update the OpenVZ fact to be slightly more resilient in it's checking of
OpenVZ, so it doesn't clash with CloudLinux's LVE container system.
</pre>
</div>
</content>
</entry>
</feed>
