Sha256: fc526e99edb65ab80e60956eca6c8f075b99315eaab1af16438006273b430c6e
Contents?: true
Size: 592 Bytes
Versions: 24
Compression:
Stored size: 592 Bytes
Contents
test_name "Stop firewall" do skip_test 'not testing with puppetserver' unless @options['is_puppetserver'] hosts.each do |host| case host['platform'] when /debian/ on host, 'iptables -F' when /fedora|el-7/ on host, puppet('resource', 'service', 'firewalld', 'ensure=stopped') when /el-|centos/ on host, puppet('resource', 'service', 'iptables', 'ensure=stopped') when /ubuntu/ on host, puppet('resource', 'service', 'ufw', 'ensure=stopped') else logger.notify("Not sure how to clear firewall on #{host['platform']}") end end end
Version data entries
24 entries across 24 versions & 1 rubygems