<feed xmlns='http://www.w3.org/2005/Atom'>
<title>facter.git/spec/fixtures, 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>(#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>(#6716) fix facter issues on OSX with ipv6 in macaddress.rb.</title>
<updated>2011-03-17T22:12:41+00:00</updated>
<author>
<name>Ben Hughes</name>
<email>ben@puppetlabs.com</email>
</author>
<published>2011-03-17T01:23:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=3f0a3404894ea1835877856e20d60be4023706fc'/>
<id>3f0a3404894ea1835877856e20d60be4023706fc</id>
<content type='text'>
Due to "netstat -rn" returning multiple protocols (IPv4 and IPv6) the
"default_interface" can get more than one entry in to it, causing the
macaddress resolving to break. This limits it to just one interface.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to "netstat -rn" returning multiple protocols (IPv4 and IPv6) the
"default_interface" can get more than one entry in to it, causing the
macaddress resolving to break. This limits it to just one interface.
</pre>
</div>
</content>
</entry>
<entry>
<title>(#2270) add testing for the new ipaddress6 feature</title>
<updated>2011-02-17T22:34:34+00:00</updated>
<author>
<name>Daniel Pittman</name>
<email>daniel@rimspace.net</email>
</author>
<published>2011-02-02T01:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=cb25119b130337e5a9fff0c142ba18c55ebf6059'/>
<id>cb25119b130337e5a9fff0c142ba18c55ebf6059</id>
<content type='text'>
This stubs out the platform side of the code, and uses fixtures emitting the
right output from the interface configuration tools.

Paired-With: Matt Robinson &lt;matt@puppetlabs.com&gt;
Paired-With: Max Martin &lt;max@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This stubs out the platform side of the code, and uses fixtures emitting the
right output from the interface configuration tools.

Paired-With: Matt Robinson &lt;matt@puppetlabs.com&gt;
Paired-With: Max Martin &lt;max@puppetlabs.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>(#5086) Try using kstat before falling back to 'who -b' to determine uptime.</title>
<updated>2011-01-24T22:50:20+00:00</updated>
<author>
<name>Jacob Helwig</name>
<email>jacob@puppetlabs.com</email>
</author>
<published>2010-11-29T09:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=af9134c2d8911ee8bdd68ba95c64d51429ed6e16'/>
<id>af9134c2d8911ee8bdd68ba95c64d51429ed6e16</id>
<content type='text'>
'who -b' doesn't report the year of the last system boot on (at least)
Solaris 10, and OpenSolaris 2009.06.  Try using 'kstat -p
unix:::boot_time', which reports as seconds since the epoch on these
systems before falling back to 'who -b'.

Reviewed-by: Paul Berry &lt;paul@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'who -b' doesn't report the year of the last system boot on (at least)
Solaris 10, and OpenSolaris 2009.06.  Try using 'kstat -p
unix:::boot_time', which reports as seconds since the epoch on these
systems before falling back to 'who -b'.

Reviewed-by: Paul Berry &lt;paul@puppetlabs.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ticket/master/3703-macaddress-on-mac' into next</title>
<updated>2010-08-18T21:45:53+00:00</updated>
<author>
<name>Rein Henrichs</name>
<email>rein@puppetlabs.com</email>
</author>
<published>2010-08-18T21:45:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=104e1e14fe9c7c71510561d9f073f8c316340265'/>
<id>104e1e14fe9c7c71510561d9f073f8c316340265</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[#2865] Fix reporting of virtual facts</title>
<updated>2010-08-18T21:44:45+00:00</updated>
<author>
<name>Rein Henrichs</name>
<email>rein@puppetlabs.com</email>
</author>
<published>2010-08-10T22:25:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=a85f2b0f5c43f3b2324d06310a1d673438840e89'/>
<id>a85f2b0f5c43f3b2324d06310a1d673438840e89</id>
<content type='text'>
Regexp tested the s_context or VxID field if /proc/self/status and
returned false for 0 and true for any other number. 0 indicates a host,
which is still virtual.

Fix changes regexp to correctly report hosts as virtual. Tested against
vserver 2.1 and 2.3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regexp tested the s_context or VxID field if /proc/self/status and
returned false for 0 and true for any other number. 0 indicates a host,
which is still virtual.

Fix changes regexp to correctly report hosts as virtual. Tested against
vserver 2.1 and 2.3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Removing stupid .DS_Store files :(</title>
<updated>2010-08-11T22:00:52+00:00</updated>
<author>
<name>Rein Henrichs</name>
<email>rein@puppetlabs.com</email>
</author>
<published>2010-08-11T22:00:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=4050acc291fa0d1773388f2c52d659b94249f1bd'/>
<id>4050acc291fa0d1773388f2c52d659b94249f1bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[#3703] Fix macaddress fact for Darwin</title>
<updated>2010-08-11T18:17:37+00:00</updated>
<author>
<name>Rein Henrichs</name>
<email>rein@puppetlabs.com</email>
</author>
<published>2010-08-11T18:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=016cf037435154fc901ac93962f3ba464432c62c'/>
<id>016cf037435154fc901ac93962f3ba464432c62c</id>
<content type='text'>
* With tests for 9.8.0, 10.3.0 and 10.6.4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* With tests for 9.8.0, 10.3.0 and 10.6.4
</pre>
</div>
</content>
</entry>
<entry>
<title>[#2330] Uptime should not make redundant system calls</title>
<updated>2010-08-03T21:59:29+00:00</updated>
<author>
<name>Rein Henrichs</name>
<email>reinh@reinh.com</email>
</author>
<published>2010-08-03T00:28:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/facter.git/commit/?id=a2bcacdc54fc9e9446bd5b084e70d60aaaeeebd2'/>
<id>a2bcacdc54fc9e9446bd5b084e70d60aaaeeebd2</id>
<content type='text'>
Rewrite of uptime facts and supporting utility methods. Works on unix,
BSD, windows. No longer makes redundant system calls.

Uses Facter::Util::Uptime utility methods:

* Implemented uptime_seconds_unix using /proc/uptime or who -b on unix,
  sysctl on BSD.

  Added unit tests for the behaviors of get_uptime_seconds_unix: read
  from proc/uptime, read uptime from "sysctl -b kern.boottime", read
  uptime from "who -b", and return nil if nothing else works.

* Implemented uptime_seconds_win using the Win32 API.

Facts implemented:

* uptime_{seconds,hours,days}

    Returns the respective integer value.

* uptime

    Returns human readable uptime statistic that preserves original
    behavior.

    Examples:

      3 days
      1 day
      5:08 hours
      0:35 hours
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rewrite of uptime facts and supporting utility methods. Works on unix,
BSD, windows. No longer makes redundant system calls.

Uses Facter::Util::Uptime utility methods:

* Implemented uptime_seconds_unix using /proc/uptime or who -b on unix,
  sysctl on BSD.

  Added unit tests for the behaviors of get_uptime_seconds_unix: read
  from proc/uptime, read uptime from "sysctl -b kern.boottime", read
  uptime from "who -b", and return nil if nothing else works.

* Implemented uptime_seconds_win using the Win32 API.

Facts implemented:

* uptime_{seconds,hours,days}

    Returns the respective integer value.

* uptime

    Returns human readable uptime statistic that preserves original
    behavior.

    Examples:

      3 days
      1 day
      5:08 hours
      0:35 hours
</pre>
</div>
</content>
</entry>
</feed>
