-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Cookbook version
2.3.2
Chef-client version
14.6.47
Platform Details
CentOS Linux release 7.4.1708 (Core)
Hi,
I am dealing with some issues when I am using chef_user resource:
* chef_user[test] action create
* directory[/etc/opscode/users] action create (up to date)
* execute[create-user-test] action run (skipped due to not_if)
* ruby_block[append-user-to-users] action run
- execute the ruby block append-user-to-users
* execute[grant-server-admin-test] action run
- execute chef-server-ctl grant-server-admin-permissions test
ruby_block[append-user-to-users] and execute[grant-server-admin-test] is executed all the time.
Also on chef_org resource:
* chef_org[test] action create
* directory[/etc/opscode/orgs] action create (up to date)
* execute[create-org-test] action run (skipped due to not_if)
* execute[add-user-test-org-test] action run (skipped due to not_if)
* execute[add-admin-test-org-test] action run (skipped due to not_if)
(up to date)
execute[add-user-test-org-test] and execute[add-admin-test-org-test] are always skipped.
From what I can see, the node.run_state is never populated by the load_current_value from these resources.
puts node.run_state
shows always an empty hash {}
Can you please check and fix this?
Thank you!
Metadata
Metadata
Assignees
Labels
No labels