-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Cookbook version
2.2.0
Chef-client version
13.6.4
Platform Details
AIX 7.1
Scenario:
add an inittab entry to to /etc/inittab
Steps to Reproduce:
From the README:
aix_inittab 'my-awesome-aix-daemon' do
runlevel '2'
processaction 'once'
command '/opt/mycompany/libexec/mydaemon -d > /dev/console 2>&1'
action :install
end
Expected Result:
Entry should be added to /etc/inittab
Actual Result:
* aix_inittab[my-awesome-aix-daemon] action install
================================================================================
Error executing action `install` on resource 'aix_inittab[my-awesome-aix-daemon]'
================================================================================
Chef::Exceptions::ValidationFailed
----------------------------------
runlevel is required
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/aix/resources/inittab.rb:40:in `block in class_from_file'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/my_awesome_cookbook/recipes/default.rb
141: aix_inittab 'my-awesome-aix-daemon' do
142: runlevel '2'
143: processaction 'once'
144: command '/opt/mycompany/libexec/mydaemon -d > /dev/console 2>&1'
145: action :install
146: end
147:
Metadata
Metadata
Assignees
Labels
No labels