| author | Yves-Marie Haussonne <ymh.work+github@gmail.com> |
| Fri, 09 May 2014 18:35:26 +0200 | |
| changeset 656 | a84519031134 |
| parent 648 | c8b44a569549 |
| permissions | -rw-r--r-- |
|
587
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
# -*- mode: ruby -*- |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
# vi: set ft=ruby : |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
|
|
609
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
4 |
require 'yaml' |
|
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
5 |
|
|
610
dc75c8d65289
add a way to specify the custom.yaml file path with the SYSCONFIG env variable
ymh <ymh.work@gmail.com>
parents:
609
diff
changeset
|
6 |
custom_file_path = File.join(__dir__, (ENV['SYSCONFIG'] || 'custom.yaml')) |
|
609
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
7 |
|
|
611
fa66f4bb1563
add some more custom config and put every thing in comment in the custom.yaml template
ymh <ymh.work@gmail.com>
parents:
610
diff
changeset
|
8 |
context = (File.exist?(custom_file_path)?YAML::load_file(custom_file_path):{}) || {} |
|
609
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
9 |
|
|
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
10 |
ROOT_PATH = context.fetch("root_path","../") |
| 590 | 11 |
|
|
587
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
12 |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
13 |
VAGRANTFILE_API_VERSION = "2" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
14 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
15 |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
16 |
# All Vagrant configuration is done here. The most common configuration |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
17 |
# options are documented and commented below. For a complete reference, |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
18 |
# please see the online documentation at vagrantup.com. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
19 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
20 |
# Every Vagrant virtual environment requires a box to build off of. |
|
611
fa66f4bb1563
add some more custom config and put every thing in comment in the custom.yaml template
ymh <ymh.work@gmail.com>
parents:
610
diff
changeset
|
21 |
config.vm.box = context.fetch("vm_box","wheezy-73-x64") |
|
587
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
22 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
23 |
# The url from where the 'config.vm.box' box will be fetched if it |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
24 |
# doesn't already exist on the user's system. |
|
611
fa66f4bb1563
add some more custom config and put every thing in comment in the custom.yaml template
ymh <ymh.work@gmail.com>
parents:
610
diff
changeset
|
25 |
config.vm.box_url = context.fetch("vm_box_url","http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-puppet.box") |
|
587
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
26 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
27 |
# Create a forwarded port mapping which allows access to a specific port |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
28 |
# within the machine from a port on the host machine. In the example below, |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
29 |
# accessing "localhost:8080" will access port 80 on the guest machine. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
30 |
# config.vm.network :forwarded_port, guest: 80, host: 8080 |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
31 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
32 |
# Create a private network, which allows host-only access to the machine |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
33 |
# using a specific IP. |
|
609
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
34 |
config.vm.network :private_network, ip: (ENV['VM_IP'] || context['vm_ip'] || "172.16.1.2") |
|
587
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
35 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
36 |
# Create a public network, which generally matched to bridged network. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
37 |
# Bridged networks make the machine appear as another physical device on |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
38 |
# your network. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
39 |
# config.vm.network :public_network |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
40 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
41 |
# If true, then any SSH connections made will enable agent forwarding. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
42 |
# Default value: false |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
43 |
# config.ssh.forward_agent = true |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
44 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
45 |
# Share an additional folder to the guest VM. The first argument is |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
46 |
# the path on the host to the actual folder. The second argument is |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
47 |
# the path on the guest to mount the folder. And the optional third |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
48 |
# argument is a set of non-required options. |
|
609
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
49 |
config.vm.synced_folder ROOT_PATH, "/srv/comt" |
|
587
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
50 |
|
|
609
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
51 |
vmname = (ENV['VM_NAME'] || context['vm_name'] || "coment_dev") |
| 590 | 52 |
|
53 |
config.vm.define :"#{vmname}" do |coment_dev| |
|
|
587
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
54 |
end |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
55 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
56 |
# Provider-specific configuration so you can fine-tune various |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
57 |
# backing providers for Vagrant. These expose provider-specific options. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
58 |
# Example for VirtualBox: |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
59 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
60 |
config.vm.provider :virtualbox do |vb| |
| 590 | 61 |
vb.name = vmname |
|
587
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
62 |
# # Don't boot with headless mode |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
63 |
# vb.gui = true |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
64 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
65 |
# # Use VBoxManage to customize the VM. For example to change memory: |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
66 |
# vb.customize ["modifyvm", :id, "--memory", "1024"] |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
67 |
end |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
68 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
69 |
# View the documentation for the provider you're using for more |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
70 |
# information on available options. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
71 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
72 |
# Enable provisioning with Puppet stand alone. Puppet manifests |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
73 |
# are contained in a directory path relative to this Vagrantfile. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
74 |
# You will need to create the manifests directory and a manifest in |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
75 |
# the file base.pp in the manifests_path directory. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
76 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
77 |
# An example Puppet manifest to provision the message of the day: |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
78 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
79 |
# # group { "puppet": |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
80 |
# # ensure => "present", |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
81 |
# # } |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
82 |
# # |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
83 |
# # File { owner => 0, group => 0, mode => 0644 } |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
84 |
# # |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
85 |
# # file { '/etc/motd': |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
86 |
# # content => "Welcome to your Vagrant-built virtual machine! |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
87 |
# # Managed by Puppet.\n" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
88 |
# # } |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
89 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
90 |
config.vm.provision :puppet do |puppet| |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
91 |
puppet.manifests_path = "manifests" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
92 |
puppet.manifest_file = "site.pp" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
93 |
puppet.module_path = "modules" |
|
648
c8b44a569549
Correct dev environment creation
Yves-Marie Haussonne <ymh.work+github@gmail.com>
parents:
645
diff
changeset
|
94 |
puppet.options = "--hiera_config /vagrant/hiera.yaml" |
|
609
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
95 |
puppet.facter = { |
|
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
96 |
"vagrant_base_path" => File.dirname(__FILE__) |
|
736fdedb7774
clean the test-suite folder. create necessary files in dev env
ymh <ymh.work@gmail.com>
parents:
590
diff
changeset
|
97 |
} |
|
648
c8b44a569549
Correct dev environment creation
Yves-Marie Haussonne <ymh.work+github@gmail.com>
parents:
645
diff
changeset
|
98 |
# puppet.options = "--debug --verbose --hiera_config /vagrant/hiera.yaml --graph --graphdir '/vagrant/graphs' --noop" |
|
c8b44a569549
Correct dev environment creation
Yves-Marie Haussonne <ymh.work+github@gmail.com>
parents:
645
diff
changeset
|
99 |
|
|
587
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
100 |
end |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
101 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
102 |
# Enable provisioning with chef solo, specifying a cookbooks path, roles |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
103 |
# path, and data_bags path (all relative to this Vagrantfile), and adding |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
104 |
# some recipes and/or roles. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
105 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
106 |
# config.vm.provision :chef_solo do |chef| |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
107 |
# chef.cookbooks_path = "../my-recipes/cookbooks" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
108 |
# chef.roles_path = "../my-recipes/roles" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
109 |
# chef.data_bags_path = "../my-recipes/data_bags" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
110 |
# chef.add_recipe "mysql" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
111 |
# chef.add_role "web" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
112 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
113 |
# # You may also specify custom JSON attributes: |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
114 |
# chef.json = { :mysql_password => "foo" } |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
115 |
# end |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
116 |
|
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
117 |
# Enable provisioning with chef server, specifying the chef server URL, |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
118 |
# and the path to the validation key (relative to this Vagrantfile). |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
119 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
120 |
# The Opscode Platform uses HTTPS. Substitute your organization for |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
121 |
# ORGNAME in the URL and validation key. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
122 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
123 |
# If you have your own Chef Server, use the appropriate URL, which may be |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
124 |
# HTTP instead of HTTPS depending on your configuration. Also change the |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
125 |
# validation key to validation.pem. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
126 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
127 |
# config.vm.provision :chef_client do |chef| |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
128 |
# chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
129 |
# chef.validation_key_path = "ORGNAME-validator.pem" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
130 |
# end |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
131 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
132 |
# If you're using the Opscode platform, your validator client is |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
133 |
# ORGNAME-validator, replacing ORGNAME with your organization name. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
134 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
135 |
# If you have your own Chef Server, the default validation client name is |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
136 |
# chef-validator, unless you changed the configuration. |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
137 |
# |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
138 |
# chef.validation_client_name = "ORGNAME-validator" |
|
a1aa29e7809f
add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
139 |
end |