<feed xmlns='http://www.w3.org/2005/Atom'>
<title>facter.git/lib/facter/util, 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>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>(#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>Fixed #6974 - Moved to Apache 2.0 license</title>
<updated>2011-04-05T17:49:20+00:00</updated>
<author>
<name>James Turnbull</name>
<email>james@lovedthanlost.net</email>
</author>
<published>2011-04-05T17:21:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=bfa038de95ef3642dd0c66ad7e662b5b0f189555'/>
<id>bfa038de95ef3642dd0c66ad7e662b5b0f189555</id>
<content type='text'>
This is in line with our proposed plan to change
from the GPL license to Apache 2.0.

Please see this link for further explanation:

https://groups.google.com/d/topic/puppet-users/NuspYhMpE5o/discussion
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is in line with our proposed plan to change
from the GPL license to Apache 2.0.

Please see this link for further explanation:

https://groups.google.com/d/topic/puppet-users/NuspYhMpE5o/discussion
</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>(#6740) facter doesn't always respect facts in environment variables</title>
<updated>2011-04-05T17:46:49+00:00</updated>
<author>
<name>Richard Clamp</name>
<email>richardc@unixbeard.net</email>
</author>
<published>2011-03-11T12:23:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=9f4c5c6ac79821700bf4e6beee81f3d865396f4b'/>
<id>9f4c5c6ac79821700bf4e6beee81f3d865396f4b</id>
<content type='text'>
On an OSX host:

    $ facter operatingsystem
    Darwin

    $ facter_operatingsystem=Not_Darwin facter operatingsystem
    Not_Darwin

But on a linux/solaris host:

    $ facter operatingsystem
    CentOS

    $ facter_operatingsystem=Not_CentOS facter operatingsystem
    CentOS

As the operatingsystem fact resolution for linux-based kernels has higher
precedence than the environment variable as it has more matching confines than
the value from the environment variable.

This patch adds from_environment to the resolution mechanism, which makes the
resolution have an artificially high weight by claiming the length of its
confines array is 1 billion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On an OSX host:

    $ facter operatingsystem
    Darwin

    $ facter_operatingsystem=Not_Darwin facter operatingsystem
    Not_Darwin

But on a linux/solaris host:

    $ facter operatingsystem
    CentOS

    $ facter_operatingsystem=Not_CentOS facter operatingsystem
    CentOS

As the operatingsystem fact resolution for linux-based kernels has higher
precedence than the environment variable as it has more matching confines than
the value from the environment variable.

This patch adds from_environment to the resolution mechanism, which makes the
resolution have an artificially high weight by claiming the length of its
confines array is 1 billion.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#6817) Fix for Ruby 1.9 by calling .each_line on a string</title>
<updated>2011-03-23T04:59:11+00:00</updated>
<author>
<name>Matt Robinson</name>
<email>matt@puppetlabs.com</email>
</author>
<published>2011-03-23T04:53:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=fd4f31c3748d7e59b00473355a12fc232d173eab'/>
<id>fd4f31c3748d7e59b00473355a12fc232d173eab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: cleanup whitespace</title>
<updated>2011-03-23T04:59:11+00:00</updated>
<author>
<name>Matt Robinson</name>
<email>matt@puppetlabs.com</email>
</author>
<published>2011-03-23T04:37:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=72996ff6d01c6891bad241c45a5555e1a639ddd5'/>
<id>72996ff6d01c6891bad241c45a5555e1a639ddd5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>(#6795) xendomains: Ignore error output from xm list</title>
<updated>2011-03-21T15:18:07+00:00</updated>
<author>
<name>Todd Zullinger</name>
<email>tmz@pobox.com</email>
</author>
<published>2011-03-21T15:18:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=def33221bd7f20315205e9d63abe4ae8ece00f5e'/>
<id>def33221bd7f20315205e9d63abe4ae8ece00f5e</id>
<content type='text'>
If xend is not running, xm list writes to stderr and facter propagates
this to the user.  Redirect stderr to /dev/null.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If xend is not running, xm list writes to stderr and facter propagates
this to the user.  Redirect stderr to /dev/null.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'tickets/next/6716-osx-ipv6-macaddress' into next</title>
<updated>2011-03-17T22:13:52+00:00</updated>
<author>
<name>Jacob Helwig</name>
<email>jacob@puppetlabs.com</email>
</author>
<published>2011-03-17T22:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=330d3992744b80187223e5b6af2a58219e4610f6'/>
<id>330d3992744b80187223e5b6af2a58219e4610f6</id>
<content type='text'>
* tickets/next/6716-osx-ipv6-macaddress:
  Clean up indentation, and alignment in macaddress_spec.rb
  (#6716) fix facter issues on OSX with ipv6 in macaddress.rb.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tickets/next/6716-osx-ipv6-macaddress:
  Clean up indentation, and alignment in macaddress_spec.rb
  (#6716) fix facter issues on OSX with ipv6 in macaddress.rb.
</pre>
</div>
</content>
</entry>
</feed>
