puppetfile-resolver 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/puppetfile-resolver/data/ruby_ca_certs.pem +94 -113
- data/lib/puppetfile-resolver/puppetfile/parser/r10k_eval/module/forge.rb +8 -2
- data/lib/puppetfile-resolver/resolution_result.rb +1 -1
- data/lib/puppetfile-resolver/resolver.rb +1 -1
- data/lib/puppetfile-resolver/version.rb +1 -1
- data/spec/unit/puppetfile-resolver/puppetfile/parser/r10k_eval_spec.rb +19 -4
- data/spec/unit/puppetfile-resolver/resolver_spec.rb +43 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b48bbab8f4ae0293f8b353610886bac9a3090137ee5295fa065449e73221df3
|
4
|
+
data.tar.gz: 4ef1ad2fbf98f3ff8dde92fd0804ee85710719af4b831f9d0b526cbb239a86cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0fe6ce12c9b33fbe2891ff202f4b902b4e5d463011455fc7844f4ebd4e9113967b52aa3ed646e5baf1aa746d66f9ef342d6c1b1705a24b2b4c7b9b29cc7f7cb
|
7
|
+
data.tar.gz: 118a4bb16ddf286e930afc67545e57d40971b19a48cef02ab10b3586390df80f2bbe8cea3d19d9d5f7095cfbd1559f6e6e8fda13fd40b698b4eba41f0fb01361
|
@@ -1,7 +1,7 @@
|
|
1
1
|
##
|
2
2
|
## Bundle of CA Root Certificates
|
3
3
|
##
|
4
|
-
## Certificate data from Mozilla as of: Wed
|
4
|
+
## Certificate data from Mozilla as of: Wed Jul 22 03:12:14 2020 GMT
|
5
5
|
##
|
6
6
|
## This is a bundle of X.509 certificates of public Certificate Authorities
|
7
7
|
## (CA). These were automatically extracted from Mozilla's root certificates
|
@@ -14,7 +14,7 @@
|
|
14
14
|
## Just configure this file as the SSLCACertificateFile.
|
15
15
|
##
|
16
16
|
## Conversion done with mk-ca-bundle.pl version 1.28.
|
17
|
-
## SHA256:
|
17
|
+
## SHA256: cc6408bd4be7fbfb8699bdb40ccb7f6de5780d681d87785ea362646e4dad5e8e
|
18
18
|
##
|
19
19
|
|
20
20
|
|
@@ -61,30 +61,6 @@ BgkqhkiG9w0BAQUFAAOCAQEAmYFThxxol4aR7OBKuEQLq4GsJ0/WwbgcQ3izDJr86iw8bmEbTUsp
|
|
61
61
|
TBj0/VLZjmmx6BEP3ojY+x1J96relc8geMJgEtslQIxq/H5COEBkEveegeGTLg==
|
62
62
|
-----END CERTIFICATE-----
|
63
63
|
|
64
|
-
Verisign Class 3 Public Primary Certification Authority - G3
|
65
|
-
============================================================
|
66
|
-
-----BEGIN CERTIFICATE-----
|
67
|
-
MIIEGjCCAwICEQCbfgZJoz5iudXukEhxKe9XMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV
|
68
|
-
UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv
|
69
|
-
cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl
|
70
|
-
IG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNh
|
71
|
-
dGlvbiBBdXRob3JpdHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQsw
|
72
|
-
CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRy
|
73
|
-
dXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv
|
74
|
-
cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkg
|
75
|
-
Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
76
|
-
ggEBAMu6nFL8eB8aHm8bN3O9+MlrlBIwT/A2R/XQkQr1F8ilYcEWQE37imGQ5XYgwREGfassbqb1
|
77
|
-
EUGO+i2tKmFZpGcmTNDovFJbcCAEWNF6yaRpvIMXZK0Fi7zQWM6NjPXr8EJJC52XJ2cybuGukxUc
|
78
|
-
cLwgTS8Y3pKI6GyFVxEa6X7jJhFUokWWVYPKMIno3Nij7SqAP395ZVc+FSBmCC+Vk7+qRy+oRpfw
|
79
|
-
EuL+wgorUeZ25rdGt+INpsyow0xZVYnm6FNcHOqd8GIWC6fJXwzw3sJ2zq/3avL6QaaiMxTJ5Xpj
|
80
|
-
055iN9WFZZ4O5lMkdBteHRJTW8cs54NJOxWuimi5V5cCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA
|
81
|
-
ERSWwauSCPc/L8my/uRan2Te2yFPhpk0djZX3dAVL8WtfxUfN2JzPtTnX84XA9s1+ivbrmAJXx5f
|
82
|
-
j267Cz3qWhMeDGBvtcC1IyIuBwvLqXTLR7sdwdela8wv0kL9Sd2nic9TutoAWii/gt/4uhMdUIaC
|
83
|
-
/Y4wjylGsB49Ndo4YhYYSq3mtlFs3q9i6wHQHiT+eo8SGhJouPtmmRQURVyu565pF4ErWjfJXir0
|
84
|
-
xuKhXFSbplQAz/DxwceYMBo7Nhbbo27q/a2ywtrvAkcTisDxszGtTxzhT5yvDwyd93gN2PQ1VoDa
|
85
|
-
t20Xj50egWTh/sVFuq1ruQp6Tk9LhO5L8X3dEQ==
|
86
|
-
-----END CERTIFICATE-----
|
87
|
-
|
88
64
|
Entrust.net Premium 2048 Secure Server CA
|
89
65
|
=========================================
|
90
66
|
-----BEGIN CERTIFICATE-----
|
@@ -130,30 +106,6 @@ Y71k5h+3zvDyny67G7fyUIhzksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9H
|
|
130
106
|
RCwBXbsdtTLSR9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp
|
131
107
|
-----END CERTIFICATE-----
|
132
108
|
|
133
|
-
AddTrust External Root
|
134
|
-
======================
|
135
|
-
-----BEGIN CERTIFICATE-----
|
136
|
-
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEUMBIGA1UEChML
|
137
|
-
QWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYD
|
138
|
-
VQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEw
|
139
|
-
NDgzOFowbzELMAkGA1UEBhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRU
|
140
|
-
cnVzdCBFeHRlcm5hbCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0Eg
|
141
|
-
Um9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvtH7xsD821
|
142
|
-
+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9uMq/NzgtHj6RQa1wVsfw
|
143
|
-
Tz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzXmk6vBbOmcZSccbNQYArHE504B4YCqOmo
|
144
|
-
aSYYkKtMsE8jqzpPhNjfzp/haW+710LXa0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy
|
145
|
-
2xSoRcRdKn23tNbE7qzNE0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv7
|
146
|
-
7+ldU9U0WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYDVR0P
|
147
|
-
BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0Jvf6xCZU7wO94CTL
|
148
|
-
VBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEmMCQGA1UECxMdQWRk
|
149
|
-
VHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsxIjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENB
|
150
|
-
IFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZl
|
151
|
-
j7DYd7usQWxHYINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5
|
152
|
-
6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvCNr4TDea9Y355
|
153
|
-
e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEXc4g/VhsxOBi0cQ+azcgOno4u
|
154
|
-
G+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5amnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
|
155
|
-
-----END CERTIFICATE-----
|
156
|
-
|
157
109
|
Entrust Root Certification Authority
|
158
110
|
====================================
|
159
111
|
-----BEGIN CERTIFICATE-----
|
@@ -1126,38 +1078,6 @@ NwUASZQDhETnv0Mxz3WLJdH0pmT1kvarBes96aULNmLazAZfNou2XjG4Kvte9nHfRCaexOYNkbQu
|
|
1126
1078
|
dZWAUWpLMKawYqGT8ZvYzsRjdT9ZR7E=
|
1127
1079
|
-----END CERTIFICATE-----
|
1128
1080
|
|
1129
|
-
Staat der Nederlanden Root CA -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pQ5kUQR3i2TtJlycM33+FCY7BXN0Ute4qcvwXqZVUz9zkQxSgqIXobisQk+T8VyJoV
|
1157
|
-
IPVVYpbtbZNQvOSqeK3Zywplh6ZmwcSBo3c6WB4L7oOLnR7SUqTMHW+wmG2UMbX4cQrcufx9MmDm
|
1158
|
-
66+KAQ==
|
1159
|
-
-----END CERTIFICATE-----
|
1160
|
-
|
1161
1081
|
Hongkong Post Root CA 1
|
1162
1082
|
=======================
|
1163
1083
|
-----BEGIN CERTIFICATE-----
|
@@ -2831,37 +2751,6 @@ MGUCMDqLIfG9fhGt0O9Yli/W651+kI0rz2ZVwyzjKKlwCkcO8DdZEv8tmZQoTipPNU0zWgIxAOp1
|
|
2831
2751
|
AE47xDqUEpHJWEadIRNyp4iciuRMStuW1KyLa2tJElMzrdfkviT8tQp21KW8EA==
|
2832
2752
|
-----END CERTIFICATE-----
|
2833
2753
|
|
2834
|
-
LuxTrust Global Root 2
|
2835
|
-
======================
|
2836
|
-
-----BEGIN CERTIFICATE-----
|
2837
|
-
MIIFwzCCA6ugAwIBAgIUCn6m30tEntpqJIWe5rgV0xZ/u7EwDQYJKoZIhvcNAQELBQAwRjELMAkG
|
2838
|
-
A1UEBhMCTFUxFjAUBgNVBAoMDUx1eFRydXN0IFMuQS4xHzAdBgNVBAMMFkx1eFRydXN0IEdsb2Jh
|
2839
|
-
bCBSb290IDIwHhcNMTUwMzA1MTMyMTU3WhcNMzUwMzA1MTMyMTU3WjBGMQswCQYDVQQGEwJMVTEW
|
2840
|
-
MBQGA1UECgwNTHV4VHJ1c3QgUy5BLjEfMB0GA1UEAwwWTHV4VHJ1c3QgR2xvYmFsIFJvb3QgMjCC
|
2841
|
-
AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANeFl78RmOnwYoNMPIf5U2o3C/IPPIfOb9wm
|
2842
|
-
Kb3FibrJgz337spbxm1Jc7TJRqMbNBM/wYlFV/TZsfs2ZUv7COJIcRHIbjuend+JZTemhfY7RBi2
|
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rRcmF9dTHF5kH5ptV5AzoqbTOjFu1EVzPig4N1qx3gf4ynCSecs5U89BvolbW
|
2856
|
-
7MM3LGVYvlcAGvI1+ut7MV3CwRI9loGIlonBWVx65n9wNOeD4rHh4bhY79SV5GCc8JaXcozrhAIu
|
2857
|
-
ZY+kt9J/Z93I055cqqmkoCUUBpvsT34tC38ddfEz2O3OuHVtPlu5mB0xDVbYQw8wkbIEa91WvpWA
|
2858
|
-
VWe+2M2D2RjuLg+GLZKecBPs3lHJQ3gCpU3I+V/EkVhGFndadKpAvAefMLmx9xIX3eP/JEAdemrR
|
2859
|
-
TxgKqpAd60Ae36EeRJIQmvKN4dFLRp7oRUKX6kWZ8+xm1QL68qZKJKrezrnK+T+Tb/mjuuqlPpmt
|
2860
|
-
/f97mfVl7vBZKGfXkJWkE4SphMHozs51k2MavDzq1WQfLSoSOcbDWjLtR5EWDrw4wVDej8oqkDQc
|
2861
|
-
7kGUnF4ZLvhFSZl0kbAEb+MEWrGrKqv+x9CWttrhSmQGbmBNvUJO/3jaJMobtNeWOWyu8Q6qp31I
|
2862
|
-
iyBMz2TWuJdGsE7RKlY6oJO9r4Ak4Ap+58rVyuiFVdw2KuGUaJPHZnJED4AhMmwlxyOAgwrr
|
2863
|
-
-----END CERTIFICATE-----
|
2864
|
-
|
2865
2754
|
TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1
|
2866
2755
|
=============================================
|
2867
2756
|
-----BEGIN CERTIFICATE-----
|
@@ -3464,3 +3353,95 @@ JOgc47OlIQ6SwJAfzyBfyjs4x7dtOvPmRLgOMWuIjnDrnBdSqEGULoe256YSxXXfW8AKbnuk5F6G
|
|
3464
3353
|
+TaU33fD6Q3AOfF5u0aOq0NZJ7cguyPpVkAh7DE9ZapD8j3fcEThuk0mEDuYn/PIjhs4ViFqUZPT
|
3465
3354
|
kcpG2om3PVODLAgfi49T3f+sHw==
|
3466
3355
|
-----END CERTIFICATE-----
|
3356
|
+
|
3357
|
+
Microsoft ECC Root Certificate Authority 2017
|
3358
|
+
=============================================
|
3359
|
+
-----BEGIN CERTIFICATE-----
|
3360
|
+
MIICWTCCAd+gAwIBAgIQZvI9r4fei7FK6gxXMQHC7DAKBggqhkjOPQQDAzBlMQswCQYDVQQGEwJV
|
3361
|
+
UzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1NaWNyb3NvZnQgRUND
|
3362
|
+
IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwHhcNMTkxMjE4MjMwNjQ1WhcNNDIwNzE4
|
3363
|
+
MjMxNjA0WjBlMQswCQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYw
|
3364
|
+
NAYDVQQDEy1NaWNyb3NvZnQgRUNDIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwdjAQ
|
3365
|
+
BgcqhkjOPQIBBgUrgQQAIgNiAATUvD0CQnVBEyPNgASGAlEvaqiBYgtlzPbKnR5vSmZRogPZnZH6
|
3366
|
+
thaxjG7efM3beaYvzrvOcS/lpaso7GMEZpn4+vKTEAXhgShC48Zo9OYbhGBKia/teQ87zvH2RPUB
|
3367
|
+
eMCjVDBSMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTIy5lycFIM
|
3368
|
+
+Oa+sgRXKSrPQhDtNTAQBgkrBgEEAYI3FQEEAwIBADAKBggqhkjOPQQDAwNoADBlAjBY8k3qDPlf
|
3369
|
+
Xu5gKcs68tvWMoQZP3zVL8KxzJOuULsJMsbG7X7JNpQS5GiFBqIb0C8CMQCZ6Ra0DvpWSNSkMBaR
|
3370
|
+
eNtUjGUBiudQZsIxtzm6uBoiB078a1QWIP8rtedMDE2mT3M=
|
3371
|
+
-----END CERTIFICATE-----
|
3372
|
+
|
3373
|
+
Microsoft RSA Root Certificate Authority 2017
|
3374
|
+
=============================================
|
3375
|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9KveCjCHk9hNAHFiRSdLOkKEW39lt2c0Ui2cFmuqqNh7o0JMcccMyj6D
|
3401
|
+
5KbvtwEwXlGjefVwaaZBRA+GsCyRxj3qrg+E
|
3402
|
+
-----END CERTIFICATE-----
|
3403
|
+
|
3404
|
+
e-Szigno Root CA 2017
|
3405
|
+
=====================
|
3406
|
+
-----BEGIN CERTIFICATE-----
|
3407
|
+
MIICQDCCAeWgAwIBAgIMAVRI7yH9l1kN9QQKMAoGCCqGSM49BAMCMHExCzAJBgNVBAYTAkhVMREw
|
3408
|
+
DwYDVQQHDAhCdWRhcGVzdDEWMBQGA1UECgwNTWljcm9zZWMgTHRkLjEXMBUGA1UEYQwOVkFUSFUt
|
3409
|
+
MjM1ODQ0OTcxHjAcBgNVBAMMFWUtU3ppZ25vIFJvb3QgQ0EgMjAxNzAeFw0xNzA4MjIxMjA3MDZa
|
3410
|
+
Fw00MjA4MjIxMjA3MDZaMHExCzAJBgNVBAYTAkhVMREwDwYDVQQHDAhCdWRhcGVzdDEWMBQGA1UE
|
3411
|
+
CgwNTWljcm9zZWMgTHRkLjEXMBUGA1UEYQwOVkFUSFUtMjM1ODQ0OTcxHjAcBgNVBAMMFWUtU3pp
|
3412
|
+
Z25vIFJvb3QgQ0EgMjAxNzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJbcPYrYsHtvxie+RJCx
|
3413
|
+
s1YVe45DJH0ahFnuY2iyxl6H0BVIHqiQrb1TotreOpCmYF9oMrWGQd+HWyx7xf58etqjYzBhMA8G
|
3414
|
+
A1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSHERUI0arBeAyxr87GyZDv
|
3415
|
+
vzAEwDAfBgNVHSMEGDAWgBSHERUI0arBeAyxr87GyZDvvzAEwDAKBggqhkjOPQQDAgNJADBGAiEA
|
3416
|
+
tVfd14pVCzbhhkT61NlojbjcI4qKDdQvfepz7L9NbKgCIQDLpbQS+ue16M9+k/zzNY9vTlp8tLxO
|
3417
|
+
svxyqltZ+efcMQ==
|
3418
|
+
-----END CERTIFICATE-----
|
3419
|
+
|
3420
|
+
certSIGN Root CA G2
|
3421
|
+
===================
|
3422
|
+
-----BEGIN CERTIFICATE-----
|
3423
|
+
MIIFRzCCAy+gAwIBAgIJEQA0tk7GNi02MA0GCSqGSIb3DQEBCwUAMEExCzAJBgNVBAYTAlJPMRQw
|
3424
|
+
EgYDVQQKEwtDRVJUU0lHTiBTQTEcMBoGA1UECxMTY2VydFNJR04gUk9PVCBDQSBHMjAeFw0xNzAy
|
3425
|
+
MDYwOTI3MzVaFw00MjAyMDYwOTI3MzVaMEExCzAJBgNVBAYTAlJPMRQwEgYDVQQKEwtDRVJUU0lH
|
3426
|
+
TiBTQTEcMBoGA1UECxMTY2VydFNJR04gUk9PVCBDQSBHMjCCAiIwDQYJKoZIhvcNAQEBBQADggIP
|
3427
|
+
ADCCAgoCggIBAMDFdRmRfUR0dIf+DjuW3NgBFszuY5HnC2/OOwppGnzC46+CjobXXo9X69MhWf05
|
3428
|
+
N0IwvlDqtg+piNguLWkh59E3GE59kdUWX2tbAMI5Qw02hVK5U2UPHULlj88F0+7cDBrZuIt4Imfk
|
3429
|
+
abBoxTzkbFpG583H+u/E7Eu9aqSs/cwoUe+StCmrqzWaTOTECMYmzPhpn+Sc8CnTXPnGFiWeI8Mg
|
3430
|
+
wT0PPzhAsP6CRDiqWhqKa2NYOLQV07YRaXseVO6MGiKscpc/I1mbySKEwQdPzH/iV8oScLumZfNp
|
3431
|
+
dWO9lfsbl83kqK/20U6o2YpxJM02PbyWxPFsqa7lzw1uKA2wDrXKUXt4FMMgL3/7FFXhEZn91Qqh
|
3432
|
+
ngLjYl/rNUssuHLoPj1PrCy7Lobio3aP5ZMqz6WryFyNSwb/EkaseMsUBzXgqd+L6a8VTxaJW732
|
3433
|
+
jcZZroiFDsGJ6x9nxUWO/203Nit4ZoORUSs9/1F3dmKh7Gc+PoGD4FapUB8fepmrY7+EF3fxDTvf
|
3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y4g/Q9iY/NtBde17MXQRBdJ3NghVdJIgc=
|
3447
|
+
-----END CERTIFICATE-----
|
@@ -14,12 +14,12 @@ module PuppetfileResolver
|
|
14
14
|
|
15
15
|
def self.to_document_module(title, args)
|
16
16
|
mod = ::PuppetfileResolver::Puppetfile::ForgeModule.new(title)
|
17
|
-
mod.version = args if valid_version?(args)
|
17
|
+
mod.version = munge_version_string(args) if valid_version?(args)
|
18
18
|
mod
|
19
19
|
end
|
20
20
|
|
21
21
|
def self.valid_version?(value)
|
22
|
-
return false unless value.is_a?(String) || value.is_a?(Symbol)
|
22
|
+
return false unless value.is_a?(String) || value.is_a?(Symbol) || value.nil?
|
23
23
|
value == :latest || value.nil? || valid_version_string?(value)
|
24
24
|
end
|
25
25
|
private_class_method :valid_version?
|
@@ -42,6 +42,12 @@ module PuppetfileResolver
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
private_class_method :valid_version_string?
|
45
|
+
|
46
|
+
def self.munge_version_string(value)
|
47
|
+
return :latest if value.nil? || value == :latest
|
48
|
+
"=#{value}"
|
49
|
+
end
|
50
|
+
private_class_method :munge_version_string
|
45
51
|
end
|
46
52
|
end
|
47
53
|
end
|
@@ -4,7 +4,7 @@ require 'molinillo'
|
|
4
4
|
|
5
5
|
module PuppetfileResolver
|
6
6
|
class ResolutionResult
|
7
|
-
attr_reader :dependency_graph
|
7
|
+
attr_reader :dependency_graph, :puppetfile_document
|
8
8
|
|
9
9
|
def initialize(dependency_graph, puppetfile_document)
|
10
10
|
raise "Expected Molinillo::DependencyGraph but got #{dependency_graph.class}" unless dependency_graph.is_a?(Molinillo::DependencyGraph)
|
@@ -29,6 +29,8 @@ RSpec.shared_examples "a puppetfile parser with valid content" do
|
|
29
29
|
mod 'local', :local => 'some/path'
|
30
30
|
|
31
31
|
mod 'svn_min', :svn => 'some-svn-repo'
|
32
|
+
|
33
|
+
mod 'puppetlabs-forge_missing'
|
32
34
|
EOT
|
33
35
|
end
|
34
36
|
|
@@ -47,7 +49,7 @@ RSpec.shared_examples "a puppetfile parser with valid content" do
|
|
47
49
|
end
|
48
50
|
|
49
51
|
it "should detect all of the modules" do
|
50
|
-
expect(puppetfile.modules.count).to eq(
|
52
|
+
expect(puppetfile.modules.count).to eq(9)
|
51
53
|
end
|
52
54
|
|
53
55
|
it "should not set any resolver flags" do
|
@@ -62,7 +64,7 @@ RSpec.shared_examples "a puppetfile parser with valid content" do
|
|
62
64
|
expect(mod.title).to eq('puppetlabs-forge_fixed_ver')
|
63
65
|
expect(mod.owner).to eq('puppetlabs')
|
64
66
|
expect(mod.name).to eq('forge_fixed_ver')
|
65
|
-
expect(mod.version).to eq('1.0.0')
|
67
|
+
expect(mod.version).to eq('=1.0.0')
|
66
68
|
expect(mod.location.start_line).to eq(2)
|
67
69
|
expect(mod.location.start_char).to be_nil
|
68
70
|
expect(mod.location.end_line).to eq(2)
|
@@ -82,6 +84,20 @@ RSpec.shared_examples "a puppetfile parser with valid content" do
|
|
82
84
|
expect(mod.location.end_line).to eq(3)
|
83
85
|
expect(mod.location.end_char).to be_nil
|
84
86
|
end
|
87
|
+
|
88
|
+
it 'should detect missing latest version modules as latest' do
|
89
|
+
mod = get_module(puppetfile, 'puppetlabs-forge_missing')
|
90
|
+
|
91
|
+
expect(mod.module_type).to eq(PuppetfileResolver::Puppetfile::FORGE_MODULE)
|
92
|
+
expect(mod.title).to eq('puppetlabs-forge_missing')
|
93
|
+
expect(mod.owner).to eq('puppetlabs')
|
94
|
+
expect(mod.name).to eq('forge_missing')
|
95
|
+
expect(mod.version).to eq(:latest)
|
96
|
+
expect(mod.location.start_line).to eq(25)
|
97
|
+
expect(mod.location.start_char).to be_nil
|
98
|
+
expect(mod.location.end_line).to eq(25)
|
99
|
+
expect(mod.location.end_char).to be_nil
|
100
|
+
end
|
85
101
|
end
|
86
102
|
|
87
103
|
context 'with Git modules' do
|
@@ -379,7 +395,6 @@ RSpec.shared_examples "a puppetfile parser with invalid content" do
|
|
379
395
|
forge 'https://fake-forge.puppetlabs.com/'
|
380
396
|
|
381
397
|
mod 'puppetlabs-bad_version', 'b.c.d'
|
382
|
-
mod 'puppetlabs-missing_version'
|
383
398
|
|
384
399
|
mod 'bad_args',
|
385
400
|
:gitx => 'git@github.com:puppetlabs/puppetlabs-git_ref.git'
|
@@ -393,7 +408,7 @@ RSpec.shared_examples "a puppetfile parser with invalid content" do
|
|
393
408
|
end
|
394
409
|
|
395
410
|
it "should detect all of the invalid modules" do
|
396
|
-
expect(puppetfile.modules.count).to eq(
|
411
|
+
expect(puppetfile.modules.count).to eq(2)
|
397
412
|
|
398
413
|
puppetfile.modules.each do |mod|
|
399
414
|
expect(mod).to have_attributes(:module_type => PuppetfileResolver::Puppetfile::INVALID_MODULE)
|
@@ -245,6 +245,49 @@ describe PuppetfileResolver::Resolver do
|
|
245
245
|
end
|
246
246
|
end
|
247
247
|
|
248
|
+
context "Given a document with resolvable version range dependencies" do
|
249
|
+
[
|
250
|
+
{ range: '> 1.0.0 < 3.0.0', expected_version: '2.0.0' },
|
251
|
+
{ range: '< 2.5.0', expected_version: '2.0.0' },
|
252
|
+
{ range: '<= 2.0.0', expected_version: '2.0.0' },
|
253
|
+
{ range: '>= 2.0.0', expected_version: '3.0.0' },
|
254
|
+
{ range: '= 1.0.0', expected_version: '1.0.0' },
|
255
|
+
{ range: :latest, expected_version: '3.0.0' },
|
256
|
+
{ range: nil, expected_version: '3.0.0' }
|
257
|
+
].each do |range_testcase|
|
258
|
+
describe "With a range of '#{range_testcase[:range]}'" do
|
259
|
+
let(:puppetfile_document) do
|
260
|
+
doc = valid_document('foo')
|
261
|
+
doc.add_module(PuppetfileResolver::Puppetfile::LocalModule.new('module1').tap { |o| o.version = range_testcase[:range] })
|
262
|
+
doc
|
263
|
+
end
|
264
|
+
|
265
|
+
before(:each) do
|
266
|
+
cache.add_local_module_spec('module1', [], nil, '1.0.0')
|
267
|
+
cache.add_local_module_spec('module1', [], nil, '2.0.0')
|
268
|
+
cache.add_local_module_spec('module1', [], nil, '3.0.0')
|
269
|
+
end
|
270
|
+
|
271
|
+
[true, false].each do |testcase|
|
272
|
+
context "and Allow Missing Modules option is #{testcase}" do
|
273
|
+
let(:resolve_options) { default_resolve_options.merge(allow_missing_modules: testcase) }
|
274
|
+
|
275
|
+
it 'should resolve without error' do
|
276
|
+
expect{ subject.resolve(resolve_options) }.to_not raise_error
|
277
|
+
end
|
278
|
+
|
279
|
+
it 'should resolve with found module specifications' do
|
280
|
+
result = subject.resolve(resolve_options)
|
281
|
+
|
282
|
+
expect(result.specifications).to include('module1')
|
283
|
+
expect(result.specifications['module1'].version.to_s).to eq(range_testcase[:expected_version])
|
284
|
+
end
|
285
|
+
end
|
286
|
+
end
|
287
|
+
end
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
248
291
|
context "Given a document with a resolvable Puppet requirement" do
|
249
292
|
let(:puppet_version) { '3.0.0' }
|
250
293
|
let(:puppetfile_document) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppetfile-resolver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glenn Sarti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: molinillo
|