rspec-puppet-facts 0.12.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -66
- data/lib/rspec-puppet-facts.rb +15 -24
- data/lib/rspec-puppet-facts/version.rb +1 -1
- data/rspec-puppet-facts.gemspec +1 -1
- data/spec/rspec_puppet_facts_spec.rb +12 -7
- data/spec/spec_helper.rb +0 -5
- metadata +6 -439
- data/facts/1.6/archlinux-i386.facts +0 -56
- data/facts/1.6/archlinux-x86_64.facts +0 -56
- data/facts/1.6/centos-5-i386.facts +0 -68
- data/facts/1.6/centos-5-x86_64.facts +0 -68
- data/facts/1.6/centos-6-i386.facts +0 -61
- data/facts/1.6/centos-6-x86_64.facts +0 -61
- data/facts/1.6/centos-7-i386.facts +0 -52
- data/facts/1.6/centos-7-x86_64.facts +0 -52
- data/facts/1.6/debian-6-i386.facts +0 -66
- data/facts/1.6/debian-6-x86_64.facts +0 -66
- data/facts/1.6/debian-7-i386.facts +0 -67
- data/facts/1.6/debian-7-x86_64.facts +0 -67
- data/facts/1.6/debian-8-i386.facts +0 -67
- data/facts/1.6/debian-8-x86_64.facts +0 -67
- data/facts/1.6/fedora-19-i386.facts +0 -44
- data/facts/1.6/fedora-19-x86_64.facts +0 -44
- data/facts/1.6/freebsd-10-i386.facts +0 -57
- data/facts/1.6/freebsd-10-x86_64.facts +0 -57
- data/facts/1.6/freebsd-9-i386.facts +0 -57
- data/facts/1.6/freebsd-9-x86_64.facts +0 -57
- data/facts/1.6/gentoo-i386.facts +0 -46
- data/facts/1.6/gentoo-x86_64.facts +0 -46
- data/facts/1.6/openbsd-5.7-i386.facts +0 -56
- data/facts/1.6/openbsd-5.7-x86_64.facts +0 -56
- data/facts/1.6/opensuse-12-i386.facts +0 -55
- data/facts/1.6/opensuse-12-x86_64.facts +0 -55
- data/facts/1.6/opensuse-13-i386.facts +0 -55
- data/facts/1.6/opensuse-13-x86_64.facts +0 -55
- data/facts/1.6/oraclelinux-5-i386.facts +0 -68
- data/facts/1.6/oraclelinux-5-x86_64.facts +0 -68
- data/facts/1.6/oraclelinux-6-i386.facts +0 -61
- data/facts/1.6/oraclelinux-6-x86_64.facts +0 -61
- data/facts/1.6/oraclelinux-7-i386.facts +0 -52
- data/facts/1.6/oraclelinux-7-x86_64.facts +0 -52
- data/facts/1.6/redhat-5-i386.facts +0 -68
- data/facts/1.6/redhat-5-x86_64.facts +0 -68
- data/facts/1.6/redhat-6-i386.facts +0 -61
- data/facts/1.6/redhat-6-x86_64.facts +0 -61
- data/facts/1.6/redhat-7-i386.facts +0 -52
- data/facts/1.6/redhat-7-x86_64.facts +0 -52
- data/facts/1.6/scientific-5-i386.facts +0 -68
- data/facts/1.6/scientific-5-x86_64.facts +0 -68
- data/facts/1.6/scientific-6-i386.facts +0 -61
- data/facts/1.6/scientific-6-x86_64.facts +0 -61
- data/facts/1.6/scientific-7-i386.facts +0 -52
- data/facts/1.6/scientific-7-x86_64.facts +0 -52
- data/facts/1.6/sles-11-i386.facts +0 -61
- data/facts/1.6/sles-11-x86_64.facts +0 -61
- data/facts/1.6/solaris-11-i386.facts +0 -60
- data/facts/1.6/solaris-11-x86_64.facts +0 -60
- data/facts/1.6/ubuntu-10.04-i386.facts +0 -66
- data/facts/1.6/ubuntu-10.04-x86_64.facts +0 -66
- data/facts/1.6/ubuntu-12.04-i386.facts +0 -67
- data/facts/1.6/ubuntu-12.04-x86_64.facts +0 -67
- data/facts/1.6/ubuntu-14.04-i386.facts +0 -67
- data/facts/1.6/ubuntu-14.04-x86_64.facts +0 -67
- data/facts/1.6/ubuntu-14.10-i386.facts +0 -67
- data/facts/1.6/ubuntu-14.10-x86_64.facts +0 -67
- data/facts/1.6/ubuntu-15.04-i386.facts +0 -67
- data/facts/1.6/ubuntu-15.04-x86_64.facts +0 -67
- data/facts/1.7/archlinux-i386.facts +0 -82
- data/facts/1.7/archlinux-x86_64.facts +0 -82
- data/facts/1.7/centos-5-i386.facts +0 -82
- data/facts/1.7/centos-5-x86_64.facts +0 -82
- data/facts/1.7/centos-6-i386.facts +0 -77
- data/facts/1.7/centos-6-x86_64.facts +0 -77
- data/facts/1.7/centos-7-i386.facts +0 -75
- data/facts/1.7/centos-7-x86_64.facts +0 -75
- data/facts/1.7/debian-6-i386.facts +0 -88
- data/facts/1.7/debian-6-x86_64.facts +0 -88
- data/facts/1.7/debian-7-i386.facts +0 -84
- data/facts/1.7/debian-7-x86_64.facts +0 -84
- data/facts/1.7/debian-8-i386.facts +0 -87
- data/facts/1.7/debian-8-x86_64.facts +0 -87
- data/facts/1.7/fedora-19-i386.facts +0 -67
- data/facts/1.7/fedora-19-x86_64.facts +0 -67
- data/facts/1.7/freebsd-10-i386.facts +0 -76
- data/facts/1.7/freebsd-10-x86_64.facts +0 -76
- data/facts/1.7/freebsd-9-i386.facts +0 -76
- data/facts/1.7/freebsd-9-x86_64.facts +0 -76
- data/facts/1.7/gentoo-i386.facts +0 -70
- data/facts/1.7/gentoo-x86_64.facts +0 -70
- data/facts/1.7/openbsd-5.7-i386.facts +0 -63
- data/facts/1.7/openbsd-5.7-x86_64.facts +0 -63
- data/facts/1.7/opensuse-12-i386.facts +0 -70
- data/facts/1.7/opensuse-12-x86_64.facts +0 -70
- data/facts/1.7/opensuse-13-i386.facts +0 -67
- data/facts/1.7/opensuse-13-x86_64.facts +0 -67
- data/facts/1.7/oraclelinux-5-i386.facts +0 -82
- data/facts/1.7/oraclelinux-5-x86_64.facts +0 -82
- data/facts/1.7/oraclelinux-6-i386.facts +0 -77
- data/facts/1.7/oraclelinux-6-x86_64.facts +0 -77
- data/facts/1.7/oraclelinux-7-i386.facts +0 -75
- data/facts/1.7/oraclelinux-7-x86_64.facts +0 -75
- data/facts/1.7/redhat-5-i386.facts +0 -82
- data/facts/1.7/redhat-5-x86_64.facts +0 -82
- data/facts/1.7/redhat-6-i386.facts +0 -77
- data/facts/1.7/redhat-6-x86_64.facts +0 -77
- data/facts/1.7/redhat-7-i386.facts +0 -75
- data/facts/1.7/redhat-7-x86_64.facts +0 -75
- data/facts/1.7/scientific-5-i386.facts +0 -82
- data/facts/1.7/scientific-5-x86_64.facts +0 -82
- data/facts/1.7/scientific-6-i386.facts +0 -77
- data/facts/1.7/scientific-6-x86_64.facts +0 -77
- data/facts/1.7/scientific-7-i386.facts +0 -75
- data/facts/1.7/scientific-7-x86_64.facts +0 -75
- data/facts/1.7/sles-11-i386.facts +0 -82
- data/facts/1.7/sles-11-x86_64.facts +0 -82
- data/facts/1.7/solaris-11-i386.facts +0 -80
- data/facts/1.7/solaris-11-x86_64.facts +0 -80
- data/facts/1.7/ubuntu-10.04-i386.facts +0 -87
- data/facts/1.7/ubuntu-10.04-x86_64.facts +0 -87
- data/facts/1.7/ubuntu-12.04-i386.facts +0 -89
- data/facts/1.7/ubuntu-12.04-x86_64.facts +0 -89
- data/facts/1.7/ubuntu-14.04-i386.facts +0 -83
- data/facts/1.7/ubuntu-14.04-x86_64.facts +0 -83
- data/facts/1.7/ubuntu-14.10-i386.facts +0 -83
- data/facts/1.7/ubuntu-14.10-x86_64.facts +0 -83
- data/facts/1.7/ubuntu-15.04-i386.facts +0 -83
- data/facts/1.7/ubuntu-15.04-x86_64.facts +0 -83
- data/facts/2.0/archlinux-i386.facts +0 -83
- data/facts/2.0/archlinux-x86_64.facts +0 -83
- data/facts/2.0/centos-5-i386.facts +0 -81
- data/facts/2.0/centos-5-x86_64.facts +0 -81
- data/facts/2.0/centos-6-i386.facts +0 -76
- data/facts/2.0/centos-6-x86_64.facts +0 -76
- data/facts/2.0/centos-7-i386.facts +0 -74
- data/facts/2.0/centos-7-x86_64.facts +0 -74
- data/facts/2.0/debian-6-i386.facts +0 -87
- data/facts/2.0/debian-6-x86_64.facts +0 -87
- data/facts/2.0/debian-7-i386.facts +0 -83
- data/facts/2.0/debian-7-x86_64.facts +0 -83
- data/facts/2.0/debian-8-i386.facts +0 -88
- data/facts/2.0/debian-8-x86_64.facts +0 -88
- data/facts/2.0/fedora-19-i386.facts +0 -66
- data/facts/2.0/fedora-19-x86_64.facts +0 -66
- data/facts/2.0/freebsd-10-i386.facts +0 -75
- data/facts/2.0/freebsd-10-x86_64.facts +0 -75
- data/facts/2.0/freebsd-9-i386.facts +0 -75
- data/facts/2.0/freebsd-9-x86_64.facts +0 -75
- data/facts/2.0/gentoo-i386.facts +0 -71
- data/facts/2.0/gentoo-x86_64.facts +0 -71
- data/facts/2.0/openbsd-5.7-i386.facts +0 -64
- data/facts/2.0/openbsd-5.7-x86_64.facts +0 -64
- data/facts/2.0/opensuse-12-i386.facts +0 -69
- data/facts/2.0/opensuse-12-x86_64.facts +0 -69
- data/facts/2.0/opensuse-13-i386.facts +0 -66
- data/facts/2.0/opensuse-13-x86_64.facts +0 -66
- data/facts/2.0/oraclelinux-5-i386.facts +0 -81
- data/facts/2.0/oraclelinux-5-x86_64.facts +0 -81
- data/facts/2.0/oraclelinux-6-i386.facts +0 -76
- data/facts/2.0/oraclelinux-6-x86_64.facts +0 -76
- data/facts/2.0/oraclelinux-7-i386.facts +0 -74
- data/facts/2.0/oraclelinux-7-x86_64.facts +0 -74
- data/facts/2.0/redhat-5-i386.facts +0 -81
- data/facts/2.0/redhat-5-x86_64.facts +0 -81
- data/facts/2.0/redhat-6-i386.facts +0 -76
- data/facts/2.0/redhat-6-x86_64.facts +0 -76
- data/facts/2.0/redhat-7-i386.facts +0 -74
- data/facts/2.0/redhat-7-x86_64.facts +0 -74
- data/facts/2.0/scientific-5-i386.facts +0 -81
- data/facts/2.0/scientific-5-x86_64.facts +0 -81
- data/facts/2.0/scientific-6-i386.facts +0 -76
- data/facts/2.0/scientific-6-x86_64.facts +0 -76
- data/facts/2.0/scientific-7-i386.facts +0 -74
- data/facts/2.0/scientific-7-x86_64.facts +0 -74
- data/facts/2.0/sles-11-i386.facts +0 -81
- data/facts/2.0/sles-11-x86_64.facts +0 -81
- data/facts/2.0/solaris-11-i386.facts +0 -82
- data/facts/2.0/solaris-11-x86_64.facts +0 -82
- data/facts/2.0/ubuntu-10.04-i386.facts +0 -86
- data/facts/2.0/ubuntu-10.04-x86_64.facts +0 -86
- data/facts/2.0/ubuntu-12.04-i386.facts +0 -88
- data/facts/2.0/ubuntu-12.04-x86_64.facts +0 -88
- data/facts/2.0/ubuntu-14.04-i386.facts +0 -84
- data/facts/2.0/ubuntu-14.04-x86_64.facts +0 -84
- data/facts/2.0/ubuntu-14.10-i386.facts +0 -84
- data/facts/2.0/ubuntu-14.10-x86_64.facts +0 -84
- data/facts/2.0/ubuntu-15.04-i386.facts +0 -82
- data/facts/2.0/ubuntu-15.04-x86_64.facts +0 -82
- data/facts/2.1/archlinux-i386.facts +0 -99
- data/facts/2.1/archlinux-x86_64.facts +0 -99
- data/facts/2.1/centos-5-i386.facts +0 -92
- data/facts/2.1/centos-5-x86_64.facts +0 -92
- data/facts/2.1/centos-6-i386.facts +0 -88
- data/facts/2.1/centos-6-x86_64.facts +0 -88
- data/facts/2.1/centos-7-i386.facts +0 -92
- data/facts/2.1/centos-7-x86_64.facts +0 -92
- data/facts/2.1/debian-6-i386.facts +0 -102
- data/facts/2.1/debian-6-x86_64.facts +0 -102
- data/facts/2.1/debian-7-i386.facts +0 -98
- data/facts/2.1/debian-7-x86_64.facts +0 -98
- data/facts/2.1/debian-8-i386.facts +0 -105
- data/facts/2.1/debian-8-x86_64.facts +0 -105
- data/facts/2.1/fedora-19-i386.facts +0 -84
- data/facts/2.1/fedora-19-x86_64.facts +0 -84
- data/facts/2.1/freebsd-10-i386.facts +0 -75
- data/facts/2.1/freebsd-10-x86_64.facts +0 -75
- data/facts/2.1/freebsd-9-i386.facts +0 -75
- data/facts/2.1/freebsd-9-x86_64.facts +0 -75
- data/facts/2.1/gentoo-i386.facts +0 -96
- data/facts/2.1/gentoo-x86_64.facts +0 -96
- data/facts/2.1/openbsd-5.7-i386.facts +0 -66
- data/facts/2.1/openbsd-5.7-x86_64.facts +0 -66
- data/facts/2.1/opensuse-12-i386.facts +0 -81
- data/facts/2.1/opensuse-12-x86_64.facts +0 -81
- data/facts/2.1/opensuse-13-i386.facts +0 -85
- data/facts/2.1/opensuse-13-x86_64.facts +0 -85
- data/facts/2.1/oraclelinux-5-i386.facts +0 -92
- data/facts/2.1/oraclelinux-5-x86_64.facts +0 -92
- data/facts/2.1/oraclelinux-6-i386.facts +0 -88
- data/facts/2.1/oraclelinux-6-x86_64.facts +0 -88
- data/facts/2.1/oraclelinux-7-i386.facts +0 -92
- data/facts/2.1/oraclelinux-7-x86_64.facts +0 -92
- data/facts/2.1/redhat-5-i386.facts +0 -92
- data/facts/2.1/redhat-5-x86_64.facts +0 -92
- data/facts/2.1/redhat-6-i386.facts +0 -88
- data/facts/2.1/redhat-6-x86_64.facts +0 -88
- data/facts/2.1/redhat-7-i386.facts +0 -92
- data/facts/2.1/redhat-7-x86_64.facts +0 -92
- data/facts/2.1/scientific-5-i386.facts +0 -92
- data/facts/2.1/scientific-5-x86_64.facts +0 -92
- data/facts/2.1/scientific-6-i386.facts +0 -88
- data/facts/2.1/scientific-6-x86_64.facts +0 -88
- data/facts/2.1/scientific-7-i386.facts +0 -92
- data/facts/2.1/scientific-7-x86_64.facts +0 -92
- data/facts/2.1/sles-11-i386.facts +0 -94
- data/facts/2.1/sles-11-x86_64.facts +0 -94
- data/facts/2.1/solaris-11-i386.facts +0 -82
- data/facts/2.1/solaris-11-x86_64.facts +0 -82
- data/facts/2.1/ubuntu-10.04-i386.facts +0 -101
- data/facts/2.1/ubuntu-10.04-x86_64.facts +0 -101
- data/facts/2.1/ubuntu-12.04-i386.facts +0 -103
- data/facts/2.1/ubuntu-12.04-x86_64.facts +0 -103
- data/facts/2.1/ubuntu-14.04-i386.facts +0 -99
- data/facts/2.1/ubuntu-14.04-x86_64.facts +0 -99
- data/facts/2.1/ubuntu-14.10-i386.facts +0 -100
- data/facts/2.1/ubuntu-14.10-x86_64.facts +0 -100
- data/facts/2.1/ubuntu-15.04-i386.facts +0 -90
- data/facts/2.1/ubuntu-15.04-x86_64.facts +0 -90
- data/facts/2.2/archlinux-i386.facts +0 -126
- data/facts/2.2/archlinux-x86_64.facts +0 -126
- data/facts/2.2/centos-5-i386.facts +0 -125
- data/facts/2.2/centos-5-x86_64.facts +0 -125
- data/facts/2.2/centos-6-i386.facts +0 -111
- data/facts/2.2/centos-6-x86_64.facts +0 -111
- data/facts/2.2/centos-7-i386.facts +0 -115
- data/facts/2.2/centos-7-x86_64.facts +0 -115
- data/facts/2.2/debian-6-i386.facts +0 -134
- data/facts/2.2/debian-6-x86_64.facts +0 -134
- data/facts/2.2/debian-7-i386.facts +0 -130
- data/facts/2.2/debian-7-x86_64.facts +0 -130
- data/facts/2.2/debian-8-i386.facts +0 -137
- data/facts/2.2/debian-8-x86_64.facts +0 -137
- data/facts/2.2/fedora-19-i386.facts +0 -106
- data/facts/2.2/fedora-19-x86_64.facts +0 -106
- data/facts/2.2/freebsd-10-i386.facts +0 -96
- data/facts/2.2/freebsd-10-x86_64.facts +0 -96
- data/facts/2.2/freebsd-9-i386.facts +0 -96
- data/facts/2.2/freebsd-9-x86_64.facts +0 -96
- data/facts/2.2/gentoo-i386.facts +0 -121
- data/facts/2.2/gentoo-x86_64.facts +0 -121
- data/facts/2.2/openbsd-5.7-i386.facts +0 -134
- data/facts/2.2/openbsd-5.7-x86_64.facts +0 -134
- data/facts/2.2/opensuse-12-i386.facts +0 -105
- data/facts/2.2/opensuse-12-x86_64.facts +0 -105
- data/facts/2.2/opensuse-13-i386.facts +0 -109
- data/facts/2.2/opensuse-13-x86_64.facts +0 -109
- data/facts/2.2/oraclelinux-5-i386.facts +0 -125
- data/facts/2.2/oraclelinux-5-x86_64.facts +0 -125
- data/facts/2.2/oraclelinux-6-i386.facts +0 -111
- data/facts/2.2/oraclelinux-6-x86_64.facts +0 -111
- data/facts/2.2/oraclelinux-7-i386.facts +0 -115
- data/facts/2.2/oraclelinux-7-x86_64.facts +0 -115
- data/facts/2.2/redhat-5-i386.facts +0 -125
- data/facts/2.2/redhat-5-x86_64.facts +0 -125
- data/facts/2.2/redhat-6-i386.facts +0 -111
- data/facts/2.2/redhat-6-x86_64.facts +0 -111
- data/facts/2.2/redhat-7-i386.facts +0 -115
- data/facts/2.2/redhat-7-x86_64.facts +0 -115
- data/facts/2.2/scientific-5-i386.facts +0 -125
- data/facts/2.2/scientific-5-x86_64.facts +0 -125
- data/facts/2.2/scientific-6-i386.facts +0 -111
- data/facts/2.2/scientific-6-x86_64.facts +0 -111
- data/facts/2.2/scientific-7-i386.facts +0 -115
- data/facts/2.2/scientific-7-x86_64.facts +0 -115
- data/facts/2.2/sles-11-i386.facts +0 -118
- data/facts/2.2/sles-11-x86_64.facts +0 -118
- data/facts/2.2/solaris-11-i386.facts +0 -105
- data/facts/2.2/solaris-11-x86_64.facts +0 -105
- data/facts/2.2/ubuntu-10.04-i386.facts +0 -131
- data/facts/2.2/ubuntu-10.04-x86_64.facts +0 -131
- data/facts/2.2/ubuntu-12.04-i386.facts +0 -133
- data/facts/2.2/ubuntu-12.04-x86_64.facts +0 -133
- data/facts/2.2/ubuntu-14.04-i386.facts +0 -129
- data/facts/2.2/ubuntu-14.04-x86_64.facts +0 -129
- data/facts/2.2/ubuntu-14.10-i386.facts +0 -130
- data/facts/2.2/ubuntu-14.10-x86_64.facts +0 -130
- data/facts/2.2/ubuntu-15.04-i386.facts +0 -120
- data/facts/2.2/ubuntu-15.04-x86_64.facts +0 -120
- data/facts/2.3/archlinux-i386.facts +0 -127
- data/facts/2.3/archlinux-x86_64.facts +0 -127
- data/facts/2.3/centos-5-i386.facts +0 -126
- data/facts/2.3/centos-5-x86_64.facts +0 -126
- data/facts/2.3/centos-6-i386.facts +0 -112
- data/facts/2.3/centos-6-x86_64.facts +0 -112
- data/facts/2.3/centos-7-i386.facts +0 -116
- data/facts/2.3/centos-7-x86_64.facts +0 -116
- data/facts/2.3/debian-6-i386.facts +0 -135
- data/facts/2.3/debian-6-x86_64.facts +0 -135
- data/facts/2.3/debian-7-i386.facts +0 -131
- data/facts/2.3/debian-7-x86_64.facts +0 -131
- data/facts/2.3/debian-8-i386.facts +0 -138
- data/facts/2.3/debian-8-x86_64.facts +0 -138
- data/facts/2.3/fedora-19-i386.facts +0 -107
- data/facts/2.3/fedora-19-x86_64.facts +0 -107
- data/facts/2.3/freebsd-10-i386.facts +0 -97
- data/facts/2.3/freebsd-10-x86_64.facts +0 -97
- data/facts/2.3/freebsd-9-i386.facts +0 -97
- data/facts/2.3/freebsd-9-x86_64.facts +0 -97
- data/facts/2.3/gentoo-i386.facts +0 -122
- data/facts/2.3/gentoo-x86_64.facts +0 -122
- data/facts/2.3/openbsd-5.7-i386.facts +0 -137
- data/facts/2.3/openbsd-5.7-x86_64.facts +0 -137
- data/facts/2.3/opensuse-12-i386.facts +0 -106
- data/facts/2.3/opensuse-12-x86_64.facts +0 -106
- data/facts/2.3/opensuse-13-i386.facts +0 -110
- data/facts/2.3/opensuse-13-x86_64.facts +0 -110
- data/facts/2.3/oraclelinux-5-i386.facts +0 -126
- data/facts/2.3/oraclelinux-5-x86_64.facts +0 -126
- data/facts/2.3/oraclelinux-6-i386.facts +0 -112
- data/facts/2.3/oraclelinux-6-x86_64.facts +0 -112
- data/facts/2.3/oraclelinux-7-i386.facts +0 -116
- data/facts/2.3/oraclelinux-7-x86_64.facts +0 -116
- data/facts/2.3/redhat-5-i386.facts +0 -126
- data/facts/2.3/redhat-5-x86_64.facts +0 -126
- data/facts/2.3/redhat-6-i386.facts +0 -112
- data/facts/2.3/redhat-6-x86_64.facts +0 -112
- data/facts/2.3/redhat-7-i386.facts +0 -116
- data/facts/2.3/redhat-7-x86_64.facts +0 -116
- data/facts/2.3/scientific-5-i386.facts +0 -126
- data/facts/2.3/scientific-5-x86_64.facts +0 -126
- data/facts/2.3/scientific-6-i386.facts +0 -112
- data/facts/2.3/scientific-6-x86_64.facts +0 -112
- data/facts/2.3/scientific-7-i386.facts +0 -116
- data/facts/2.3/scientific-7-x86_64.facts +0 -116
- data/facts/2.3/sles-11-i386.facts +0 -119
- data/facts/2.3/sles-11-x86_64.facts +0 -119
- data/facts/2.3/solaris-11-i386.facts +0 -106
- data/facts/2.3/solaris-11-x86_64.facts +0 -106
- data/facts/2.3/ubuntu-10.04-i386.facts +0 -132
- data/facts/2.3/ubuntu-10.04-x86_64.facts +0 -132
- data/facts/2.3/ubuntu-12.04-i386.facts +0 -134
- data/facts/2.3/ubuntu-12.04-x86_64.facts +0 -134
- data/facts/2.3/ubuntu-14.04-i386.facts +0 -130
- data/facts/2.3/ubuntu-14.04-x86_64.facts +0 -130
- data/facts/2.3/ubuntu-14.10-i386.facts +0 -131
- data/facts/2.3/ubuntu-14.10-x86_64.facts +0 -131
- data/facts/2.3/ubuntu-15.04-i386.facts +0 -121
- data/facts/2.3/ubuntu-15.04-x86_64.facts +0 -121
- data/facts/2.4/archlinux-i386.facts +0 -127
- data/facts/2.4/archlinux-x86_64.facts +0 -127
- data/facts/2.4/centos-5-i386.facts +0 -127
- data/facts/2.4/centos-5-x86_64.facts +0 -127
- data/facts/2.4/centos-6-i386.facts +0 -112
- data/facts/2.4/centos-6-x86_64.facts +0 -112
- data/facts/2.4/centos-7-i386.facts +0 -116
- data/facts/2.4/centos-7-x86_64.facts +0 -116
- data/facts/2.4/debian-6-i386.facts +0 -135
- data/facts/2.4/debian-6-x86_64.facts +0 -135
- data/facts/2.4/debian-7-i386.facts +0 -131
- data/facts/2.4/debian-7-x86_64.facts +0 -131
- data/facts/2.4/debian-8-i386.facts +0 -138
- data/facts/2.4/debian-8-x86_64.facts +0 -138
- data/facts/2.4/fedora-19-i386.facts +0 -107
- data/facts/2.4/fedora-19-x86_64.facts +0 -107
- data/facts/2.4/freebsd-10-i386.facts +0 -97
- data/facts/2.4/freebsd-10-x86_64.facts +0 -97
- data/facts/2.4/freebsd-9-i386.facts +0 -97
- data/facts/2.4/freebsd-9-x86_64.facts +0 -97
- data/facts/2.4/gentoo-i386.facts +0 -126
- data/facts/2.4/gentoo-x86_64.facts +0 -126
- data/facts/2.4/openbsd-5.7-i386.facts +0 -137
- data/facts/2.4/openbsd-5.7-x86_64.facts +0 -137
- data/facts/2.4/opensuse-12-i386.facts +0 -106
- data/facts/2.4/opensuse-12-x86_64.facts +0 -106
- data/facts/2.4/opensuse-13-i386.facts +0 -110
- data/facts/2.4/opensuse-13-x86_64.facts +0 -110
- data/facts/2.4/oraclelinux-5-i386.facts +0 -127
- data/facts/2.4/oraclelinux-5-x86_64.facts +0 -127
- data/facts/2.4/oraclelinux-6-i386.facts +0 -112
- data/facts/2.4/oraclelinux-6-x86_64.facts +0 -112
- data/facts/2.4/oraclelinux-7-i386.facts +0 -116
- data/facts/2.4/oraclelinux-7-x86_64.facts +0 -116
- data/facts/2.4/redhat-5-i386.facts +0 -127
- data/facts/2.4/redhat-5-x86_64.facts +0 -127
- data/facts/2.4/redhat-6-i386.facts +0 -112
- data/facts/2.4/redhat-6-x86_64.facts +0 -112
- data/facts/2.4/redhat-7-i386.facts +0 -116
- data/facts/2.4/redhat-7-x86_64.facts +0 -116
- data/facts/2.4/scientific-5-i386.facts +0 -127
- data/facts/2.4/scientific-5-x86_64.facts +0 -127
- data/facts/2.4/scientific-6-i386.facts +0 -112
- data/facts/2.4/scientific-6-x86_64.facts +0 -112
- data/facts/2.4/scientific-7-i386.facts +0 -116
- data/facts/2.4/scientific-7-x86_64.facts +0 -116
- data/facts/2.4/sles-11-i386.facts +0 -119
- data/facts/2.4/sles-11-x86_64.facts +0 -119
- data/facts/2.4/solaris-11-i386.facts +0 -106
- data/facts/2.4/solaris-11-x86_64.facts +0 -106
- data/facts/2.4/ubuntu-10.04-i386.facts +0 -132
- data/facts/2.4/ubuntu-10.04-x86_64.facts +0 -132
- data/facts/2.4/ubuntu-12.04-i386.facts +0 -134
- data/facts/2.4/ubuntu-12.04-x86_64.facts +0 -134
- data/facts/2.4/ubuntu-14.04-i386.facts +0 -130
- data/facts/2.4/ubuntu-14.04-x86_64.facts +0 -130
- data/facts/2.4/ubuntu-14.10-i386.facts +0 -131
- data/facts/2.4/ubuntu-14.10-x86_64.facts +0 -131
- data/facts/2.4/ubuntu-15.04-i386.facts +0 -122
- data/facts/2.4/ubuntu-15.04-x86_64.facts +0 -122
- data/facts/3.0/debian-6-i386.facts +0 -229
- data/facts/3.0/debian-6-x86_64.facts +0 -229
- data/facts/3.0/debian-7-i386.facts +0 -243
- data/facts/3.0/debian-7-x86_64.facts +0 -243
- data/facts/3.0/debian-8-i386.facts +0 -204
- data/facts/3.0/debian-8-x86_64.facts +0 -204
- data/facts/3.0/ubuntu-12.04-i386.facts +0 -234
- data/facts/3.0/ubuntu-12.04-x86_64.facts +0 -234
- data/facts/3.0/ubuntu-14.04-i386.facts +0 -241
- data/facts/3.0/ubuntu-14.04-x86_64.facts +0 -241
- data/facts/Gemfile +0 -9
- data/facts/Vagrantfile +0 -198
- data/facts/get_facts.sh +0 -84
data/facts/Gemfile
DELETED
data/facts/Vagrantfile
DELETED
@@ -1,198 +0,0 @@
|
|
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
|
-
$install_rvm = <<SCRIPT
|
8
|
-
# Install mpapis public key
|
9
|
-
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 ||
|
10
|
-
curl -sSL https://rvm.io/mpapis.asc | gpg --import - &&
|
11
|
-
|
12
|
-
# Run the installer
|
13
|
-
\\curl -sSL https://get.rvm.io | bash -s stable &&
|
14
|
-
|
15
|
-
# Install Ruby
|
16
|
-
source /etc/profile.d/rvm.sh &&
|
17
|
-
rvm install 1.9.3 &&
|
18
|
-
rvm use --create 1.9.3
|
19
|
-
SCRIPT
|
20
|
-
|
21
|
-
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
22
|
-
|
23
|
-
config.vm.hostname = "foo.example.com"
|
24
|
-
|
25
|
-
config.vm.define "debian-6-x86_64" do |host|
|
26
|
-
host.vm.box = "puppetlabs/debian-6.0.10-64-nocm"
|
27
|
-
host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby rubygems"
|
28
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
29
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
30
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
31
|
-
end
|
32
|
-
config.vm.define "debian-7-x86_64" do |host|
|
33
|
-
host.vm.box = "puppetlabs/debian-7.8-64-nocm"
|
34
|
-
host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby rubygems ruby-dev"
|
35
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
36
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
37
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
38
|
-
end
|
39
|
-
config.vm.define "debian-8-x86_64" do |host|
|
40
|
-
host.vm.box = "camptocamp/debian-8-amd64"
|
41
|
-
host.vm.provision "shell", inline: "apt-get update && apt-get install -y curl"
|
42
|
-
host.vm.provision "shell", inline: "curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \\curl -sSL https://get.rvm.io | bash -s stable"
|
43
|
-
host.vm.provision "shell", inline: "source /etc/profile.d/rvm.sh && rvm install 1.9.3 && rvm use --create 1.9.3"
|
44
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
45
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
46
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
47
|
-
end
|
48
|
-
config.vm.define "ubuntu-10.04-x86_64" do |host|
|
49
|
-
host.vm.box = "ubuntu-server-10044-x64-vbox4210-nocm"
|
50
|
-
host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box"
|
51
|
-
host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev rubygems libopenssl-ruby"
|
52
|
-
host.vm.provision "shell", inline: "gem install rubygems-update && /var/lib/gems/1.8/bin/update_rubygems"
|
53
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
54
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
55
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
56
|
-
end
|
57
|
-
config.vm.define "ubuntu-12.04-x86_64" do |host|
|
58
|
-
host.vm.box = "puppetlabs/ubuntu-12.04-64-nocm"
|
59
|
-
host.vm.provision "shell", inline: "apt-get update && apt-get install -y rubygems"
|
60
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
61
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
62
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
63
|
-
end
|
64
|
-
config.vm.define "ubuntu-14.04-x86_64" do |host|
|
65
|
-
host.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
|
66
|
-
host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
|
67
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
68
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
69
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
70
|
-
end
|
71
|
-
config.vm.define "ubuntu-14.10-x86_64" do |host|
|
72
|
-
host.vm.box = "chef/ubuntu-14.10"
|
73
|
-
host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
|
74
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
75
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
76
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
77
|
-
end
|
78
|
-
config.vm.define "ubuntu-15.04-x86_64" do |host|
|
79
|
-
host.vm.box = "ubuntu/vivid64"
|
80
|
-
host.vm.provision "shell", inline: $install_rvm
|
81
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
82
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
83
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
84
|
-
end
|
85
|
-
config.vm.define "centos-5-x86_64" do |host|
|
86
|
-
host.vm.box = "puppetlabs/centos-5.11-64-nocm"
|
87
|
-
host.vm.provision "shell", inline: "curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \\curl -sSL https://get.rvm.io | bash -s stable"
|
88
|
-
host.vm.provision "shell", inline: "source /etc/profile.d/rvm.sh && rvm install 1.9.3 && rvm use --create 1.9.3"
|
89
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
90
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
91
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
92
|
-
end
|
93
|
-
config.vm.define "centos-6-x86_64" do |host|
|
94
|
-
host.vm.box = "puppetlabs/centos-6.6-64-nocm"
|
95
|
-
host.vm.provision "shell", inline: "yum -y install ruby-devel rubygems"
|
96
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
97
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
98
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
99
|
-
end
|
100
|
-
config.vm.define "centos-7-x86_64" do |host|
|
101
|
-
host.vm.box = "puppetlabs/centos-7.0-64-nocm"
|
102
|
-
host.vm.provision "shell", inline: "yum -y install ruby ruby-devel"
|
103
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
104
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
105
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
106
|
-
end
|
107
|
-
config.vm.define "fedora-19-x86_64" do |host|
|
108
|
-
host.vm.box = "chef/fedora-19"
|
109
|
-
host.vm.provision "shell", inline: "yum -y install ruby ruby-devel"
|
110
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
111
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
112
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
113
|
-
end
|
114
|
-
config.vm.define "archlinux-x86_64" do |host|
|
115
|
-
host.vm.box = "terrywang/archlinux"
|
116
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
117
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
118
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
119
|
-
end
|
120
|
-
config.vm.define "sles-11sp1-x86_64" do |host|
|
121
|
-
host.vm.box = "suse/sles11sp3"
|
122
|
-
host.vm.provision "shell", inline: "gem update --system"
|
123
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
124
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
125
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
126
|
-
end
|
127
|
-
config.vm.define "opensuse-12-x86_64" do |host|
|
128
|
-
host.vm.box = "alexeym/opensuse-12.3"
|
129
|
-
host.vm.provision "shell", inline: "zypper install -y rubygems ruby-devel make gcc"
|
130
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
131
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
132
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
133
|
-
end
|
134
|
-
config.vm.define "opensuse-13-x86_64" do |host|
|
135
|
-
host.vm.box = "chef/opensuse-13.1"
|
136
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
137
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
138
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
139
|
-
end
|
140
|
-
config.vm.define "freebsd-10-x86_64" do |host|
|
141
|
-
host.vm.box = "chef/freebsd-10.0"
|
142
|
-
host.vm.network :private_network, ip: '10.0.0.2'
|
143
|
-
host.vm.synced_folder ".", "/vagrant", :nfs => true
|
144
|
-
host.vm.provision "shell", inline: "pkg install -y devel/ruby-gems"
|
145
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
146
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
147
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
148
|
-
end
|
149
|
-
config.vm.define "freebsd-9-x86_64" do |host|
|
150
|
-
host.vm.box = "chef/freebsd-9.2"
|
151
|
-
host.vm.network :private_network, ip: '10.0.0.2'
|
152
|
-
host.vm.synced_folder ".", "/vagrant", :nfs => true
|
153
|
-
host.ssh.shell = '/bin/sh'
|
154
|
-
host.vm.provision "shell", inline: "pkg_add -F -r ruby19-gems"
|
155
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
156
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
157
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
158
|
-
end
|
159
|
-
config.vm.define "gentoo-x86_64" do |host|
|
160
|
-
host.vm.box = "cmiles/gentoo-amd64-minimal"
|
161
|
-
host.vm.provision "shell", inline: "emerge-webrsync && emerge app-crypt/gnupg net-misc/curl"
|
162
|
-
host.vm.provision "shell", inline: $install_rvm
|
163
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
164
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
165
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
166
|
-
end
|
167
|
-
config.vm.define "solaris-11-x86_64" do |host|
|
168
|
-
host.vm.box = "http://benden.us/vagrant/solaris-11.2.box"
|
169
|
-
host.ssh.insert_key = false
|
170
|
-
host.vm.provision "shell", inline: "pkg info gcc || pkg install gcc"
|
171
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
172
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
173
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -i S -g0 -y 'Bye' &"
|
174
|
-
end
|
175
|
-
config.vm.define "openbsd-5.7-x86_64" do |host|
|
176
|
-
host.vm.box = "bodgit/openbsd-5.7-amd64"
|
177
|
-
host.vm.synced_folder ".", "/vagrant", :nfs => true
|
178
|
-
host.vm.provision "shell", inline: <<-SCRIPT.gsub(/^ +/, '')
|
179
|
-
. ~/.profile
|
180
|
-
|
181
|
-
pkg_info -qe 'bash->=0' || pkg_add -I bash
|
182
|
-
ln -sf /usr/local/bin/bash /bin
|
183
|
-
|
184
|
-
pkg_info -qe 'ruby->=1.9.3' || pkg_add -I ruby-1.9.3.551p1
|
185
|
-
ln -sf /usr/local/bin/ruby19 /usr/local/bin/ruby
|
186
|
-
ln -sf /usr/local/bin/erb19 /usr/local/bin/erb
|
187
|
-
ln -sf /usr/local/bin/irb19 /usr/local/bin/irb
|
188
|
-
ln -sf /usr/local/bin/rdoc19 /usr/local/bin/rdoc
|
189
|
-
ln -sf /usr/local/bin/ri19 /usr/local/bin/ri
|
190
|
-
ln -sf /usr/local/bin/rake19 /usr/local/bin/rake
|
191
|
-
ln -sf /usr/local/bin/gem19 /usr/local/bin/gem
|
192
|
-
ln -sf /usr/local/bin/testrb19 /usr/local/bin/testrb
|
193
|
-
SCRIPT
|
194
|
-
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
195
|
-
host.vm.provision "shell", path: "get_facts.sh"
|
196
|
-
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
197
|
-
end
|
198
|
-
end
|
data/facts/get_facts.sh
DELETED
@@ -1,84 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
set -e
|
4
|
-
|
5
|
-
# Make Solaris use GNU tools by default
|
6
|
-
export PATH=/usr/gnu/bin:$PATH
|
7
|
-
|
8
|
-
# Fix for squeeze, el7, arch, opensuse12, opensuse13 and solaris
|
9
|
-
export PATH=$PATH:/var/lib/gems/1.8/bin/:/usr/local/bin:/root/.gem/ruby/2.1.0/bin:/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.7.12/bin:/usr/lib64/ruby/gems/2.0.0/gems/bundler-1.7.12/bin:/usr/ruby/1.9/bin
|
10
|
-
|
11
|
-
# Install latest version of facter
|
12
|
-
gem install bundler --no-ri --no-rdoc --no-format-executable
|
13
|
-
bundle install --path vendor/bundler
|
14
|
-
operatingsystem=$(bundle exec facter operatingsystem | tr '[:upper:]' '[:lower:]')
|
15
|
-
operatingsystemrelease=$(bundle exec facter operatingsystemrelease)
|
16
|
-
operatingsystemmajrelease=$(bundle exec facter operatingsystemmajrelease)
|
17
|
-
lsbdistcodename=$(bundle exec facter lsbdistcodename)
|
18
|
-
hardwaremodel=$(bundle exec facter hardwaremodel)
|
19
|
-
|
20
|
-
# Fix for FreeBSD
|
21
|
-
[ "${hardwaremodel}" = 'amd64' ] && hardwaremodel='x86_64'
|
22
|
-
|
23
|
-
# Fix for Solaris
|
24
|
-
[ "${hardwaremodel}" = 'i86pc' ] && hardwaremodel='x86_64'
|
25
|
-
|
26
|
-
for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0; do
|
27
|
-
FACTER_GEM_VERSION="~> ${version}" bundle update
|
28
|
-
minor_version=$(echo $version | cut -c1-3)
|
29
|
-
output_dir="/vagrant/${minor_version}"
|
30
|
-
mkdir -p $output_dir
|
31
|
-
case "${operatingsystem}" in
|
32
|
-
archlinux|gentoo)
|
33
|
-
output_file="${output_dir}/${operatingsystem}-${hardwaremodel}.facts"
|
34
|
-
;;
|
35
|
-
openbsd)
|
36
|
-
output_file="${output_dir}/${operatingsystem}-${operatingsystemrelease}-${hardwaremodel}.facts"
|
37
|
-
;;
|
38
|
-
*)
|
39
|
-
output_file="${output_dir}/${operatingsystem}-${operatingsystemmajrelease}-${hardwaremodel}.facts"
|
40
|
-
;;
|
41
|
-
esac
|
42
|
-
echo $version | grep -q -E '^1\.' &&
|
43
|
-
FACTER_GEM_VERSION="~> ${version}" bundle exec facter -j | bundle exec ruby -e 'require "json"; jj JSON.parse gets' | tee $output_file ||
|
44
|
-
FACTER_GEM_VERSION="~> ${version}" bundle exec facter -j | tee $output_file
|
45
|
-
done
|
46
|
-
|
47
|
-
minor_version=3.0
|
48
|
-
output_dir="/vagrant/${minor_version}"
|
49
|
-
mkdir -p $output_dir
|
50
|
-
case "${operatingsystem}" in
|
51
|
-
archlinux|gentoo)
|
52
|
-
output_file="${output_dir}/${operatingsystem}-${hardwaremodel}.facts"
|
53
|
-
;;
|
54
|
-
openbsd)
|
55
|
-
output_file="${output_dir}/${operatingsystem}-${operatingsystemrelease}-${hardwaremodel}.facts"
|
56
|
-
;;
|
57
|
-
*)
|
58
|
-
output_file="${output_dir}/${operatingsystem}-${operatingsystemmajrelease}-${hardwaremodel}.facts"
|
59
|
-
;;
|
60
|
-
esac
|
61
|
-
|
62
|
-
case "${operatingsystem}" in
|
63
|
-
redhat)
|
64
|
-
case "${operatingsystemmajrelease}" in
|
65
|
-
5)
|
66
|
-
curl "https://yum.puppetlabs.com/puppetlabs-release-pc1-el-${operatingsystemmajrelease}.noarch.rpm" > /tmp/puppetlabs-release-pc1.rpm
|
67
|
-
rpm -ivh /tmp/puppetlabs-release-pc1.rpm ;;
|
68
|
-
*)
|
69
|
-
rpm -ivh "https://yum.puppetlabs.com/puppetlabs-release-pc1-el-${operatingsystemmajrelease}.noarch.rpm"
|
70
|
-
yum -y install puppet-agent
|
71
|
-
;;
|
72
|
-
esac
|
73
|
-
|
74
|
-
/opt/puppetlabs/bin/facter -j | tee $output_file
|
75
|
-
;;
|
76
|
-
debian|ubuntu)
|
77
|
-
[ $lsbdistcodename = "lucid" ] && exit # puppet-agent is not supported on lucid
|
78
|
-
wget "https://apt.puppetlabs.com/puppetlabs-release-pc1-${lsbdistcodename}.deb" -O /tmp/puppetlabs-release-pc1.deb
|
79
|
-
dpkg --install /tmp/puppetlabs-release-pc1.deb
|
80
|
-
apt-get update
|
81
|
-
apt-get -y install puppet-agent
|
82
|
-
/opt/puppetlabs/bin/facter -j | tee $output_file
|
83
|
-
;;
|
84
|
-
esac
|