summaryrefslogtreecommitdiffstats
path: root/roles/web-data-analysis
diff options
context:
space:
mode:
authorStephen Smoogen <smooge@redhat.com>2016-09-06 20:27:29 +0000
committerStephen Smoogen <smooge@redhat.com>2016-09-06 20:27:29 +0000
commitfe30d0b126614822c7663747d0764d8b725c31fe (patch)
tree76f4f2d52e070b4b206feea68cba27c4124579ad /roles/web-data-analysis
parent1bdc397639286a086674876f858987744eb2079c (diff)
downloadansible-fe30d0b126614822c7663747d0764d8b725c31fe.tar.gz
ansible-fe30d0b126614822c7663747d0764d8b725c31fe.tar.xz
ansible-fe30d0b126614822c7663747d0764d8b725c31fe.zip
try to get this script working
Diffstat (limited to 'roles/web-data-analysis')
-rw-r--r--roles/web-data-analysis/files/getfedora-data.awk12
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/web-data-analysis/files/getfedora-data.awk b/roles/web-data-analysis/files/getfedora-data.awk
index 0db6d9a63..ce03805eb 100644
--- a/roles/web-data-analysis/files/getfedora-data.awk
+++ b/roles/web-data-analysis/files/getfedora-data.awk
@@ -79,13 +79,13 @@ BEGIN{
else if (($3 ~/-29\./) || ($3 ~/-29-/)) { f29 = f29 + 1 }
else {unk_rel = unk_rel +1 }
- if (($3 ~/Cloud-Atomic/) || ($3 ~/Cloud_Atomic/)) { atomic = atomic +1 ; edit = edit +1; total = total +1 }
- else if (($3 ~/Cloud-Base/) || ($3 ~/Cloud_Base/)) { cloud = cloud +1 ; edit = edit +1; total = total +1 }
- else if (($3 ~/Cloud-netinst/) || ($3 ~/Cloud_netinst/)) { cloud = cloud +1; netinstall = netinstall +1 ; netclod=netclod+1; edit = edit +1; total = total +1 }
- else if (($3 ~/Server-DVD/) || ($3 ~/Server_DVD/)) { server = server +1; edit = edit +1;total = total +1 }
- else if (($3 ~/Server-netinst/) || ($3 ~/Server_netinst/)) { server = server +1; netinstall = netinstall +1 ; netserv=netserv+1; edit = edit +1;total = total +1 }
+ if (($3 ~/Cloud-Atomic/) || ($3 ~/Cloud_Atomic/) || ($3 ~/Fedora-Atomic/) ) { atomic = atomic +1 ; edit = edit +1; total = total +1 }
+ else if (($3 ~/Cloud-Base/) || ($3 ~/Cloud_Base/)) { cloud = cloud +1 ; edit = edit +1; total = total +1 }
+ else if (($3 ~/Cloud-netinst/) || ($3 ~/Cloud_netinst/)) { cloud = cloud +1; netinstall = netinstall +1 ; netclod=netclod+1; edit = edit +1; total = total +1 }
+ else if (($3 ~/Server-DVD/) || ($3 ~/Server_DVD/) || ($3 ~/Server-dvd/) { server = server +1; edit = edit +1;total = total +1 }
+ else if (($3 ~/Server-netinst/) || ($3 ~/Server_netinst/)) { server = server +1; netinstall = netinstall +1 ; netserv=netserv+1; edit = edit +1;total = total +1 }
else if (($3 ~/Workstation-netinst/) || ($3 ~/Workstation_netinst/)) { workstation = workstation +1; netinstall = netinstall +1; network=network+1; edit = edit +1;total = total +1 }
- else if (($3 ~/Live-Workstation/) || ($3 ~/Live_Workstation/)) { workstation = workstation +1; edit = edit +1;total = total +1 }
+ else if (($3 ~/Live-Workstation/) || ($3 ~/Live_Workstation/) || ($3 ~/Workstation-Live/) { workstation = workstation +1; edit = edit +1;total = total +1 }
else if (($3 ~/Desktop/) || ($3 ~/Desktop/)) { workstation = workstation +1; edit = edit +1;total = total +1 }
else if (($3 ~/Fedora-20-i386-DVD/) || ($3 ~/Fedora-20-ppc64-DVD/) || ($3 ~/Fedora-20-x86_64-DVD/) || ($3 ~/Fedora-i386-20/) || ($3 ~/Fedora-x86_64-20/)) { server = server +1; edit = edit +1;total = total +1 }
else if (($3 ~/Fedora-20-i386-netinst.iso/) || ($3 ~/Fedora-20-ppc64-netinst.iso/) || ($3 ~/Fedora-20-x86_64-netinst.iso/) ) { server = server +1; netinstall = netinstall + 1; netserv = netserv+1; edit = edit +1;total = total +1 }