<feed xmlns='http://www.w3.org/2005/Atom'>
<title>facter.git/spec/unit, 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) 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>(#7507) Fix 1.9.2 test failure</title>
<updated>2011-05-20T18:21:07+00:00</updated>
<author>
<name>Matt Robinson</name>
<email>matt@puppetlabs.com</email>
</author>
<published>2011-05-20T18:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=8002c240dcd42d3fe0e70b99859c76067f298cef'/>
<id>8002c240dcd42d3fe0e70b99859c76067f298cef</id>
<content type='text'>
Dir.glob returns an array, but a test was stubbing it to return a
string.  In Ruby 1.8.7 if you call enumerable methods (each, collect,
etc) on a string, the string is split on \n first.  This meant the poor
stubbing didn't affect 1.8.7, but 1.9.2 is more strict and won't
automatically convert when you call enumerable methods on strings.

Paired-with: Josh Cooper &lt;josh@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dir.glob returns an array, but a test was stubbing it to return a
string.  In Ruby 1.8.7 if you call enumerable methods (each, collect,
etc) on a string, the string is split on \n first.  This meant the poor
stubbing didn't affect 1.8.7, but 1.9.2 is more strict and won't
automatically convert when you call enumerable methods on strings.

Paired-with: Josh Cooper &lt;josh@puppetlabs.com&gt;
</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>(#6612) Changed uptime spec to be endian agnostic</title>
<updated>2011-04-18T16:37:47+00:00</updated>
<author>
<name>Adrien Thebo</name>
<email>adrien.thebo@gmail.com</email>
</author>
<published>2011-04-14T18:27:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=21fe2176f6a688da14d8382806787b6072ae1ed1'/>
<id>21fe2176f6a688da14d8382806787b6072ae1ed1</id>
<content type='text'>
The sysctl uptime fixture was little endian, which fails on sparc
hardware. Added a big endian fixture and endian detection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sysctl uptime fixture was little endian, which fails on sparc
hardware. Added a big endian fixture and endian detection.
</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>
<entry>
<title>refactor the mechanism for allowing for resolution ordering to be influenced</title>
<updated>2011-04-05T17:46:49+00:00</updated>
<author>
<name>Richard Clamp</name>
<email>richardc@unixbeard.net</email>
</author>
<published>2011-03-18T00:10:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=d56bca8534bd21c046fd19a7fb2f776fe3e100b4'/>
<id>d56bca8534bd21c046fd19a7fb2f776fe3e100b4</id>
<content type='text'>
renames Facter::Util::Resolution#length to weight as a more generic
mechanism for allowing resolutions to state their importance
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
renames Facter::Util::Resolution#length to weight as a more generic
mechanism for allowing resolutions to state their importance
</pre>
</div>
</content>
</entry>
<entry>
<title>Partial fix for #6971 - Fix for virtual tests</title>
<updated>2011-04-05T17:04:02+00:00</updated>
<author>
<name>James Turnbull</name>
<email>james@lovedthanlost.net</email>
</author>
<published>2011-04-05T17:04:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=7441b32f9e062f9ca73c9d452f0559aa866e0277'/>
<id>7441b32f9e062f9ca73c9d452f0559aa866e0277</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote branch 'adrien/tickets/next/2714' into next</title>
<updated>2011-04-05T16:13:54+00:00</updated>
<author>
<name>James Turnbull</name>
<email>james@lovedthanlost.net</email>
</author>
<published>2011-04-05T16:13:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=cf029c3d59b583afd2ce26ec335c6d5b49b166ba'/>
<id>cf029c3d59b583afd2ce26ec335c6d5b49b166ba</id>
<content type='text'>
* adrien/tickets/next/2714:
  (#2714) Fixed faulty test
  (#2714) Added timeout to prtdiag resulution
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* adrien/tickets/next/2714:
  (#2714) Fixed faulty test
  (#2714) Added timeout to prtdiag resulution
</pre>
</div>
</content>
</entry>
<entry>
<title>(#2714) Fixed faulty test</title>
<updated>2011-04-02T04:06:00+00:00</updated>
<author>
<name>Adrien Thebo</name>
<email>adrien@puppetlabs.com</email>
</author>
<published>2011-03-22T19:40:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=7f3e89de2d9da14bc7bef33709b79f48434eec6a'/>
<id>7f3e89de2d9da14bc7bef33709b79f48434eec6a</id>
<content type='text'>
 - Looks like some copy/paste added some linux tests that relied on
   prtdiag, which isn't possible. Corrected them to check against
   solaris.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Looks like some copy/paste added some linux tests that relied on
   prtdiag, which isn't possible. Corrected them to check against
   solaris.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#5135) Refactored physicalprocessorcount</title>
<updated>2011-04-02T01:20:00+00:00</updated>
<author>
<name>Adrien Thebo</name>
<email>adrien@puppetlabs.com</email>
</author>
<published>2011-03-16T00:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=c2ff8330f4d705ded3f251e170df4bd973af3d43'/>
<id>c2ff8330f4d705ded3f251e170df4bd973af3d43</id>
<content type='text'>
 - Refactored code to make testing simpler
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Refactored code to make testing simpler
</pre>
</div>
</content>
</entry>
</feed>
