chef-provisioner 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed0a998f7aa14b2f6068196e8da6fadee6138c0b
4
- data.tar.gz: 1d0f9deda83e4ec934b8bb0b9ca558c03c3a1f0e
3
+ metadata.gz: 5ffc3d6ee67cd9a08069f0fde0f18af5df7a6c92
4
+ data.tar.gz: 74bb11948822410ed7119ef9a5db76eb38c6429a
5
5
  SHA512:
6
- metadata.gz: 3efc98f20d6b93760f9f308359aba9b1760c8e4d80e4982015de0f69936f43180cd57ac12d75c2334660f597ccfecb9c8496e40f319311f3cdbbe9439bac1bcd
7
- data.tar.gz: d1e84fd1d7f6d72432de920786179d5897e0f1d585f3f14c186f25ba5519f40eafa8e03ea736a166325ee997688eca8e89d9462d1675397ed769add0b48e0376
6
+ metadata.gz: 82277a899f543f9950064db262ebadfb784fb39d0159e8b49f0ac67054552453e04812085fc883a02c10f8ba24267f8afdced12bba0ca5e3fbcd975913a4632b
7
+ data.tar.gz: 8ee24301739161363ed96c4353b1c09b6452904a23cd455e243174dafa25cfe644c40368301b5c108ac24106e7a002d1847fb5afb991518b5fd62f326a6d108a
@@ -9,14 +9,14 @@ module ChefProvisioner
9
9
  extend self
10
10
  BOOTSTRAP_TEMPLATE = File.read(File.expand_path('../templates/bootstrap.erb', __FILE__)).freeze
11
11
 
12
- def generate(node_name: '', chef_version: '12.4.1', environment: nil, server: '', first_boot: {}, reinstall: false, audit: false, force: false, retries: 0, chef_cmd: nil)
12
+ def generate(node_name: '', chef_version: '12.4.1', environment: nil, server: '', first_boot: {}, reinstall: false, audit: false, force: false, retries: 1, chef_cmd: nil)
13
13
  node_name = node_name.strip
14
14
  server = ChefAPI.endpoint if server.empty?
15
15
  run_list = first_boot[:run_list] if first_boot[:run_list] # FIXME - symbolize keys instead of the dup here
16
16
  run_list = first_boot['run_list'] if first_boot['run_list']
17
17
  first_boot.merge!( fqdn: node_name, chef_client: {config: {chef_server_url: server}} )
18
18
  client_pem = get_client_key(node_name, run_list, force, retries)
19
- render(node_name: node_name, client_pem: client_pem, chef_version: chef_version, environment: environment, server: server, first_boot: first_boot, reinstall: reinstall, audit: audit)
19
+ render(node_name: node_name, client_pem: client_pem, chef_version: chef_version, environment: environment, server: server, first_boot: first_boot, reinstall: reinstall, audit: audit, chef_cmd: chef_cmd)
20
20
  end
21
21
 
22
22
  private
@@ -1,4 +1,4 @@
1
1
  # Namespace for our gem
2
2
  module ChefProvisioner
3
- VERSION = '0.1.8'
3
+ VERSION = '0.1.9'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel