Created
June 22, 2016 20:37
-
-
Save equick/7f3e86b161727dc34f4108b2e07d4d5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* ruby_block[fail-range] action nothing (skipped due to action :nothing) | |
* execute[/usr/sbin/semanage port -a -t http_port_t -p tcp 1900-1902] action run | |
- execute /usr/sbin/semanage port -a -t http_port_t -p tcp 1900-1902 | |
* selinux_policy_port[1901] action addormodify | |
* execute[selinux-port-1901-add] action run (skipped due to not_if) | |
(up to date) | |
* execute[selinux-port-1901-modify] action run (skipped due to not_if) | |
(up to date) | |
(up to date) | |
Recipe: selinux_policy_test::bad_port | |
* ruby_block[bad-port] action nothing (skipped due to action :nothing) | |
* selinux_policy_port[bad_port] action addormodify[2016-06-22T20:29:47+00:00] ERROR: selinux_policy_port[bad_port] (selinux_policy_test::bad_port line 18) had an error: RuntimeError: port value: 1a2b3c is invalid.; ignore_failure is set, continuing | |
================================================================================ | |
Error executing action `addormodify` on resource 'selinux_policy_port[bad_port]' | |
================================================================================ | |
RuntimeError | |
------------ | |
port value: 1a2b3c is invalid. | |
Cookbook Trace: | |
--------------- | |
/tmp/kitchen/cache/cookbooks/selinux_policy/providers/port.rb:19:in `validate_port' | |
/tmp/kitchen/cache/cookbooks/selinux_policy/providers/port.rb:26:in `block in class_from_file' | |
/tmp/kitchen/cache/cookbooks/selinux_policy/providers/port.rb:55:in `block in class_from_file' | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cache/cookbooks/selinux_policy_test/recipes/bad_port.rb | |
18: bad_port = selinux_policy_port 'bad_port' do | |
19: port '1a2b3c' | |
20: protocol 'tcp' | |
21: secontext 'http_port_t' | |
22: ignore_failure true | |
23: notifies :run, 'ruby_block[bad-port]', :immediate | |
24: end | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cache/cookbooks/selinux_policy_test/recipes/bad_port.rb:18:in `from_file' | |
selinux_policy_port("bad_port") do | |
action :addormodify | |
ignore_failure true | |
retries 0 | |
retry_delay 2 | |
guard_interpreter :default | |
cookbook_name "selinux_policy_test" | |
recipe_name "bad_port" | |
protocol "tcp" | |
secontext "http_port_t" | |
port "1a2b3c" | |
end | |
Recipe: selinux_policy_test::module | |
* ruby_block[fail-module] action nothing (skipped due to action :nothing) | |
* selinux_policy_module[testy] action deploy | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment