chef-provisioner 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef-provisioner/chef.rb +1 -0
- data/lib/chef-provisioner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8f258b10c4835ab8a6b02e0a8a7293a18e5ed7c
|
4
|
+
data.tar.gz: 1a08ad63898a88e9a4b42a1de375f8c99a406ec2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 405d0bb3348f36698ef0f1fa86110abe19131f7b24fe8da4d07415fb4a2e3cf14eb14bbb2e4d7c16cd5d31c30095a25c5c323d844fa9324e5cc346bbf7b157c8
|
7
|
+
data.tar.gz: 566ca88995e15db19ffcd917e78c20d0a72c1a74c83f7fc33b0796937db4f44caeb09f36ff280655f5691c288dbf9afc0774c49c6403579e4c909721c060ba06
|
@@ -33,6 +33,7 @@ module ChefProvisioner
|
|
33
33
|
|
34
34
|
def create_node(name, environment, key, attributes:{}, run_list:[])
|
35
35
|
client_connection = ChefAPI::Connection.new do |connection|
|
36
|
+
connection.client = name
|
36
37
|
connection.key = key
|
37
38
|
end
|
38
39
|
node = client_connection.nodes.create(name: name, run_list: run_list)
|