Information Technology Reference
In-Depth Information
comment
One (or more) comments about the user
uid
The numeric user identifier
gid
The identifier for the group
home
The location of the home directory
shell
The login shell
The code reads these values from the user_data map and passes them to the Chef user re-
source.
Run kitchen converge . If all goes well, Test Kitchen should upload the cookbook code to
the sandbox environment and create the data bag entries in a chef-zero instance. It should
then run the cookbook code that performs a query for our user data bag items and creates
corresponding users with the user resource:
$ kitchen converge
-----> Starting Kitchen (v1.2.2.dev)
-----> Converging <default-centos65>...
Preparing files for transfer
...
Preparing data bags
...
[2014-07-23T22:18:29-07:00] INFO: Starting chef-zero on port 8889 with
repository at repository at /tmp/kitchen
One version per cookbook
...
Starting Chef Client, version 11.12.8
...
resolving cookbooks for run list: ["users::default"]
[2014-07-23T22:18:31-07:00] INFO: Loading cookbooks [users@0.1.0]
Synchronizing Cookbooks:
Search WWH ::




Custom Search