puppet-community-rangefinder 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df586be47d07b0f0933e86a199d3ba2bfe7ab07ea4cdca70a16ebe0c1373c3da
4
- data.tar.gz: 752482ad501454c4e2d0634ed56eef876e2ee8f4fc6a700a9e8fa3a630c47b2b
3
+ metadata.gz: 4d27fe23607e34a37dc211d6526ea57f99ebf25f212af104e94c837c40a7bd8a
4
+ data.tar.gz: c03245d149ba06bce93c0ccfc8a969a81aa20366cb85b2e3e96c7df01b6e3b9f
5
5
  SHA512:
6
- metadata.gz: 489cbbd291d5d246c4e293e8ab8477466351382646bfd982236c6f479c137b4698c55e58ea2dffd0321868471fd35e335806d48421e119ce5ec4c6b9044509b8
7
- data.tar.gz: 98e847461177dc4b1c753867cfc9d7d9ea52dee6c6963f97c0ec3fcb4741886a1ada3d8ecef94e9d2496f53d215c34b758b7c17845d1e241647d7693ae2d6f52
6
+ metadata.gz: 4050af14e897cc9d52d87fbac5850ca651c0283c2c5e5452e798e18d161d27076db089b0b787da6b8cae254470823906bbb2d2044417b992dfc197e1e09d9b0f
7
+ data.tar.gz: 6813a1cacb4bcb438c04c45c00f7113b5560be29749da273b90f8eb2b0dde7a6bc0d239fdfc54539610acc3592df562341bc4e52a68e0f774d2b8def4585170b
@@ -1,3 +1,7 @@
1
+ # v0.0.4
2
+
3
+ * Render stats for Puppetfile dependencies
4
+
1
5
  # v0.0.3
2
6
 
3
7
  * Added summary view for a list of files
data/README.md CHANGED
@@ -73,286 +73,329 @@ $ rangefinder lib/puppet/functions/mysql/password.rb \
73
73
  manifests/server.pp
74
74
  [mysql::password] is a _function_
75
75
  ==================================
76
+ The enclosing module is declared in 141 of 575 indexed public Puppetfiles
77
+
76
78
  Breaking changes to this file WILL impact these modules:
