rspec-puppet-facts 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/Gemfile +7 -0
- data/README.md +120 -0
- data/Vagrantfile +43 -0
- data/facts/1.6/centos-5-i386.facts +66 -0
- data/facts/1.6/centos-5-x86_64.facts +66 -0
- data/facts/1.6/centos-6-i386.facts +59 -0
- data/facts/1.6/centos-6-x86_64.facts +59 -0
- data/facts/1.6/debian-6-i386.facts +64 -0
- data/facts/1.6/debian-6-x86_64.facts +64 -0
- data/facts/1.6/debian-7-i386.facts +65 -0
- data/facts/1.6/debian-7-x86_64.facts +65 -0
- data/facts/1.6/redhat-5-i386.facts +66 -0
- data/facts/1.6/redhat-5-x86_64.facts +66 -0
- data/facts/1.6/redhat-6-i386.facts +59 -0
- data/facts/1.6/redhat-6-x86_64.facts +59 -0
- data/facts/1.7/centos-5-i386.facts +82 -0
- data/facts/1.7/centos-5-x86_64.facts +82 -0
- data/facts/1.7/centos-6-i386.facts +77 -0
- data/facts/1.7/centos-6-x86_64.facts +77 -0
- data/facts/1.7/debian-6-i386.facts +88 -0
- data/facts/1.7/debian-6-x86_64.facts +88 -0
- data/facts/1.7/debian-7-i386.facts +85 -0
- data/facts/1.7/debian-7-x86_64.facts +85 -0
- data/facts/1.7/redhat-5-i386.facts +82 -0
- data/facts/1.7/redhat-5-x86_64.facts +82 -0
- data/facts/1.7/redhat-6-i386.facts +77 -0
- data/facts/1.7/redhat-6-x86_64.facts +77 -0
- data/facts/2.0/centos-5-i386.facts +81 -0
- data/facts/2.0/centos-5-x86_64.facts +81 -0
- data/facts/2.0/centos-6-i386.facts +76 -0
- data/facts/2.0/centos-6-x86_64.facts +76 -0
- data/facts/2.0/debian-6-i386.facts +87 -0
- data/facts/2.0/debian-6-x86_64.facts +87 -0
- data/facts/2.0/debian-7-i386.facts +84 -0
- data/facts/2.0/debian-7-x86_64.facts +84 -0
- data/facts/2.0/redhat-5-i386.facts +81 -0
- data/facts/2.0/redhat-5-x86_64.facts +81 -0
- data/facts/2.0/redhat-6-i386.facts +76 -0
- data/facts/2.0/redhat-6-x86_64.facts +76 -0
- data/facts/2.1/centos-5-i386.facts +82 -0
- data/facts/2.1/centos-5-x86_64.facts +82 -0
- data/facts/2.1/centos-6-i386.facts +77 -0
- data/facts/2.1/centos-6-x86_64.facts +77 -0
- data/facts/2.1/debian-6-i386.facts +88 -0
- data/facts/2.1/debian-6-x86_64.facts +88 -0
- data/facts/2.1/debian-7-i386.facts +85 -0
- data/facts/2.1/debian-7-x86_64.facts +85 -0
- data/facts/2.1/redhat-5-i386.facts +82 -0
- data/facts/2.1/redhat-5-x86_64.facts +82 -0
- data/facts/2.1/redhat-6-i386.facts +77 -0
- data/facts/2.1/redhat-6-x86_64.facts +77 -0
- data/facts/2.2/centos-5-i386.facts +87 -0
- data/facts/2.2/centos-5-x86_64.facts +87 -0
- data/facts/2.2/centos-6-i386.facts +81 -0
- data/facts/2.2/centos-6-x86_64.facts +81 -0
- data/facts/2.2/debian-6-i386.facts +93 -0
- data/facts/2.2/debian-6-x86_64.facts +93 -0
- data/facts/2.2/debian-7-i386.facts +90 -0
- data/facts/2.2/debian-7-x86_64.facts +90 -0
- data/facts/2.2/redhat-5-i386.facts +87 -0
- data/facts/2.2/redhat-5-x86_64.facts +87 -0
- data/facts/2.2/redhat-6-i386.facts +81 -0
- data/facts/2.2/redhat-6-x86_64.facts +81 -0
- data/facts/2.3/centos-5-i386.facts +88 -0
- data/facts/2.3/centos-5-x86_64.facts +88 -0
- data/facts/2.3/centos-6-i386.facts +82 -0
- data/facts/2.3/centos-6-x86_64.facts +82 -0
- data/facts/2.3/debian-6-i386.facts +94 -0
- data/facts/2.3/debian-6-x86_64.facts +94 -0
- data/facts/2.3/debian-7-i386.facts +91 -0
- data/facts/2.3/debian-7-x86_64.facts +91 -0
- data/facts/2.3/redhat-5-i386.facts +88 -0
- data/facts/2.3/redhat-5-x86_64.facts +88 -0
- data/facts/2.3/redhat-6-i386.facts +82 -0
- data/facts/2.3/redhat-6-x86_64.facts +82 -0
- data/get_facts.sh +19 -0
- data/lib/rspec-puppet-facts.rb +81 -0
- data/lib/rspec-puppet-facts/version.rb +5 -0
- data/rspec-puppet-facts.gemspec +21 -0
- metadata +124 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: aa1bfbfac4ecbf805a108df81e1b0bf2bc860a9c
|
4
|
+
data.tar.gz: 7e5501db5ed9d15527894cfb61bb8e58c2d7b840
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e3993fff3c8eb1b57c092f593b1945b418ada4c07f0218717258cccb6a3fe29c61dbe2b5402f0b4f59e1d230f430bd803c297a4f66fa6a162d11ec539e70f76b
|
7
|
+
data.tar.gz: 6c134333468c93da2ccfcb9c118499a61aefe9ad31861167c1d5f93ee218596363b6701493207547e1fa18509b0f41f81f9f7607dc929de83efd46e1971f4142
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
rspec-puppet-facts
|
2
|
+
==================
|
3
|
+
|
4
|
+
Based on an original idea from [apenney](https://github.com/apenney/puppet_facts/).
|
5
|
+
|
6
|
+
Usage
|
7
|
+
-----
|
8
|
+
|
9
|
+
Add this in your Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'rspec-puppet-facts', :require => false
|
13
|
+
```
|
14
|
+
|
15
|
+
Add some `facter` version to test in your .travis.yml
|
16
|
+
|
17
|
+
```yaml
|
18
|
+
...
|
19
|
+
matrix:
|
20
|
+
fast_finish: true
|
21
|
+
include:
|
22
|
+
- rvm: 1.8.7
|
23
|
+
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
|
24
|
+
- rvm: 1.8.7
|
25
|
+
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
|
26
|
+
- rvm: 1.9.3
|
27
|
+
env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.1.0"
|
28
|
+
- rvm: 1.9.3
|
29
|
+
env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.2.0"
|
30
|
+
- rvm: 2.0.0
|
31
|
+
env: PUPPET_GEM_VERSION="~> 3.0"
|
32
|
+
allow_failures:
|
33
|
+
- rvm: 1.8.7
|
34
|
+
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
|
35
|
+
...
|
36
|
+
```
|
37
|
+
|
38
|
+
Add this is your spec/spec_helper.rb:
|
39
|
+
|
40
|
+
```ruby
|
41
|
+
require 'rspec-puppet-facts'
|
42
|
+
include RspecPuppetFacts
|
43
|
+
```
|
44
|
+
|
45
|
+
Then in your unit tests:
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
require 'spec_helper'
|
49
|
+
|
50
|
+
describe 'openldap::server' do
|
51
|
+
|
52
|
+
on_supported_os.each do |os, facts|
|
53
|
+
context "on #{os}" do
|
54
|
+
let(:facts) do
|
55
|
+
facts
|
56
|
+
end
|
57
|
+
|
58
|
+
...
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
```
|
63
|
+
By default rspec-puppet-facts looks at your `metadata.json` to find supported operating systems, but you can specify for each context which ones you want to use:
|
64
|
+
|
65
|
+
```ruby
|
66
|
+
require 'spec_helper'
|
67
|
+
|
68
|
+
describe 'openldap::server' do
|
69
|
+
|
70
|
+
on_supported_os(['debian-7-amd64', 'redhat-6-amd64']).each do |os, facts|
|
71
|
+
context "on #{os}" do
|
72
|
+
let(:facts) do
|
73
|
+
facts
|
74
|
+
end
|
75
|
+
|
76
|
+
...
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
```
|
81
|
+
|
82
|
+
Add additional facts:
|
83
|
+
```ruby
|
84
|
+
require 'spec_helper'
|
85
|
+
|
86
|
+
describe 'openldap::server' do
|
87
|
+
|
88
|
+
on_supported_os.each do |os, facts|
|
89
|
+
context "on #{os}" do
|
90
|
+
let(:facts) do
|
91
|
+
facts.merge({
|
92
|
+
:foo => 'bar',
|
93
|
+
})
|
94
|
+
end
|
95
|
+
|
96
|
+
...
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
```
|
101
|
+
Add new facts
|
102
|
+
-------------
|
103
|
+
|
104
|
+
There is `Vagrantfile` to automagically populate `facts` directory by spawning a new VM and launches a provisioning scripts.
|
105
|
+
|
106
|
+
```
|
107
|
+
$ vagrant up
|
108
|
+
$ vagrant destroy
|
109
|
+
```
|
110
|
+
|
111
|
+
Create i386 facts from x86_64's ones
|
112
|
+
|
113
|
+
```
|
114
|
+
for file in facts/*/*-x86_64.facts; do cat $file | sed -e 's/x86_64/i386/' -e 's/amd64/i386/' > $(echo $file | sed 's/x86_64/i386/'); done
|
115
|
+
```
|
116
|
+
Create RedHat facts from CentOS's ones
|
117
|
+
|
118
|
+
```
|
119
|
+
for file in facts/*/centos-*.facts; do cat $file | sed -e 's/CentOS/RedHat/' > $(echo $file | sed 's/centos/redhat/'); done
|
120
|
+
```
|
data/Vagrantfile
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# -*- mode: ruby -*-
|
2
|
+
# vi: set ft=ruby :
|
3
|
+
|
4
|
+
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
|
5
|
+
VAGRANTFILE_API_VERSION = "2"
|
6
|
+
|
7
|
+
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
8
|
+
config.vm.define "debian-6-x86_64" do |host|
|
9
|
+
host.vm.box = "debian-607-x64-virtualbox-nocm"
|
10
|
+
host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box"
|
11
|
+
host.vm.provision "shell", inline: "apt-get update && apt-get install -y rubygems"
|
12
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
13
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
14
|
+
end
|
15
|
+
config.vm.define "debian-7-x86_64" do |host|
|
16
|
+
host.vm.box = "debian-73-x64-virtualbox-nocm"
|
17
|
+
host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box"
|
18
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
19
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
20
|
+
end
|
21
|
+
config.vm.define "ubuntu-14.04-x86_64" do |host|
|
22
|
+
host.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
|
23
|
+
host.vm.box_url = "https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm"
|
24
|
+
host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby"
|
25
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
26
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
27
|
+
end
|
28
|
+
config.vm.define "centos-5-x86_64" do |host|
|
29
|
+
host.vm.box = "centos-510-x64-virtualbox-nocm"
|
30
|
+
host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-510-x64-virtualbox-nocm.box"
|
31
|
+
host.vm.provision "shell", inline: "curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \\curl -sSL https://get.rvm.io | bash -s stable"
|
32
|
+
host.vm.provision "shell", inline: "source /etc/profile.d/rvm.sh && rvm install 1.8.7 && rvm use --create 1.8.7"
|
33
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
34
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
35
|
+
end
|
36
|
+
config.vm.define "centos-6-x86_64" do |host|
|
37
|
+
host.vm.box = "centos-65-x64-virtualbox-nocm"
|
38
|
+
host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box"
|
39
|
+
host.vm.provision "shell", inline: "yum -y install rubygems"
|
40
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
41
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
architecture => i386
|
2
|
+
boardmanufacturer => Oracle Corporation
|
3
|
+
boardproductname => VirtualBox
|
4
|
+
boardserialnumber => 0
|
5
|
+
domain => localdomain
|
6
|
+
facterversion => 1.6.18
|
7
|
+
fqdn => localhost.localdomain
|
8
|
+
gem_version => ~> 1.6.0
|
9
|
+
hardwareisa => i386
|
10
|
+
hardwaremodel => i386
|
11
|
+
hostname => localhost
|
12
|
+
id => root
|
13
|
+
interfaces => eth0,lo,sit0
|
14
|
+
ipaddress => 10.0.2.15
|
15
|
+
ipaddress_eth0 => 10.0.2.15
|
16
|
+
ipaddress_lo => 127.0.0.1
|
17
|
+
is_virtual => true
|
18
|
+
kernel => Linux
|
19
|
+
kernelmajversion => 2.6
|
20
|
+
kernelrelease => 2.6.18-371.el5
|
21
|
+
kernelversion => 2.6.18
|
22
|
+
lsbdistcodename => Final
|
23
|
+
lsbdistdescription => CentOS release 5.10 (Final)
|
24
|
+
lsbdistid => CentOS
|
25
|
+
lsbdistrelease => 5.10
|
26
|
+
lsbmajdistrelease => 5
|
27
|
+
lsbrelease => :core-4.0-i386:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
|
28
|
+
macaddress => 08:00:27:19:8C:8D
|
29
|
+
macaddress_eth0 => 08:00:27:19:8C:8D
|
30
|
+
manufacturer => innotek GmbH
|
31
|
+
memoryfree => 394.62 MB
|
32
|
+
memorysize => 497.78 MB
|
33
|
+
memorytotal => 497.78 MB
|
34
|
+
mtu_eth0 => 1500
|
35
|
+
mtu_lo => 16436
|
36
|
+
mtu_sit0 => 1480
|
37
|
+
netmask => 255.255.255.0
|
38
|
+
netmask_eth0 => 255.255.255.0
|
39
|
+
netmask_lo => 255.0.0.0
|
40
|
+
network_eth0 => 10.0.2.0
|
41
|
+
network_lo => 127.0.0.0
|
42
|
+
operatingsystem => CentOS
|
43
|
+
operatingsystemrelease => 5.10
|
44
|
+
osfamily => RedHat
|
45
|
+
path => /home/vagrant/vendor/bundler/ruby/1.8/bin:/usr/kerberos/sbin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/rvm/gems/ruby-1.8.7-p374/bin:/usr/local/rvm/gems/ruby-1.8.7-p374@global/bin:/usr/local/rvm/rubies/ruby-1.8.7-p374/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/rvm/bin:/root/bin:/var/lib/gems/1.8/bin/
|
46
|
+
physicalprocessorcount => 1
|
47
|
+
processor0 => Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
|
48
|
+
processorcount => 1
|
49
|
+
productname => VirtualBox
|
50
|
+
ps => ps -ef
|
51
|
+
rubysitedir => /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8
|
52
|
+
rubyversion => 1.8.7
|
53
|
+
selinux => false
|
54
|
+
serialnumber => 0
|
55
|
+
sshdsakey => AAAAB3NzaC1kc3MAAACBAI1EBw8fPqaiLzpwjRh52PEJnQ696PTCROoNIaZ4/T6//MBfj2BNLjybRq5AM9QHuzidaC7rnKg11oIPWp72QGB8V5UU5gKqK9lUbvf2OuUvDPQeKlKKHlX6uLlcZzm7bJRDmAkxynA2JCKCrYmPF1/7YVMbmwYI1JGEWmX+WHsXAAAAFQCThaHpflM6sqGlkaz95C0qGUpD6QAAAIAugv/a0EajQxFbn6sEXDrZOWhV73Vxy2xie9s+neNeJahHd1YPlCj4waTj0L3UltLysV2Ui1rZK7zVSp5iMWa0hpVA7Z52f0g/aag7XL4OyLeqci+R8dUB7+NfbEbMtGyGvVBsA5ohEM40FKCZZ23RzEdNIXIOfun3M4xC1PlHHwAAAIAs6D3R0mSLJlRPUIlCKf0pi+zhrTl56T0JCjKSwX2vR9pW2EOFoD7JO2R7CWpVSKe/qaNSUvebEzEXtdbdUV73yUPpnNnrqtqIgtcW9qzCQ07WRXCVefplSfLfgiW57gVoPUwtrCrgv1Wwl+YcyvJ80TJxmQkm0B+roMyVGygybQ==
|
56
|
+
sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAQEAl0Za1Vkqscbuk+8u5ZzFh0xDLxDizYb2BiSOWaBo16Q/rvYyA13OPX11dadRizypGgWD54YzK1j61uS89g37zgEEfiszFdzeZp3Hg6jAMF6KTIG6bWQ1eQhwl+LZPwkeE5GTNe5y/424lzxBZ8Fx0BgcWbgy1Q3CU9EhPIW+evj09oFxmAl0Wmuht+KVBl9FTtQSeao9l5BPPyEB6mmucwgkwafckFrFq8c+bJ44F4mSItOljMsLvxRyAeRYE44kzNDSISyjRD8oVB2iKi/+gUQsPx2UmeapCvMoBKuZD8dU5LBqMst4KtotvUCwLw/x/B/BSEOXZp7LNVWS5abaNQ==
|
57
|
+
swapfree => 1023.97 MB
|
58
|
+
swapsize => 1023.99 MB
|
59
|
+
timezone => PST
|
60
|
+
type => Other
|
61
|
+
uniqueid => 007f0100
|
62
|
+
uptime => 0:04 hours
|
63
|
+
uptime_days => 0
|
64
|
+
uptime_hours => 0
|
65
|
+
uptime_seconds => 250
|
66
|
+
virtual => virtualbox
|
@@ -0,0 +1,66 @@
|
|
1
|
+
architecture => x86_64
|
2
|
+
boardmanufacturer => Oracle Corporation
|
3
|
+
boardproductname => VirtualBox
|
4
|
+
boardserialnumber => 0
|
5
|
+
domain => localdomain
|
6
|
+
facterversion => 1.6.18
|
7
|
+
fqdn => localhost.localdomain
|
8
|
+
gem_version => ~> 1.6.0
|
9
|
+
hardwareisa => x86_64
|
10
|
+
hardwaremodel => x86_64
|
11
|
+
hostname => localhost
|
12
|
+
id => root
|
13
|
+
interfaces => eth0,lo,sit0
|
14
|
+
ipaddress => 10.0.2.15
|
15
|
+
ipaddress_eth0 => 10.0.2.15
|
16
|
+
ipaddress_lo => 127.0.0.1
|
17
|
+
is_virtual => true
|
18
|
+
kernel => Linux
|
19
|
+
kernelmajversion => 2.6
|
20
|
+
kernelrelease => 2.6.18-371.el5
|
21
|
+
kernelversion => 2.6.18
|
22
|
+
lsbdistcodename => Final
|
23
|
+
lsbdistdescription => CentOS release 5.10 (Final)
|
24
|
+
lsbdistid => CentOS
|
25
|
+
lsbdistrelease => 5.10
|
26
|
+
lsbmajdistrelease => 5
|
27
|
+
lsbrelease => :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
|
28
|
+
macaddress => 08:00:27:19:8C:8D
|
29
|
+
macaddress_eth0 => 08:00:27:19:8C:8D
|
30
|
+
manufacturer => innotek GmbH
|
31
|
+
memoryfree => 394.62 MB
|
32
|
+
memorysize => 497.78 MB
|
33
|
+
memorytotal => 497.78 MB
|
34
|
+
mtu_eth0 => 1500
|
35
|
+
mtu_lo => 16436
|
36
|
+
mtu_sit0 => 1480
|
37
|
+
netmask => 255.255.255.0
|
38
|
+
netmask_eth0 => 255.255.255.0
|
39
|
+
netmask_lo => 255.0.0.0
|
40
|
+
network_eth0 => 10.0.2.0
|
41
|
+
network_lo => 127.0.0.0
|
42
|
+
operatingsystem => CentOS
|
43
|
+
operatingsystemrelease => 5.10
|
44
|
+
osfamily => RedHat
|
45
|
+
path => /home/vagrant/vendor/bundler/ruby/1.8/bin:/usr/kerberos/sbin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/rvm/gems/ruby-1.8.7-p374/bin:/usr/local/rvm/gems/ruby-1.8.7-p374@global/bin:/usr/local/rvm/rubies/ruby-1.8.7-p374/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/rvm/bin:/root/bin:/var/lib/gems/1.8/bin/
|
46
|
+
physicalprocessorcount => 1
|
47
|
+
processor0 => Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
|
48
|
+
processorcount => 1
|
49
|
+
productname => VirtualBox
|
50
|
+
ps => ps -ef
|
51
|
+
rubysitedir => /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8
|
52
|
+
rubyversion => 1.8.7
|
53
|
+
selinux => false
|
54
|
+
serialnumber => 0
|
55
|
+
sshdsakey => AAAAB3NzaC1kc3MAAACBAI1EBw8fPqaiLzpwjRh52PEJnQ696PTCROoNIaZ4/T6//MBfj2BNLjybRq5AM9QHuzidaC7rnKg11oIPWp72QGB8V5UU5gKqK9lUbvf2OuUvDPQeKlKKHlX6uLlcZzm7bJRDmAkxynA2JCKCrYmPF1/7YVMbmwYI1JGEWmX+WHsXAAAAFQCThaHpflM6sqGlkaz95C0qGUpD6QAAAIAugv/a0EajQxFbn6sEXDrZOWhV73Vxy2xie9s+neNeJahHd1YPlCj4waTj0L3UltLysV2Ui1rZK7zVSp5iMWa0hpVA7Z52f0g/aag7XL4OyLeqci+R8dUB7+NfbEbMtGyGvVBsA5ohEM40FKCZZ23RzEdNIXIOfun3M4xC1PlHHwAAAIAs6D3R0mSLJlRPUIlCKf0pi+zhrTl56T0JCjKSwX2vR9pW2EOFoD7JO2R7CWpVSKe/qaNSUvebEzEXtdbdUV73yUPpnNnrqtqIgtcW9qzCQ07WRXCVefplSfLfgiW57gVoPUwtrCrgv1Wwl+YcyvJ80TJxmQkm0B+roMyVGygybQ==
|
56
|
+
sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAQEAl0Za1Vkqscbuk+8u5ZzFh0xDLxDizYb2BiSOWaBo16Q/rvYyA13OPX11dadRizypGgWD54YzK1j61uS89g37zgEEfiszFdzeZp3Hg6jAMF6KTIG6bWQ1eQhwl+LZPwkeE5GTNe5y/424lzxBZ8Fx0BgcWbgy1Q3CU9EhPIW+evj09oFxmAl0Wmuht+KVBl9FTtQSeao9l5BPPyEB6mmucwgkwafckFrFq8c+bJ44F4mSItOljMsLvxRyAeRYE44kzNDSISyjRD8oVB2iKi/+gUQsPx2UmeapCvMoBKuZD8dU5LBqMst4KtotvUCwLw/x/B/BSEOXZp7LNVWS5abaNQ==
|
57
|
+
swapfree => 1023.97 MB
|
58
|
+
swapsize => 1023.99 MB
|
59
|
+
timezone => PST
|
60
|
+
type => Other
|
61
|
+
uniqueid => 007f0100
|
62
|
+
uptime => 0:04 hours
|
63
|
+
uptime_days => 0
|
64
|
+
uptime_hours => 0
|
65
|
+
uptime_seconds => 250
|
66
|
+
virtual => virtualbox
|
@@ -0,0 +1,59 @@
|
|
1
|
+
architecture => i386
|
2
|
+
boardmanufacturer => Oracle Corporation
|
3
|
+
boardproductname => VirtualBox
|
4
|
+
boardserialnumber => 0
|
5
|
+
domain => localdomain
|
6
|
+
facterversion => 1.6.18
|
7
|
+
fqdn => localhost.localdomain
|
8
|
+
gem_version => ~> 1.6.0
|
9
|
+
hardwareisa => i386
|
10
|
+
hardwaremodel => i386
|
11
|
+
hostname => localhost
|
12
|
+
id => root
|
13
|
+
interfaces => eth0,lo
|
14
|
+
ipaddress => 10.0.2.15
|
15
|
+
ipaddress_eth0 => 10.0.2.15
|
16
|
+
ipaddress_lo => 127.0.0.1
|
17
|
+
is_virtual => true
|
18
|
+
kernel => Linux
|
19
|
+
kernelmajversion => 2.6
|
20
|
+
kernelrelease => 2.6.32-431.el6.i386
|
21
|
+
kernelversion => 2.6.32
|
22
|
+
macaddress => 08:00:27:5E:0A:C7
|
23
|
+
macaddress_eth0 => 08:00:27:5E:0A:C7
|
24
|
+
manufacturer => innotek GmbH
|
25
|
+
memoryfree => 412.53 MB
|
26
|
+
memorysize => 490.45 MB
|
27
|
+
memorytotal => 490.45 MB
|
28
|
+
mtu_eth0 => 1500
|
29
|
+
mtu_lo => 16436
|
30
|
+
netmask => 255.255.255.0
|
31
|
+
netmask_eth0 => 255.255.255.0
|
32
|
+
netmask_lo => 255.0.0.0
|
33
|
+
network_eth0 => 10.0.2.0
|
34
|
+
network_lo => 127.0.0.0
|
35
|
+
operatingsystem => CentOS
|
36
|
+
operatingsystemrelease => 6.5
|
37
|
+
osfamily => RedHat
|
38
|
+
path => /home/vagrant/vendor/bundler/ruby/1.8/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
|
39
|
+
physicalprocessorcount => 1
|
40
|
+
processor0 => Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
|
41
|
+
processorcount => 1
|
42
|
+
productname => VirtualBox
|
43
|
+
ps => ps -ef
|
44
|
+
rubysitedir => /usr/lib/ruby/site_ruby/1.8
|
45
|
+
rubyversion => 1.8.7
|
46
|
+
selinux => false
|
47
|
+
serialnumber => 0
|
48
|
+
sshdsakey => AAAAB3NzaC1kc3MAAACBAPDnLf/P2JHz2E0aUd+E8O8YuybLDdTnujrnLMjVJb6wOFA1R59fcUHATXd1YwCtS1gKG+5Jvw26t9K4zNh3A75jdLXC6kBiQXzcf+92OgL6FWpGYVJ9x+7/KEKiaf80m/Ry5I0W62WLpbJ5kmgep2EWh2fDgxyZ5NeTp4KrARMBAAAAFQDzTZ/s+ij+u9yY6H47os/RFzUQjQAAAIAMdZkfyKX0mjGPLyDO2hFRWZxnYLmGVhojHO5qETkfPXQpSe0hepePH4nJnjfQG4rjcDpqu2BLNtY26ez0QC0iZLRlVTcP7/t10Jd24FCVf/uADo8iOUEDJD+/xx9X3xwX1pwikEPLP/VDZnx1xT5E03m4uY77iqafkgwy7EMdQgAAAIB8wNled5Rz4HtjJdOKAJO2mRwE6BBn8CEbMSyfz9QJqCmdB77k3afozwK4533+T9vDd8HmG0oefonTtQycFkmZAev5+NlnI4SXCr4RHJym8cTzp1JBo2uWFisTwP3dswLQRNJPtH/OkQgDRkCJU+hOGm7X6OcnhUW+SqRDXeOYCA==
|
49
|
+
sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAQEAvUmKY8pcuWVoV17WiSyJHHXLwoaA1AUdW9hHA41lTqRJEGDP9jJ6A9RdCZvr7Zu3lsX0HsnLE7O89cw7wrXAWUAGv/iP3stDejI2H+gHF9eLNhEdso+CkPPmXClqyWBYIex0SZh/lMEnfgAPMuUEy5RQ3LFxhLpy7rAwFRiTAyS8OmYMLuE6TUXtUTe5Qprwm3wq56D3KSrFN+K8u0j62cj1sPBz2yEy+8rbH5Xcldcc36N/ip0beNxDX8cjWbsZ+qPM75U1NHbPz2svKl0Jkyb6Nm8eCHhGUiIXT/R0QV98pM2vfjUNo3SqL01bcDNuIGj8FIZE1onzNXgAYJs9HQ==
|
50
|
+
swapfree => 991.99 MB
|
51
|
+
swapsize => 991.99 MB
|
52
|
+
timezone => PST
|
53
|
+
type => Other
|
54
|
+
uniqueid => 007f0100
|
55
|
+
uptime => 0:02 hours
|
56
|
+
uptime_days => 0
|
57
|
+
uptime_hours => 0
|
58
|
+
uptime_seconds => 133
|
59
|
+
virtual => virtualbox
|
@@ -0,0 +1,59 @@
|
|
1
|
+
architecture => x86_64
|
2
|
+
boardmanufacturer => Oracle Corporation
|
3
|
+
boardproductname => VirtualBox
|
4
|
+
boardserialnumber => 0
|
5
|
+
domain => localdomain
|
6
|
+
facterversion => 1.6.18
|
7
|
+
fqdn => localhost.localdomain
|
8
|
+
gem_version => ~> 1.6.0
|
9
|
+
hardwareisa => x86_64
|
10
|
+
hardwaremodel => x86_64
|
11
|
+
hostname => localhost
|
12
|
+
id => root
|
13
|
+
interfaces => eth0,lo
|
14
|
+
ipaddress => 10.0.2.15
|
15
|
+
ipaddress_eth0 => 10.0.2.15
|
16
|
+
ipaddress_lo => 127.0.0.1
|
17
|
+
is_virtual => true
|
18
|
+
kernel => Linux
|
19
|
+
kernelmajversion => 2.6
|
20
|
+
kernelrelease => 2.6.32-431.el6.x86_64
|
21
|
+
kernelversion => 2.6.32
|
22
|
+
macaddress => 08:00:27:5E:0A:C7
|
23
|
+
macaddress_eth0 => 08:00:27:5E:0A:C7
|
24
|
+
manufacturer => innotek GmbH
|
25
|
+
memoryfree => 412.53 MB
|
26
|
+
memorysize => 490.45 MB
|
27
|
+
memorytotal => 490.45 MB
|
28
|
+
mtu_eth0 => 1500
|
29
|
+
mtu_lo => 16436
|
30
|
+
netmask => 255.255.255.0
|
31
|
+
netmask_eth0 => 255.255.255.0
|
32
|
+
netmask_lo => 255.0.0.0
|
33
|
+
network_eth0 => 10.0.2.0
|
34
|
+
network_lo => 127.0.0.0
|
35
|
+
operatingsystem => CentOS
|
36
|
+
operatingsystemrelease => 6.5
|
37
|
+
osfamily => RedHat
|
38
|
+
path => /home/vagrant/vendor/bundler/ruby/1.8/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
|
39
|
+
physicalprocessorcount => 1
|
40
|
+
processor0 => Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
|
41
|
+
processorcount => 1
|
42
|
+
productname => VirtualBox
|
43
|
+
ps => ps -ef
|
44
|
+
rubysitedir => /usr/lib/ruby/site_ruby/1.8
|
45
|
+
rubyversion => 1.8.7
|
46
|
+
selinux => false
|
47
|
+
serialnumber => 0
|
48
|
+
sshdsakey => AAAAB3NzaC1kc3MAAACBAPDnLf/P2JHz2E0aUd+E8O8YuybLDdTnujrnLMjVJb6wOFA1R59fcUHATXd1YwCtS1gKG+5Jvw26t9K4zNh3A75jdLXC6kBiQXzcf+92OgL6FWpGYVJ9x+7/KEKiaf80m/Ry5I0W62WLpbJ5kmgep2EWh2fDgxyZ5NeTp4KrARMBAAAAFQDzTZ/s+ij+u9yY6H47os/RFzUQjQAAAIAMdZkfyKX0mjGPLyDO2hFRWZxnYLmGVhojHO5qETkfPXQpSe0hepePH4nJnjfQG4rjcDpqu2BLNtY26ez0QC0iZLRlVTcP7/t10Jd24FCVf/uADo8iOUEDJD+/xx9X3xwX1pwikEPLP/VDZnx1xT5E03m4uY77iqafkgwy7EMdQgAAAIB8wNled5Rz4HtjJdOKAJO2mRwE6BBn8CEbMSyfz9QJqCmdB77k3afozwK4533+T9vDd8HmG0oefonTtQycFkmZAev5+NlnI4SXCr4RHJym8cTzp1JBo2uWFisTwP3dswLQRNJPtH/OkQgDRkCJU+hOGm7X6OcnhUW+SqRDXeOYCA==
|
49
|
+
sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAQEAvUmKY8pcuWVoV17WiSyJHHXLwoaA1AUdW9hHA41lTqRJEGDP9jJ6A9RdCZvr7Zu3lsX0HsnLE7O89cw7wrXAWUAGv/iP3stDejI2H+gHF9eLNhEdso+CkPPmXClqyWBYIex0SZh/lMEnfgAPMuUEy5RQ3LFxhLpy7rAwFRiTAyS8OmYMLuE6TUXtUTe5Qprwm3wq56D3KSrFN+K8u0j62cj1sPBz2yEy+8rbH5Xcldcc36N/ip0beNxDX8cjWbsZ+qPM75U1NHbPz2svKl0Jkyb6Nm8eCHhGUiIXT/R0QV98pM2vfjUNo3SqL01bcDNuIGj8FIZE1onzNXgAYJs9HQ==
|
50
|
+
swapfree => 991.99 MB
|
51
|
+
swapsize => 991.99 MB
|
52
|
+
timezone => PST
|
53
|
+
type => Other
|
54
|
+
uniqueid => 007f0100
|
55
|
+
uptime => 0:02 hours
|
56
|
+
uptime_days => 0
|
57
|
+
uptime_hours => 0
|
58
|
+
uptime_seconds => 133
|
59
|
+
virtual => virtualbox
|
@@ -0,0 +1,64 @@
|
|
1
|
+
architecture => i386
|
2
|
+
boardmanufacturer => Oracle Corporation
|
3
|
+
boardproductname => VirtualBox
|
4
|
+
boardserialnumber => 0
|
5
|
+
domain => camptocamp.com
|
6
|
+
facterversion => 1.6.18
|
7
|
+
fqdn => debian-607-x64-vbox4210-nocm.camptocamp.com
|
8
|
+
gem_version => ~> 1.6.0
|
9
|
+
hardwareisa => unknown
|
10
|
+
hardwaremodel => i386
|
11
|
+
hostname => debian-607-x64-vbox4210-nocm
|
12
|
+
id => root
|
13
|
+
interfaces => eth0,lo
|
14
|
+
ipaddress => 10.0.2.15
|
15
|
+
ipaddress_eth0 => 10.0.2.15
|
16
|
+
ipaddress_lo => 127.0.0.1
|
17
|
+
is_virtual => true
|
18
|
+
kernel => Linux
|
19
|
+
kernelmajversion => 2.6
|
20
|
+
kernelrelease => 2.6.32-5-i386
|
21
|
+
kernelversion => 2.6.32
|
22
|
+
lsbdistcodename => squeeze
|
23
|
+
lsbdistdescription => Debian GNU/Linux 6.0.7 (squeeze)
|
24
|
+
lsbdistid => Debian
|
25
|
+
lsbdistrelease => 6.0.7
|
26
|
+
lsbmajdistrelease => 6
|
27
|
+
macaddress => 08:00:27:50:07:13
|
28
|
+
macaddress_eth0 => 08:00:27:50:07:13
|
29
|
+
manufacturer => innotek GmbH
|
30
|
+
memoryfree => 199.30 MB
|
31
|
+
memorysize => 244.90 MB
|
32
|
+
memorytotal => 244.90 MB
|
33
|
+
mtu_eth0 => 1500
|
34
|
+
mtu_lo => 16436
|
35
|
+
netmask => 255.255.255.0
|
36
|
+
netmask_eth0 => 255.255.255.0
|
37
|
+
netmask_lo => 255.0.0.0
|
38
|
+
network_eth0 => 10.0.2.0
|
39
|
+
network_lo => 127.0.0.0
|
40
|
+
operatingsystem => Debian
|
41
|
+
operatingsystemrelease => 6.0.7
|
42
|
+
osfamily => Debian
|
43
|
+
path => /home/vagrant/vendor/bundler/ruby/1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/gems/1.8/bin/
|
44
|
+
physicalprocessorcount => 1
|
45
|
+
processor0 => Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
|
46
|
+
processorcount => 1
|
47
|
+
productname => VirtualBox
|
48
|
+
ps => ps -ef
|
49
|
+
rubysitedir => /usr/local/lib/site_ruby/1.8
|
50
|
+
rubyversion => 1.8.7
|
51
|
+
selinux => false
|
52
|
+
serialnumber => 0
|
53
|
+
sshdsakey => AAAAB3NzaC1kc3MAAACBAPoKlwfUXKnNX5H2IPn9K/D/gZobBp0Y6VxteNrLn2sLMb55gyqWV51vfJCQVghHqeeJ254vaS4WKvAezNwluGoSMew7Gpv3pudgZ3anjXdazOmzN74QPvsbM65tCPw2b0z97BkRZ8Yjk2sP88IHszThUeDvHAffqwWTDhlcMSuXAAAAFQC/6QXdVUmEvHAzQmt1Y2LXWePj8wAAAIAhbJaCqGgv7Oa9BoWm7LkFcx7rNkUKK7Ixb6HUTFYPsusgbeZXkAE4nYRCuYVoUMTVSPaAED12r+8S51qKz/zyggrsHJp+vmKGI0eWU8CPaA/VctVnaVCz+vriTje3nMuc+boRO3rrYfHjPwmmOKg5+Vdtj1UpcPdYrUKJtVP+QQAAAIALXeYw8Sd9qSemTQ4WO9cwQYwkzoJ8mXKGTDHgMo+hgnWDhllQJdeyiqOw1qi6ycvt0hIyfEULDoH/LoP6tPtpPsX6ls6UiLNy/e6h++SyQAZi35GKj3g+tZ+aFL8OgYTakzxP9NVs9HwIDhJ+yAFQnW/MX0Jk/UrE/+mC9YLunQ==
|
54
|
+
sshrsakey => AAAAB3NzaC1yc2EAAAADAQABAAABAQCvex8McfKh77qMS5XmtlGeEYyuqRr1pr3lv9zAXIa+oLPtKfeho8ubSD5CtQX10TIdCkbiXSfDaFHGNvXCDF6h03YJm08svRKRqy7YrRHzcY4Wq5W/bb0baLYQXvcDB1ZY8YLqFzgIRmLgFFCXLi47kuq+7lUIUifhkUjN1GL6qPmjvUmkgMbYWnwT4Cw3baOGurTU9eHnSqAZBxFzDSTgLKgYg+Bympz5eykcNT6On+62hcjCM1chzHwb81VeuKlzVLTYOTropblOe0rUrGMgGCr8fy3TBmJPwRvOPrB1CHp4DV1b+lxvrkZRdgNK6dZb2mlIJxdJ/Jrcxm3vV22l
|
55
|
+
swapfree => 455.99 MB
|
56
|
+
swapsize => 455.99 MB
|
57
|
+
timezone => UTC
|
58
|
+
type => Other
|
59
|
+
uniqueid => 007f0101
|
60
|
+
uptime => 0:01 hours
|
61
|
+
uptime_days => 0
|
62
|
+
uptime_hours => 0
|
63
|
+
uptime_seconds => 118
|
64
|
+
virtual => virtualbox
|