Skip to content

Commit

Permalink
MT#17213 Update goss to 0.0.22
Browse files Browse the repository at this point in the history
The ip field format has been changed in 0.0.17:
> goss-org/goss#27 (comment)

Change-Id: I433712401f330f604ceebe76deb9774409aeeca8
  • Loading branch information
taurus-forever committed Feb 16, 2016
1 parent ab72990 commit eaf3b9d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions ce/03_open_ports.json.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"port": {
"tcp:443": {
"listening": true,
"ip": "[% web_ext_ips.0 -%]"
"ip": ["[% web_ext_ips.0 -%]"]
},
"tcp:1443": {
"listening": true,
"ip": "[% web_int_ips.0 -%]"
"ip": ["[% web_int_ips.0 -%]"]
}
}
}
56 changes: 28 additions & 28 deletions pro/03_open_ports.json.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -58,103 +58,103 @@
[% IF is_mgmt -%]
"tcp:443": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"tcp:1443": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
[% END -%]
[% IF is_mgmt && pbx.enable == 'yes' -%]
"tcp:1444": {
"listening": true,
"ip": "[% web_ext_ips.0 -%]"
"ip": ["[% web_ext_ips.0 -%]"]
},
"tcp:1445": {
"listening": true,
"ip": "[% web_ext_ips.0 -%]"
"ip": ["[% web_ext_ips.0 -%]"]
},
[% END -%]
"tcp:22": {
"listening": true,
"ip": "0.0.0.0"
"ip": ["0.0.0.0"]
},
"tcp:22": {
"listening": true,
"ip": "[% hosts.$hostname.$host_ha_iface.ip %]"
"ip": ["[% hosts.$hostname.$host_ha_iface.ip %]"]
},
"tcp:24009": {
"listening": true,
"ip": "0.0.0.0"
"ip": ["0.0.0.0"]
},
"tcp:25": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"tcp:2812": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"tcp:3306": {
"listening": true,
"ip": "0.0.0.0"
"ip": ["0.0.0.0"]
},
[% IF is_lb -%]
"tcp:5060": {
"listening": true,
"ip": "[% sip_ext_ips.0 -%]"
"ip": ["[% sip_ext_ips.0 -%]"]
},
[% END -%]
[% IF is_proxy -%]
"tcp:5062": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"tcp:5222": {
"listening": true,
"ip": "[% sip_ext_ips.0 -%]"
"ip": ["[% sip_ext_ips.0 -%]"]
},
"tcp:5269": {
"listening": true,
"ip": "[% sip_ext_ips.0 -%]"
"ip": ["[% sip_ext_ips.0 -%]"]
},
"tcp:5280": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"tcp:5281": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"tcp:5582": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"tcp:8090": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"tcp:5038": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"udp:5040": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"udp:5070": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
"udp:5080": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
[% END -%]
[% IF is_rtp || is_proxy || is_db -%]
"tcp:6379": {
"listening": true,
"ip": "[% hosts.$hostname.$host_ha_iface.ip %]"
"ip": ["[% hosts.$hostname.$host_ha_iface.ip %]"]
},
[% END -%]
"tcp:7777": {
Expand All @@ -165,25 +165,25 @@
},
"udp:123": {
"listening": true,
"ip": "0.0.0.0"
"ip": ["0.0.0.0"]
},
"udp:161": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
[% IF is_rtp -%]
"udp:2223": {
"listening": true,
"ip": "127.0.0.1"
"ip": ["127.0.0.1"]
},
[% END -%]
"udp:25826": {
"listening": true,
"ip": "[% hosts.$hostname.$host_ha_iface.ip %]"
"ip": ["[% hosts.$hostname.$host_ha_iface.ip %]"]
},
"udp:[% heartbeat.port ? heartbeat.port : '694' %]": {
"listening": true,
"ip": "0.0.0.0"
"ip": ["0.0.0.0"]
},
"tcp:22": {
"listening": true,
Expand Down
2 changes: 1 addition & 1 deletion testrunner
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ esac

if [ ! -x /usr/sbin/goss ] ; then
echo "Downloading goss and installing as /usr/sbin/goss"
curl -L https://deb.sipwise.com/files/goss-0.0.16-linux-amd64 > /usr/sbin/goss
curl -L https://deb.sipwise.com/files/goss-0.0.22-linux-amd64 > /usr/sbin/goss
chmod +x /usr/sbin/goss
fi

Expand Down

0 comments on commit eaf3b9d

Please sign in to comment.