79
+ * openstack-ec2api (git://github.com/openstack/puppet-ec2api.git)
80
+ * openstack-panko (git://github.com/openstack/puppet-panko.git)
81
+ * openstack-octavia (git://github.com/openstack/puppet-octavia.git)
82
+ * openstack-barbican (git://github.com/openstack/puppet-barbican.git)
83
+ * openstack-heat (git://github.com/openstack/puppet-heat.git)
84
+ * openstack-gnocchi (git://github.com/openstack/puppet-gnocchi.git)
85
+ * openstack-murano (git://github.com/openstack/puppet-murano.git)
86
+ * openstack-tacker (git://github.com/openstack/puppet-tacker.git)
87
+ * openstack-ironic (git://github.com/openstack/puppet-ironic.git)
88
+ * openstack-congress (git://github.com/openstack/puppet-congress.git)
89
+ * openstack-mistral (git://github.com/openstack/puppet-mistral.git)
90
+ * openstack-magnum (git://github.com/openstack/puppet-magnum.git)
91
+ * openstack-neutron (git://github.com/openstack/puppet-neutron.git)
92
+ * openstack-trove (git://github.com/openstack/puppet-trove.git)
93
+ * openstack-glance (git://github.com/openstack/puppet-glance.git)
94
+ * openstack-vitrage (git://github.com/openstack/puppet-vitrage.git)
95
+ * openstack-designate (git://github.com/openstack/puppet-designate.git)
96
+ * openstack-cinder (git://github.com/openstack/puppet-cinder.git)
97
+ * openstack-zaqar (git://github.com/openstack/puppet-zaqar.git)
98
+ * openstack-manila (git://github.com/openstack/puppet-manila.git)
99
+ * openstack-aodh (git://github.com/openstack/puppet-aodh.git)
100
+ * openstack-watcher (git://github.com/openstack/puppet-watcher.git)
101
+ * openstack-keystone (git://github.com/openstack/puppet-keystone.git)
102
+ * openstack-nova (git://github.com/openstack/puppet-nova.git)
77
103
  * edestecd-mariadb (https://github.com/edestecd/puppet-mariadb.git)
104
+ * openstack-ceilometer (git://github.com/openstack/puppet-ceilometer.git)
105
+ * openstack-sahara (git://github.com/openstack/puppet-sahara.git)
78
106
 
79
107
  [mysql_password] is a _function_
80
108
  ==================================
81
- Breaking changes to this file MAY impact these modules:
82
- * eshamow-pe_cert_auth (UNKNOWN)
83
- * narasimhasv-glance (git or puppet install)
84
- * vshn-uhosting (https://github.com/vshn/uhosting)
109
+ The enclosing module is declared in 141 of 575 indexed public Puppetfiles
110
+
111
+ Breaking changes to this file WILL impact these modules:
112
+ * fraenki-galera (https://github.com/fraenki/puppet-galera)
113
+ * maxadamo-galera_proxysql (https://github.com/maxadamo/galera_proxysql)
114
+ * nubevps-wordpress (https://forge.puppetlabs.com/nubevps-wordpress/nubevps-wordpress)
115
+ * tscopp-jss (https://github.com/tscopp/puppet-jss/issues)
116
+ * puppet-zabbix (https://github.com/voxpupuli/puppet-zabbix.git)
117
+ * dmexe-rails (http://github.com/dima-exe/puppet-rails)
118
+ * neillturner-wordpress (https://github.com/neillturner/puppet-wordpress)
119
+ * mmitchell-puppetlabs_ironic (https://github.com/stackforge/puppet-ironic)
120
+ * johanek-redmine (https://github.com/johanek/johanek-redmine)
121
+ * mikegleasonjr-wordpress (https://github.com/mikegleasonjr/puppet-wordpress.git)
85
122
  * hfm-mha (git@github.com:hfm/puppet-mha.git)
86
- * ULHPC-mysql (https://github.com/ULHPC/puppet-mysql)
123
+ * infnpd-creamce (https://github.com/italiangrid/puppet-creamce)
124
+ * wdijkerman-zabbix (https://github.com/dj-wasabi/puppet-zabbix.git)
125
+ * puppetlabs-wordpress_app (https://github.com/puppetlabs/puppetlabs-wordpress_app)
87
126
  * ULHPC-slurm (https://github.com/ULHPC/puppet-slurm)
88
- * dmexe-rails (http://github.com/dima-exe/puppet-rails)
89
- * dmexe-deploy (http://github.com/dima-exe/puppet-deploy)
90
- * fraenki-galera (https://github.com/fraenki/puppet-galera)
91
- * vStone-percona (https://github.com/vStone/puppet-percona)
92
- * openstack-aodh (git://github.com/openstack/puppet-aodh.git)
93
- * openstack-heat (git://github.com/openstack/puppet-heat.git)
94
- * stackforge-heat (git://github.com/openstack/puppet-heat.git)
95
- * openstack-nova (git://github.com/openstack/puppet-nova.git)
96
- * stackforge-nova (git://github.com/openstack/puppet-nova.git)
97
127
  * hunner-wordpress (https://github.com/hunner/puppet-wordpress)
98
- * johanek-redmine (https://github.com/johanek/johanek-redmine)
99
- * midonet-neutron (git://github.com/midonet/puppet-neutron.git)
100
- * openstack-trove (git://github.com/openstack/puppet-trove.git)
101
128
  * maxadamo-galera_maxscale (https://github.com/maxadamo/galera_maxscale)
102
- * maxadamo-galera_proxysql (https://github.com/maxadamo/galera_proxysql)
103
- * mmitchell-puppetlabs_ironic (https://github.com/stackforge/puppet-ironic)
104
- * tscopp-jss (https://github.com/tscopp/puppet-jss/issues)
129
+
130
+ Breaking changes to this file MAY impact these modules:
131
+ * openstack-senlin (git://github.com/openstack/puppet-senlin.git)
132
+ * openstack-placement (git://github.com/openstack/puppet-placement.git)
133
+ * openstack-monasca (git://github.com/openstack/puppet-monasca.git)
134
+ * narasimhasv-glance (git or puppet install)
135
+ * Aethylred-puppetdashboard (https://github.com/Aethylred/puppet-puppetdashboard)
136
+ * stackforge-heat (git://github.com/openstack/puppet-heat.git)
137
+ * vshn-uhosting (https://github.com/vshn/uhosting)
138
+ * lcgdm-dmlite (https://github.com/cern-it-sdc-id/puppet-dmlite)
139
+ * openstack-freezer (git://github.com/openstack/puppet-freezer.git)
140
+ * openstack-cloudkitty (git://github.com/openstack/puppet-cloudkitty.git)
141
+ * openstack-rally (git://github.com/openstack/puppet-rally.git)
142
+ * ploperations-puppet (https://github.com/puppetlabs-operations/puppet-puppet)
143
+ * eNovance-cloud (https://github.com/enovance/puppet-openstack-cloud)
105
144
  * gousto-mysql (git://github.com/Gousto/puppetlabs-mysql.git)
145
+ * openstack-tripleo (git://github.com/openstack/puppet-tripleo.git)
146
+ * stackforge-keystone (git://github.com/openstack/puppet-keystone.git)
147
+ * ULHPC-mysql (https://github.com/ULHPC/puppet-mysql)
106
148
  * stackforge-cinder (git://github.com/openstack/puppet-cinder.git)
107
- * openstack-cinder (git://github.com/openstack/puppet-cinder.git)
108
- * openstack-glance (git://github.com/openstack/puppet-glance.git)
109
- * stackforge-glance (git://github.com/openstack/puppet-glance.git)
110
- * openstack-ironic (git://github.com/openstack/puppet-ironic.git)
111
- * openstack-manila (git://github.com/openstack/puppet-manila.git)
112
- * openstack-murano (git://github.com/openstack/puppet-murano.git)
113
- * openstack-sahara (git://github.com/openstack/puppet-sahara.git)
114
- * openstack-tuskar (git://github.com/openstack/puppet-tuskar.git)
115
- * devopera-domysqldb (https://github.com/devopera/puppet-domysqldb)
116
- * openstack-gnocchi (git://github.com/openstack/puppet-gnocchi.git)
117
- * stackforge-neutron (git://github.com/openstack/puppet-neutron.git)
118
- * openstack-neutron (git://github.com/openstack/puppet-neutron.git)
149
+ * brainfinger-dukesbank (git://github.com/teyo/brainfinger-dukesbank.git)
119
150
  * lcgdm-voms (https://github.com/cern-it-sdc-id/puppet-voms)
120
- * infnpd-creamce (https://github.com/italiangrid/puppet-creamce)
121
- * jtopjian-cubbystack (https://github.com/jtopjian/puppet-cubbystack)
122
- * openstack-keystone (git://github.com/openstack/puppet-keystone.git)
123
- * stackforge-keystone (git://github.com/openstack/puppet-keystone.git)
151
+ * stackforge-neutron (git://github.com/openstack/puppet-neutron.git)
124
152
  * lcgdm-lcgdm (https://github.com/cern-it-sdc-id/puppet-lcgdm)
125
- * wdijkerman-zabbix (https://github.com/dj-wasabi/puppet-zabbix.git)
126
- * edestecd-mariadb (https://github.com/edestecd/puppet-mariadb.git)
127
- * puppet-zabbix (https://github.com/voxpupuli/puppet-zabbix.git)
128
- * openstack-designate (git://github.com/openstack/puppet-designate.git)
129
- * brainfinger-dukesbank (git://github.com/teyo/brainfinger-dukesbank.git)
130
- * lcgdm-dmlite (https://github.com/cern-it-sdc-id/puppet-dmlite)
131
- * neillturner-wordpress (https://github.com/neillturner/puppet-wordpress)
132
- * openstack-ceilometer (git://github.com/openstack/puppet-ceilometer.git)
153
+ * openstack-glare (git://github.com/openstack/puppet-glare.git)
133
154
  * stackforge-ceilometer (git://github.com/openstack/puppet-ceilometer.git)
134
- * alanpetersen-moodle (https://github.com/alanpetersen/puppet-moodle.git)
135
- * eNovance-cloud (https://github.com/enovance/puppet-openstack-cloud)
136
155
  * reidmv-pe_console (https://github.com/reidmv/puppet-module-pe_console)
137
- * Aethylred-puppetdashboard (https://github.com/Aethylred/puppet-puppetdashboard)
138
- * mikegleasonjr-wordpress (https://github.com/mikegleasonjr/puppet-wordpress.git)
139
- * ploperations-puppet (https://github.com/puppetlabs-operations/puppet-puppet)
140
- * puppetlabs-wordpress_app (https://github.com/puppetlabs/puppetlabs-wordpress_app)
141
- * nubevps-wordpress (https://forge.puppetlabs.com/nubevps-wordpress/nubevps-wordpress)
156
+ * openstack-tuskar (git://github.com/openstack/puppet-tuskar.git)
157
+ * eshamow-pe_cert_auth (UNKNOWN)
158
+ * vStone-percona (https://github.com/vStone/puppet-percona)
159
+ * dmexe-deploy (http://github.com/dima-exe/puppet-deploy)
160
+ * stackforge-glance (git://github.com/openstack/puppet-glance.git)
161
+ * alanpetersen-moodle (https://github.com/alanpetersen/puppet-moodle.git)
162
+ * stackforge-nova (git://github.com/openstack/puppet-nova.git)
163
+ * jtopjian-cubbystack (https://github.com/jtopjian/puppet-cubbystack)
164
+ * devopera-domysqldb (https://github.com/devopera/puppet-domysqldb)
165
+ * midonet-neutron (git://github.com/midonet/puppet-neutron.git)
142
166
 
143
167
  [mysql_strip_hash] is a _function_
144
168
  ==================================
145
169
  with no external impact.
146
170
 
171
+ The enclosing module is declared in 141 of 575 indexed public Puppetfiles
172
+
147
173
  [mysql_user] is a _type_
148
174
  ==================================
149
- Breaking changes to this file MAY impact these modules:
150
- * vshn-uhosting (https://github.com/vshn/uhosting)
151
- * hfm-mha (git@github.com:hfm/puppet-mha.git)
152
- * ULHPC-slurm (https://github.com/ULHPC/puppet-slurm)
175
+ The enclosing module is declared in 141 of 575 indexed public Puppetfiles
176
+
177
+ Breaking changes to this file WILL impact these modules:
178
+ * infnpd-creamce (https://github.com/italiangrid/puppet-creamce)
153
179
  * kritz-vagrantlamp (https://github.com/kritznl/vagrantlamp)
154
- * fraenki-galera (https://github.com/fraenki/puppet-galera)
155
- * vStone-percona (https://github.com/vStone/puppet-percona)
156
- * tedivm-hieratic (https://github.com/tedivm/puppet-hieratic)
157
- * hunner-wordpress (https://github.com/hunner/puppet-wordpress)
158
- * johanek-redmine (https://github.com/johanek/johanek-redmine)
159
- * maxadamo-galera_maxscale (https://github.com/maxadamo/galera_maxscale)
160
180
  * maxadamo-galera_proxysql (https://github.com/maxadamo/galera_proxysql)
161
- * gousto-mysql (git://github.com/Gousto/puppetlabs-mysql.git)
162
- * devopera-domysqldb (https://github.com/devopera/puppet-domysqldb)
163
- * infnpd-creamce (https://github.com/italiangrid/puppet-creamce)
164
- * jtopjian-cubbystack (https://github.com/jtopjian/puppet-cubbystack)
165
- * lcgdm-lcgdm (https://github.com/cern-it-sdc-id/puppet-lcgdm)
181
+ * fraenki-galera (https://github.com/fraenki/puppet-galera)
166
182
  * wdijkerman-zabbix (https://github.com/dj-wasabi/puppet-zabbix.git)
167
- * edestecd-mariadb (https://github.com/edestecd/puppet-mariadb.git)
183
+ * puppetlabs-wordpress_app (https://github.com/puppetlabs/puppetlabs-wordpress_app)
168
184
  * puppet-zabbix (https://github.com/voxpupuli/puppet-zabbix.git)
169
- * lcgdm-dmlite (https://github.com/cern-it-sdc-id/puppet-dmlite)
185
+ * ULHPC-slurm (https://github.com/ULHPC/puppet-slurm)
170
186
  * neillturner-wordpress (https://github.com/neillturner/puppet-wordpress)
171
- * puppetlabs-mysql (git://github.com/puppetlabs/puppetlabs-mysql.git)
172
- * alanpetersen-moodle (https://github.com/alanpetersen/puppet-moodle.git)
173
187
  * openstack-openstacklib (git://github.com/openstack/puppet-openstacklib.git)
188
+ * mikegleasonjr-wordpress (https://github.com/mikegleasonjr/puppet-wordpress.git)
189
+ * johanek-redmine (https://github.com/johanek/johanek-redmine)
190
+ * hunner-wordpress (https://github.com/hunner/puppet-wordpress)
191
+ * maxadamo-galera_maxscale (https://github.com/maxadamo/galera_maxscale)
174
192
  * stackforge-openstacklib (git://github.com/openstack/puppet-openstacklib.git)
175
- * eNovance-cloud (https://github.com/enovance/puppet-openstack-cloud)
193
+ * hfm-mha (git@github.com:hfm/puppet-mha.git)
194
+ * edestecd-mariadb (https://github.com/edestecd/puppet-mariadb.git)
195
+
196
+ Breaking changes to this file MAY impact these modules:
197
+ * openstack-tripleo (git://github.com/openstack/puppet-tripleo.git)
176
198
  * Aethylred-puppetdashboard (https://github.com/Aethylred/puppet-puppetdashboard)
177
- * mikegleasonjr-wordpress (https://github.com/mikegleasonjr/puppet-wordpress.git)
178
- * puppetlabs-wordpress_app (https://github.com/puppetlabs/puppetlabs-wordpress_app)
199
+ * lcgdm-lcgdm (https://github.com/cern-it-sdc-id/puppet-lcgdm)
200
+ * tedivm-hieratic (https://github.com/tedivm/puppet-hieratic)
201
+ * vshn-uhosting (https://github.com/vshn/uhosting)
202
+ * vStone-percona (https://github.com/vStone/puppet-percona)
203
+ * lcgdm-dmlite (https://github.com/cern-it-sdc-id/puppet-dmlite)
204
+ * alanpetersen-moodle (https://github.com/alanpetersen/puppet-moodle.git)
205
+ * eNovance-cloud (https://github.com/enovance/puppet-openstack-cloud)
206
+ * puppetlabs-mysql (git://github.com/puppetlabs/puppetlabs-mysql.git)
207
+ * jtopjian-cubbystack (https://github.com/jtopjian/puppet-cubbystack)
208
+ * devopera-domysqldb (https://github.com/devopera/puppet-domysqldb)
209
+ * gousto-mysql (git://github.com/Gousto/puppetlabs-mysql.git)
179
210
 
180
211
  [mysql::db] is a _type_
181
212
  ==================================
213
+ The enclosing module is declared in 141 of 575 indexed public Puppetfiles
214
+
182
215
  Breaking changes to this file WILL impact these modules:
183
- * leonardothibes-usvn (git://github.com/leonardothibes/puppet-usvn.git)
184
- * puppetlabs-bacula (http://github.com/puppetlabs/puppetlabs-bacula)
185
- * factorit-jasperreports_server (https://github.com/jbbrunsveld/jasperreports_server)
186
- * hexmode-mediawiki (git@github.com:hexmode/puppet-mediawiki.git)
187
- * cirrax-roundcube (https://github.com/cirrax/puppet-roundcube)
188
- * gerardkok-ejbca (https://github.com/gerardkok/puppet-ejbca.git)
189
- * dmcnicks-sympa (https://github.com/dmcnicks/dmcnicks-sympa.git)
190
- * ccaum-autoami (git://github.com/ccaum/puppet-autoami)
191
- * bramwelt-patchwork (https://github.com/bramwelt/puppet-patchwork)
192
- * cnwr-cacti (https://github.com/cnwrinc/cnwr-cacti)
193
- * sgnl05-racktables (git://github.com/sgnl05/sgnl05-racktables.git)
194
- * dsestero-sonarqube (https://github.com/dsestero/sonarqube.git)
195
- * desalvo-bacula (https://github.com/desalvo/puppet-bacula)
196
- * bodgit-wordpress (https://github.com/bodgit/puppet-wordpress)
197
- * fiddyspence-zabbix (https://github.com/fiddyspence/puppet-zabbix)
198
- * eelcomaljaars-friendica (https://devtools.maljaars-it.nl/opensource/puppet-friendica.git)
216
+ * shoekstra-owncloud (https://github.com/shoekstra/puppet-owncloud.git)
199
217
  * jefferyb-kualicoeus (https://github.com/jefferyb/kualicoeus)
218
+ * SchnWalter-happydev (https://github.com/devgateway/happy-deployer/tree/master/puppet/modules/happydev)
200
219
  * mricon-bugzilla (https://github.com/mricon/puppet-bugzilla)
201
- * wyrie-snmptt (https://bitbucket.org/wyrie/puppet-snmptt/src)
202
- * stesie-gluon (https://github.com/ffansbach/gluon-puppet)
220
+ * maxadamo-galera_proxysql (https://github.com/maxadamo/galera_proxysql)
221
+ * aimonb-nexusis_mediawiki (https://github.com/NexusIS/puppet-mediawiki.git)
222
+ * sgnl05-racktables (git://github.com/sgnl05/sgnl05-racktables.git)
223
+ * gnubilafrance-redmine (https://github.com/gnubila-france/puppet-redmine)
224
+ * leonardothibes-usvn (git://github.com/leonardothibes/puppet-usvn.git)
225
+ * treydock-keycloak (git://github.com/treydock/puppet-module-keycloak.git)
203
226
  * forj-openfire (https://github.com/forj-oss/puppet-openfire)
204
- * jsnshrmn-twlight (https://github.com/WikipediaLibrary/twlight_puppet)
205
- * icann-opendnssec (https://github.com/icann-dns/puppet-opendnssec)
206
- * shoekstra-owncloud (https://github.com/shoekstra/puppet-owncloud.git)
207
- * marcdeop-ratticdb (https://github.com/marcdeop/ratticdb)
208
- * samuelson-custom_webapp (https://github.com/samuelson/samuelson-custom_webapp)
227
+ * cirrax-postfixadmin (https://github.com/cirrax/puppet-postfixadmin)
228
+ * tscopp-jss (https://github.com/tscopp/puppet-jss/issues)
229
+ * puppet-zabbix (https://github.com/voxpupuli/puppet-zabbix.git)
209
230
  * hgkamath-owncloud (https://github.com/hgkamath/puppet-owncloud)
231
+ * monkygames-beansbooks (https://bitbucket.org/monkygames/puppet-beansbooks.git)
232
+ * rharrison-bacula (http://github.com/rharrison10/rharrison-bacula)
233
+ * infnpd-ocpattrauth (https://baltig.infn.it/andreett/puppet-ocp-attribute-authority)
234
+ * mmitchell-puppetlabs_ironic (https://github.com/stackforge/puppet-ironic)
235
+ * fiddyspence-zabbix (https://github.com/fiddyspence/puppet-zabbix)
236
+ * factorit-jasperreports_server (https://github.com/jbbrunsveld/jasperreports_server)
237
+ * razorsedge-cloudera (https://github.com/razorsedge/puppet-cloudera.git)
238
+ * aimonb-nexusis_gerrit (UNKNOWN)
239
+ * akisakye-matomo (https://github.com/akisakye/matomo.git)
240
+ * ccaum-autoami (git://github.com/ccaum/puppet-autoami)
210
241
  * wyrie-nagiosql (https://bitbucket.org/wyrie/puppet-nagiosql/src)
211
- * tscopp-jss (https://github.com/tscopp/puppet-jss/issues)
212
- * treydock-keycloak (git://github.com/treydock/puppet-module-keycloak.git)
213
- * cesnet-site_hadoop (https://github.com/MetaCenterCloudPuppet/cesnet-site_hadoop)
242
+ * sensson-powerdns (https://github.com/sensson/puppet-powerdns)
243
+ * puppetlabs-bacula (http://github.com/puppetlabs/puppetlabs-bacula)
244
+ * oris-appserver (https://bitbucket.org/oris/env-puppet-module-appserver)
245
+ * lboynton-gitlab (https://github.com/lboynton/puppet-gitlab)
214
246
  * alkivi-owncloud (https://github.com/alkivi-sas/puppet-owncloud)
215
- * razorsedge-cloudera (https://github.com/razorsedge/puppet-cloudera.git)
216
- * SchnWalter-happydev (https://github.com/devgateway/happy-deployer/tree/master/puppet/modules/happydev)
217
- * cirrax-postfixadmin (https://github.com/cirrax/puppet-postfixadmin)
218
- * martialblog-limesurvey (https://github.com/martialblog/puppet-limesurvey)
219
247
  * binford2k-drupal (https://github.com/binford2k/binford2k-drupal)
220
- * lboynton-gitlab (https://github.com/lboynton/puppet-gitlab)
221
- * maxadamo-galera_proxysql (https://github.com/maxadamo/galera_proxysql)
222
- * mmitchell-puppetlabs_ironic (https://github.com/stackforge/puppet-ironic)
223
- * sensson-powerdns (https://github.com/sensson/puppet-powerdns)
248
+ * geoffwilliams-r_profile (https://github.com/GeoffWilliams/r_profile)
249
+ * wdijkerman-zabbix (https://github.com/dj-wasabi/puppet-zabbix.git)
250
+ * eelcomaljaars-friendica (https://devtools.maljaars-it.nl/opensource/puppet-friendica.git)
251
+ * jsnshrmn-twlight (https://github.com/WikipediaLibrary/twlight_puppet)
252
+ * cesnet-site_hadoop (https://github.com/MetaCenterCloudPuppet/cesnet-site_hadoop)
253
+ * cirrax-roundcube (https://github.com/cirrax/puppet-roundcube)
254
+ * martasd-mediawiki (git@github.com:martasd/puppet-mediawiki.git)
255
+ * desalvo-bacula (https://github.com/desalvo/puppet-bacula)
256
+ * martialblog-limesurvey (https://github.com/martialblog/puppet-limesurvey)
224
257
  * ULHPC-slurm (https://github.com/ULHPC/puppet-slurm)
225
- * alkivi-zabbix (https://github.com/alkivi-sas/puppet-zabbix)
258
+ * bodgit-wordpress (https://github.com/bodgit/puppet-wordpress)
259
+ * dsestero-sonarqube (https://github.com/dsestero/sonarqube.git)
260
+ * marcdeop-ratticdb (https://github.com/marcdeop/ratticdb)
261
+ * wyrie-snmptt (https://bitbucket.org/wyrie/puppet-snmptt/src)
262
+ * othalla-nextcloud (https://github.com/othalla/puppet-nextcloud.git)
263
+ * cnwr-cacti (https://github.com/cnwrinc/cnwr-cacti)
264
+ * stesie-gluon (https://github.com/ffansbach/gluon-puppet)
265
+ * bramwelt-patchwork (https://github.com/bramwelt/puppet-patchwork)
226
266
  * brucem-ezpublish (git://github.com/brucem/puppet-ezpublish.git)
227
- * monkygames-beansbooks (https://bitbucket.org/monkygames/puppet-beansbooks.git)
228
- * aimonb-nexusis_gerrit (UNKNOWN)
229
- * rharrison-bacula (http://github.com/rharrison10/rharrison-bacula)
267
+ * icann-opendnssec (https://github.com/icann-dns/puppet-opendnssec)
268
+ * dmcnicks-sympa (https://github.com/dmcnicks/dmcnicks-sympa.git)
269
+ * hexmode-mediawiki (git@github.com:hexmode/puppet-mediawiki.git)
230
270
  * gnubilafrance-wisemapping (https://github.com/gnubila-france/puppet-wisemapping)
231
- * infnpd-ocpattrauth (https://baltig.infn.it/andreett/puppet-ocp-attribute-authority)
232
- * oris-appserver (https://bitbucket.org/oris/env-puppet-module-appserver)
233
- * aimonb-nexusis_mediawiki (https://github.com/NexusIS/puppet-mediawiki.git)
234
- * martasd-mediawiki (git@github.com:martasd/puppet-mediawiki.git)
235
271
  * firefield-firefield (git@github.com:firefield/basic-rails-server.git)
236
- * othalla-nextcloud (https://github.com/othalla/puppet-nextcloud.git)
237
- * gnubilafrance-redmine (https://github.com/gnubila-france/puppet-redmine)
238
- * wdijkerman-zabbix (https://github.com/dj-wasabi/puppet-zabbix.git)
239
- * puppet-zabbix (https://github.com/voxpupuli/puppet-zabbix.git)
240
- * geoffwilliams-r_profile (https://github.com/GeoffWilliams/r_profile)
272
+ * blackknight36-bacula (https://github.com/blackknight36/puppet-bacula.git)
273
+ * alkivi-zabbix (https://github.com/alkivi-sas/puppet-zabbix)
274
+ * samuelson-custom_webapp (https://github.com/samuelson/samuelson-custom_webapp)
241
275
 
242
276
  Breaking changes to this file MAY impact these modules:
277
+ * tykeal-gerrit (https://github.com/tykeal/puppet-gerrit.git)
278
+ * openstack-monasca (git://github.com/openstack/puppet-monasca.git)
279
+ * soli-wrappers (https://github.com/solution-libre/puppet-wrappers)
280
+ * lcgdm-dmlite (https://github.com/cern-it-sdc-id/puppet-dmlite)
243
281
  * abaranov-sqlgrey (https://github.com/spacedog/puppet-sqlgrey)
244
- * erwbgy-wso2 (https://github.com/erwbgy/puppet-wso2.git)
245
282
  * theforeman-foreman (git://github.com/theforeman/puppet-foreman)
246
- * soli-wrappers (https://github.com/solution-libre/puppet-wrappers)
247
- * tykeal-gerrit (https://github.com/tykeal/puppet-gerrit.git)
248
- * jtopjian-cubbystack (https://github.com/jtopjian/puppet-cubbystack)
283
+ * mwils-complete_wordpress (UNKNOWN)
284
+ * rspiak-racktables (https://github.com/sgnl05/sgnl05-racktables)
249
285
  * lcgdm-lcgdm (https://github.com/cern-it-sdc-id/puppet-lcgdm)
250
- * lcgdm-dmlite (https://github.com/cern-it-sdc-id/puppet-dmlite)
251
- * devopera-domysqldb (https://github.com/devopera/puppet-domysqldb)
252
286
  * theforeman-foreman_proxy (git://github.com/theforeman/puppet-foreman_proxy)
253
- * rspiak-racktables (https://github.com/sgnl05/sgnl05-racktables)
254
- * echoes-wrappers (https://github.com/echoes-tech/puppet-wrappers)
255
- * mwils-complete_wordpress (UNKNOWN)
287
+ * erwbgy-wso2 (https://github.com/erwbgy/puppet-wso2.git)
288
+ * jtopjian-cubbystack (https://github.com/jtopjian/puppet-cubbystack)
289
+ * devopera-domysqldb (https://github.com/devopera/puppet-domysqldb)
256
290
  * halyard-boxen (https://github.com/halyard/puppet-boxen)
291
+ * echoes-wrappers (https://github.com/echoes-tech/puppet-wrappers)
257
292
 
258
293
  [mysql::server] is a _class_
259
294
  ==================================
295
+ The enclosing module is declared in 141 of 575 indexed public Puppetfiles
296
+
260
297
  Breaking changes to this file WILL impact these modules:
261
- * martialblog-limesurvey (https://github.com/martialblog/puppet-limesurvey)
262
- * infnpd-creamce (https://github.com/italiangrid/puppet-creamce)
263
- * puppetlabs-awsdemo_profiles (https://github.com/puppetlabs/puppetlabs-awsdemo_profiles)
264
- * openstack-openstacklib (git://github.com/openstack/puppet-openstacklib.git)
265
- * samuelson-custom_webapp (https://github.com/samuelson/samuelson-custom_webapp)
266
- * kritz-vagrantlamp (https://github.com/kritznl/vagrantlamp)
267
- * infnpd-ocpattrauth (https://baltig.infn.it/andreett/puppet-ocp-attribute-authority)
268
298
  * alexggolovin-lamp (https://github.com/alexggolovin/alexggolovin-lamp)
269
- * aimonb-nexusis_mediawiki (https://github.com/NexusIS/puppet-mediawiki.git)
270
- * edestecd-mariadb (https://github.com/edestecd/puppet-mariadb.git)
271
- * puppetlabs-openstack (https://github.com/puppetlabs/puppetlabs-openstack.git)
272
299
  * gajdaw-symfony (https://github.com/puppet-by-examples/puppet-symfony)
273
- * fraenki-galera (https://github.com/fraenki/puppet-galera)
274
- * othalla-nextcloud (https://github.com/othalla/puppet-nextcloud.git)
275
- * thbe-bareos (https://github.com/thbe/puppet-bareos.git)
276
- * oris-appserver (https://bitbucket.org/oris/env-puppet-module-appserver)
277
- * ULHPC-slurm (https://github.com/ULHPC/puppet-slurm)
278
- * binford2k-drupal (https://github.com/binford2k/binford2k-drupal)
300
+ * firm1-zds (https://github.com/firm1/zds-puppet)
301
+ * SchnWalter-happydev (https://github.com/devgateway/happy-deployer/tree/master/puppet/modules/happydev)
279
302
  * jefferyb-kualicoeus (https://github.com/jefferyb/kualicoeus)
280
- * fiddyspence-zabbix (https://github.com/fiddyspence/puppet-zabbix)
281
- * desalvo-bacula (https://github.com/desalvo/puppet-bacula)
282
- * jsnshrmn-twlight (https://github.com/WikipediaLibrary/twlight_puppet)
283
- * forj-openfire (https://github.com/forj-oss/puppet-openfire)
284
- * firefield-firefield (git@github.com:firefield/basic-rails-server.git)
285
- * bflad-piwik (git://github.com/bflad/puppet-piwik.git)
303
+ * kritz-vagrantlamp (https://github.com/kritznl/vagrantlamp)
286
304
  * mricon-bugzilla (https://github.com/mricon/puppet-bugzilla)
287
- * garystafford-sakila_mysql_db (https://github.com/garystafford/garystafford-sakila_mysql_db)
288
- * gajdaw-phpmyadmin (https://github.com/puppet-by-examples/puppet-phpmyadmin)
305
+ * sgnl05-racktables (git://github.com/sgnl05/sgnl05-racktables.git)
289
306
  * leonardothibes-phpmyadmin (git://github.com/leonardothibes/puppet-phpmyadmin.git)
290
- * gnubilafrance-wisemapping (https://github.com/gnubila-france/puppet-wisemapping)
291
- * cnwr-cacti (https://github.com/cnwrinc/cnwr-cacti)
292
- * cesnet-site_hadoop (https://github.com/MetaCenterCloudPuppet/cesnet-site_hadoop)
293
- * geoffwilliams-r_profile (https://github.com/GeoffWilliams/r_profile)
294
- * eelcomaljaars-friendica (https://devtools.maljaars-it.nl/opensource/puppet-friendica.git)
295
- * garethr-wackopicko (git://github.com/garethr/garethr-wackopicko.git)
296
- * thbe-bacula (https://github.com/thbe/puppet-bacula.git)
297
- * sartiran-dpm (UNKNOWN)
298
- * lboynton-gitlab (https://github.com/lboynton/puppet-gitlab)
307
+ * fraenki-galera (https://github.com/fraenki/puppet-galera)
308
+ * gnubilafrance-redmine (https://github.com/gnubila-france/puppet-redmine)
309
+ * forj-openfire (https://github.com/forj-oss/puppet-openfire)
299
310
  * nubevps-wordpress (https://forge.puppetlabs.com/nubevps-wordpress/nubevps-wordpress)
311
+ * leonardothibes-usvn (git://github.com/leonardothibes/puppet-usvn.git)
312
+ * tscopp-jss (https://github.com/tscopp/puppet-jss/issues)
313
+ * lcgdm-dpm (https://github.com/cern-it-sdc-id/puppet-dpm)
314
+ * dmexe-rails (http://github.com/dima-exe/puppet-rails)
300
315
  * monkygames-beansbooks (https://bitbucket.org/monkygames/puppet-beansbooks.git)
316
+ * dhollinger-devopsdays (https://gitlab.com/moduletux/devopsdays.git)
317
+ * giavac-homer (https://github.com/giavac/giavac-homer)
318
+ * sartiran-dpm (UNKNOWN)
319
+ * aimonb-nexusis_mediawiki (https://github.com/NexusIS/puppet-mediawiki.git)
320
+ * infnpd-ocpattrauth (https://baltig.infn.it/andreett/puppet-ocp-attribute-authority)
321
+ * johanek-redmine (https://github.com/johanek/johanek-redmine)
322
+ * fiddyspence-zabbix (https://github.com/fiddyspence/puppet-zabbix)
323
+ * puppetlabs-awsdemo_profiles (https://github.com/puppetlabs/puppetlabs-awsdemo_profiles)
324
+ * bflad-piwik (git://github.com/bflad/puppet-piwik.git)
325
+ * continuent-tungsten (https://github.com/continuent/continuent-tungsten)
326
+ * edestecd-mariadb (https://github.com/edestecd/puppet-mariadb.git)
301
327
  * aimonb-nexusis_gerrit (UNKNOWN)
302
- * bramwelt-patchwork (https://github.com/bramwelt/puppet-patchwork)
303
- * factorit-jasperreports_server (https://github.com/jbbrunsveld/jasperreports_server)
304
- * puppetlabs-wordpress_app (https://github.com/puppetlabs/puppetlabs-wordpress_app)
328
+ * akisakye-matomo (https://github.com/akisakye/matomo.git)
305
329
  * wyrie-nagiosql (https://bitbucket.org/wyrie/puppet-nagiosql/src)
306
- * gnubilafrance-redmine (https://github.com/gnubila-france/puppet-redmine)
307
- * sgnl05-racktables (git://github.com/sgnl05/sgnl05-racktables.git)
308
- * glarizza-profiles (https://github.com/glarizza/puppet-profiles)
309
- * tscopp-jss (https://github.com/tscopp/puppet-jss/issues)
310
- * giavac-homer (https://github.com/giavac/giavac-homer)
311
330
  * sensson-powerdns (https://github.com/sensson/puppet-powerdns)
331
+ * infnpd-creamce (https://github.com/italiangrid/puppet-creamce)
332
+ * factorit-jasperreports_server (https://github.com/jbbrunsveld/jasperreports_server)
333
+ * thbe-bareos (https://github.com/thbe/puppet-bareos.git)
334
+ * oris-appserver (https://bitbucket.org/oris/env-puppet-module-appserver)
335
+ * lboynton-gitlab (https://github.com/lboynton/puppet-gitlab)
336
+ * binford2k-drupal (https://github.com/binford2k/binford2k-drupal)
337
+ * thbe-bacula (https://github.com/thbe/puppet-bacula.git)
338
+ * geoffwilliams-r_profile (https://github.com/GeoffWilliams/r_profile)
312
339
  * lyonliang-otrs (https://github.com/ChinaShrimp/puppet-lyonliang-otrs.git)
340
+ * gajdaw-phpmyadmin (https://github.com/puppet-by-examples/puppet-phpmyadmin)
313
341
  * madhukarn-percona_galera_cluster (https://github.com/madhu2852/Percona-Galera-Cluster.git)
314
- * lcgdm-dpm (https://github.com/cern-it-sdc-id/puppet-dpm)
315
- * continuent-tungsten (https://github.com/continuent/continuent-tungsten)
342
+ * martasd-mediawiki (git@github.com:martasd/puppet-mediawiki.git)
343
+ * eelcomaljaars-friendica (https://devtools.maljaars-it.nl/opensource/puppet-friendica.git)
344
+ * puppetlabs-wordpress_app (https://github.com/puppetlabs/puppetlabs-wordpress_app)
345
+ * cesnet-site_hadoop (https://github.com/MetaCenterCloudPuppet/cesnet-site_hadoop)
346
+ * jsnshrmn-twlight (https://github.com/WikipediaLibrary/twlight_puppet)
347
+ * martialblog-limesurvey (https://github.com/martialblog/puppet-limesurvey)
348
+ * ULHPC-slurm (https://github.com/ULHPC/puppet-slurm)
316
349
  * dsestero-sonarqube (https://github.com/dsestero/sonarqube.git)
317
- * dmcnicks-sympa (https://github.com/dmcnicks/dmcnicks-sympa.git)
318
- * brucem-ezpublish (git://github.com/brucem/puppet-ezpublish.git)
319
- * firm1-zds (https://github.com/firm1/zds-puppet)
320
350
  * marcdeop-ratticdb (https://github.com/marcdeop/ratticdb)
321
- * gerardkok-ejbca (https://github.com/gerardkok/puppet-ejbca.git)
322
- * leonardothibes-usvn (git://github.com/leonardothibes/puppet-usvn.git)
351
+ * desalvo-bacula (https://github.com/desalvo/puppet-bacula)
352
+ * glarizza-profiles (https://github.com/glarizza/puppet-profiles)
353
+ * openstack-openstacklib (git://github.com/openstack/puppet-openstacklib.git)
354
+ * garystafford-sakila_mysql_db (https://github.com/garystafford/garystafford-sakila_mysql_db)
355
+ * othalla-nextcloud (https://github.com/othalla/puppet-nextcloud.git)
356
+ * cnwr-cacti (https://github.com/cnwrinc/cnwr-cacti)
357
+ * icann-opendnssec (https://github.com/icann-dns/puppet-opendnssec)
358
+ * brucem-ezpublish (git://github.com/brucem/puppet-ezpublish.git)
359
+ * bramwelt-patchwork (https://github.com/bramwelt/puppet-patchwork)
323
360
  * hexmode-mediawiki (git@github.com:hexmode/puppet-mediawiki.git)
324
- * johanek-redmine (https://github.com/johanek/johanek-redmine)
325
- * SchnWalter-happydev (https://github.com/devgateway/happy-deployer/tree/master/puppet/modules/happydev)
326
- * martasd-mediawiki (git@github.com:martasd/puppet-mediawiki.git)
361
+ * firefield-firefield (git@github.com:firefield/basic-rails-server.git)
362
+ * puppetlabs-openstack (https://github.com/puppetlabs/puppetlabs-openstack.git)
363
+ * garethr-wackopicko (git://github.com/garethr/garethr-wackopicko.git)
364
+ * dmcnicks-sympa (https://github.com/dmcnicks/dmcnicks-sympa.git)
365
+ * gnubilafrance-wisemapping (https://github.com/gnubila-france/puppet-wisemapping)
366
+ * samuelson-custom_webapp (https://github.com/samuelson/samuelson-custom_webapp)
327
367
 
328
368
  Breaking changes to this file MAY impact these modules:
329
- * pltraining-dockeragent (https://github.com/puppetlabs/pltraining-dockeragent)
330
- * suvarnagodri-mediawiki (master)
369
+ * jaysingh-mediawiki (jay)
370
+ * jtopjian-havana (https://github.com/jtopjian/puppet-havana)
371
+ * Aethylred-puppetdashboard (https://github.com/Aethylred/puppet-puppetdashboard)
372
+ * vshn-uhosting (https://github.com/vshn/uhosting)
331
373
  * narasimhasv-openstack (Install puppet module)
332
- * pbhutani-mediawiki (test)
333
- * erwbgy-wso2 (https://github.com/erwbgy/puppet-wso2.git)
334
- * karume-openstack (https://github.com/karume/puppetlabs-openstack.git)
335
- * reidmv-pe_console (https://github.com/reidmv/puppet-module-pe_console)
336
- * willdurand-bazinga (UNKNOWN)
337
374
  * camptocamp-pacemaker (https://github.com/camptocamp/puppet-pacemaker)
338
- * rocha-dpm (git://github.com/rochaporto/puppet-dpm)
375
+ * karume-openstack (https://github.com/karume/puppetlabs-openstack.git)
376
+ * hegdec-mediawiki (src)
377
+ * abaranov-sqlgrey (https://github.com/spacedog/puppet-sqlgrey)
378
+ * theforeman-foreman (git://github.com/theforeman/puppet-foreman)
379
+ * eNovance-cloud (https://github.com/enovance/puppet-openstack-cloud)
339
380
  * rspiak-racktables (https://github.com/sgnl05/sgnl05-racktables)
340
381
  * dbsrinivasulu-mediawiki (abcd)
341
- * vshn-uhosting (https://github.com/vshn/uhosting)
342
- * lcgdm-lcgdm (https://github.com/cern-it-sdc-id/puppet-lcgdm)
382
+ * reidmv-pe_console (https://github.com/reidmv/puppet-module-pe_console)
343
383
  * eshamow-pe_cert_auth (UNKNOWN)
344
- * gerapeldoorn-nagiosxi (https://github.com/gerapeldoorn/puppet-nagiosxi)
345
- * jtopjian-havana (https://github.com/jtopjian/puppet-havana)
346
- * theforeman-foreman_proxy (git://github.com/theforeman/puppet-foreman_proxy)
347
- * eNovance-cloud (https://github.com/enovance/puppet-openstack-cloud)
348
- * gururaj-mediawiki (mediawiki)
384
+ * lcgdm-lcgdm (https://github.com/cern-it-sdc-id/puppet-lcgdm)
349
385
  * dmexe-deploy (http://github.com/dima-exe/puppet-deploy)
350
- * theforeman-foreman (git://github.com/theforeman/puppet-foreman)
351
- * abaranov-sqlgrey (https://github.com/spacedog/puppet-sqlgrey)
386
+ * pbhutani-mediawiki (test)
352
387
  * byjupv-mediakwiki (mediakwiki)
388
+ * theforeman-foreman_proxy (git://github.com/theforeman/puppet-foreman_proxy)
389
+ * rocha-dpm (git://github.com/rochaporto/puppet-dpm)
390
+ * erwbgy-wso2 (https://github.com/erwbgy/puppet-wso2.git)
391
+ * willdurand-bazinga (UNKNOWN)
392
+ * pltraining-dockeragent (https://github.com/puppetlabs/pltraining-dockeragent)
393
+ * suvarnagodri-mediawiki (master)
353
394
  * devopera-domysqldb (https://github.com/devopera/puppet-domysqldb)
395
+ * gururaj-mediawiki (mediawiki)
396
+ * gerapeldoorn-nagiosxi (https://github.com/gerapeldoorn/puppet-nagiosxi)
354
397
  ```
355
-
398
+
356
399
 
357
400
  ## Limitations
358
401
 
@@ -14,19 +14,18 @@ class Rangefinder
14
14
  if options[:filenames].size == 1 and File.directory?(options[:filenames].first)
15
15
  options[:filenames] = Dir.glob("#{options[:filenames].first}/*")
16
16
  end
17
-
18
- @maxlen = options[:filenames].map {|f| File.basename(f).length }.max
19
17
  end
20
18
 
21
19
  def render!
22
- results = analyze(@options[:filenames])
20
+ results = analyze(@options[:filenames]).compact
21
+ @maxlen = (results.map {|res| res[:name].length} + [12]).max # Take into account the 'item name' label
23
22
 
24
23
  if @options[:render] == :summarize
25
- printf("%-#{@maxlen}s%12s%8s%6s\n", 'Item Name', 'Kind', 'Exact', 'Near')
26
- puts '=' * (@maxlen+26)
24
+ printf("%-#{@maxlen}s %-12s %-8s %-7s %-12s\n", 'Item Name', 'Kind', 'Exact', 'Near', 'Puppetfiles')
25
+ puts '=' * (@maxlen+42)
27
26
  end
28
27
 
29
- results.compact.each do |item|
28
+ results.each do |item|
30
29
  case @options[:render]
31
30
  when :human
32
31
  puts pretty_print(item)
@@ -80,7 +79,12 @@ class Rangefinder
80
79
  end
81
80
 
82
81
  def print_line(results)
83
- sprintf("%-#{@maxlen}s%12s%8d%6d\n", results[:name], results[:kind], results[:exact].size, results[:near].size)
82
+ sprintf("%-#{@maxlen}s %-12s %-8s %-7s %-12s\n",
83
+ results[:name],
84
+ results[:kind],
85
+ results[:exact].size,
86
+ results[:near].size,
87
+ results[:puppetfile])
84
88
  end
85
89
 
86
90
  def pretty_print(results)
@@ -91,6 +95,10 @@ class Rangefinder
91
95
  output << "with no external impact.\n\n"
92
96
  end
93
97
 
98
+ unless results[:puppetfile].empty?
99
+ output << "The enclosing module is declared in #{results[:puppetfile]} indexed public Puppetfiles\n\n"
100
+ end
101
+
94
102
  unless results[:exact].empty?
95
103
  output << "Breaking changes to this file WILL impact these modules:\n"
96
104
  results[:exact].each do |row|
@@ -114,4 +122,4 @@ class Rangefinder
114
122
  require 'pry'
115
123
  binding.pry
116
124
  end
117
- end
125
+ end
@@ -25,13 +25,38 @@ class Rangefinder::Bigquery
25
25
 
26
26
  data = @dataset.query(sql, params: {kind: kind.to_s, name: name})
27
27
 
28
- exact, near = data.partition {|row| row[:source] == namespace and not namespace.nil?}
28
+ if namespace
29
+ exact, near = data.partition {|row| row[:source] == namespace}
30
+ puppetfile = "#{puppetfile_count(namespace)} of #{puppetfile_count}"
31
+ else
32
+ exact = nil
33
+ puppetfile = nil
34
+ near = data
35
+ end
29
36
 
30
37
  {
31
- :kind => kind,
32
- :name => name,
33
- :exact => exact,
34
- :near => near,
38
+ :kind => kind,
39
+ :name => name,
40
+ :exact => exact,
41
+ :near => near,
42
+ :puppetfile => puppetfile,
35
43
  }
36
44
  end
45
+
46
+ def puppetfile_count(modname=nil)
47
+ if modname
48
+ sql = 'SELECT COUNT(DISTINCT repo_name) AS count
49
+ FROM `bto-dataops-datalake-prod.community.github_puppetfile_usage`
50
+ WHERE module = @name'
51
+
52
+ data = @dataset.query(sql, params: {name: modname})
53
+ else
54
+ sql = 'SELECT COUNT(DISTINCT repo_name) AS count
55
+ FROM `bto-dataops-datalake-prod.community.github_puppetfile_usage`'
56
+
57
+ data = @dataset.query(sql)
58
+ end
59
+ data.first[:count]
60
+ end
61
+
37
62
  end
@@ -1,3 +1,3 @@
1
1
  class Rangefinder
2
- VERSION = '0.0.3'
3
- end
2
+ VERSION = '0.0.4'
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-community-rangefinder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Ford
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-19 00:00:00.000000000 Z
11
+ date: 2019-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet
@@ -89,8 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
- rubyforge_project:
93
- rubygems_version: 2.7.7
92
+ rubygems_version: 3.0.2
94
93
  signing_key:
95
94
  specification_version: 4
96
95
  summary: Predicts downstream impact of breaking file changes.