from-scratch 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Berksfile.lock +11 -0
- data/chefignore +1 -0
- data/cookbooks/apt/CHANGELOG.md +248 -0
- data/cookbooks/apt/README.md +294 -0
- data/cookbooks/apt/attributes/default.rb +51 -0
- data/cookbooks/apt/files/default/15update-stamp +1 -0
- data/cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
- data/cookbooks/apt/libraries/helpers.rb +61 -0
- data/cookbooks/apt/libraries/matchers.rb +17 -0
- data/cookbooks/apt/libraries/network.rb +31 -0
- data/cookbooks/apt/metadata.json +1 -0
- data/cookbooks/apt/providers/preference.rb +84 -0
- data/cookbooks/apt/providers/repository.rb +246 -0
- data/cookbooks/apt/recipes/cacher-client.rb +83 -0
- data/cookbooks/apt/recipes/cacher-ng.rb +43 -0
- data/cookbooks/apt/recipes/default.rb +112 -0
- data/cookbooks/apt/recipes/unattended-upgrades.rb +47 -0
- data/cookbooks/apt/resources/preference.rb +37 -0
- data/cookbooks/apt/resources/repository.rb +60 -0
- data/cookbooks/apt/templates/debian-6.0/acng.conf.erb +173 -0
- data/cookbooks/apt/templates/default/01proxy.erb +9 -0
- data/cookbooks/apt/templates/default/10recommends.erb +3 -0
- data/cookbooks/apt/templates/default/20auto-upgrades.erb +2 -0
- data/cookbooks/apt/templates/default/50unattended-upgrades.erb +68 -0
- data/cookbooks/apt/templates/default/acng.conf.erb +275 -0
- data/cookbooks/apt/templates/default/unattended-upgrades.seed.erb +1 -0
- data/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +269 -0
- data/cookbooks/build-essential/CHANGELOG.md +136 -0
- data/cookbooks/build-essential/README.md +108 -0
- data/cookbooks/build-essential/attributes/default.rb +20 -0
- data/cookbooks/build-essential/libraries/matchers.rb +5 -0
- data/cookbooks/build-essential/libraries/timing.rb +124 -0
- data/cookbooks/build-essential/libraries/xcode_command_line_tools.rb +210 -0
- data/cookbooks/build-essential/metadata.json +1 -0
- data/cookbooks/build-essential/recipes/_debian.rb +28 -0
- data/cookbooks/build-essential/recipes/_fedora.rb +32 -0
- data/cookbooks/build-essential/recipes/_freebsd.rb +24 -0
- data/cookbooks/build-essential/recipes/_mac_os_x.rb +22 -0
- data/cookbooks/build-essential/recipes/_omnios.rb +33 -0
- data/cookbooks/build-essential/recipes/_rhel.rb +36 -0
- data/cookbooks/build-essential/recipes/_smartos.rb +27 -0
- data/cookbooks/build-essential/recipes/_solaris2.rb +48 -0
- data/cookbooks/build-essential/recipes/_suse.rb +29 -0
- data/cookbooks/build-essential/recipes/default.rb +29 -0
- data/cookbooks/chef-sugar/CHANGELOG.md +159 -0
- data/cookbooks/chef-sugar/README.md +464 -0
- data/cookbooks/chef-sugar/metadata.json +1 -0
- data/cookbooks/chef-sugar/recipes/default.rb +34 -0
- data/cookbooks/openssl/CHANGELOG.md +30 -0
- data/cookbooks/openssl/README.md +115 -0
- data/cookbooks/openssl/attributes/default.rb +21 -0
- data/cookbooks/openssl/libraries/secure_password.rb +37 -0
- data/cookbooks/openssl/metadata.json +31 -0
- data/cookbooks/openssl/providers/x509.rb +94 -0
- data/cookbooks/openssl/recipes/default.rb +18 -0
- data/cookbooks/openssl/recipes/upgrade.rb +39 -0
- data/cookbooks/openssl/resources/x509.rb +16 -0
- data/cookbooks/postgresql/CHANGELOG.md +220 -0
- data/cookbooks/postgresql/README.md +464 -0
- data/cookbooks/postgresql/attributes/default.rb +549 -0
- data/cookbooks/postgresql/files/default/tests/minitest/apt_pgdg_postgresql_test.rb +39 -0
- data/cookbooks/postgresql/files/default/tests/minitest/default_test.rb +27 -0
- data/cookbooks/postgresql/files/default/tests/minitest/ruby_test.rb +28 -0
- data/cookbooks/postgresql/files/default/tests/minitest/server_test.rb +43 -0
- data/cookbooks/postgresql/files/default/tests/minitest/support/helpers.rb +29 -0
- data/cookbooks/postgresql/libraries/default.rb +377 -0
- data/cookbooks/postgresql/metadata.json +56 -0
- data/cookbooks/postgresql/recipes/apt_pgdg_postgresql.rb +18 -0
- data/cookbooks/postgresql/recipes/client.rb +32 -0
- data/cookbooks/postgresql/recipes/config_initdb.rb +148 -0
- data/cookbooks/postgresql/recipes/config_pgtune.rb +284 -0
- data/cookbooks/postgresql/recipes/contrib.rb +44 -0
- data/cookbooks/postgresql/recipes/default.rb +18 -0
- data/cookbooks/postgresql/recipes/ruby.rb +117 -0
- data/cookbooks/postgresql/recipes/server.rb +89 -0
- data/cookbooks/postgresql/recipes/server_conf.rb +34 -0
- data/cookbooks/postgresql/recipes/server_debian.rb +38 -0
- data/cookbooks/postgresql/recipes/server_redhat.rb +100 -0
- data/cookbooks/postgresql/recipes/yum_pgdg_postgresql.rb +45 -0
- data/cookbooks/postgresql/templates/default/pg_hba.conf.erb +35 -0
- data/cookbooks/postgresql/templates/default/pgsql.sysconfig.erb +4 -0
- data/cookbooks/postgresql/templates/default/postgresql.conf.erb +21 -0
- data/cookbooks/scratchify/.chef/knife.rb +2 -5
- data/cookbooks/scratchify/Berksfile +2 -1
- data/cookbooks/scratchify/Berksfile.lock +11 -0
- data/cookbooks/scratchify/README.md +34 -17
- data/cookbooks/scratchify/bin/scratchify +1 -1
- data/cookbooks/scratchify/chefignore +1 -0
- data/cookbooks/scratchify/from-scratch.gemspec +2 -5
- data/cookbooks/scratchify/lib/from-scratch.rb +25 -0
- data/cookbooks/scratchify/lib/{from/scratch → from-scratch}/version.rb +1 -1
- data/cookbooks/scratchify/metadata.json +2 -1
- data/cookbooks/scratchify/templates/node.json.erb +34 -0
- data/cookbooks/scratchify/templates/user.json.erb +6 -0
- data/lib/from-scratch.rb +2 -2
- data/lib/from-scratch/version.rb +1 -1
- data/templates/node.json.erb +6 -3
- metadata +85 -10
- data/cookbooks/scratchify/bin/console +0 -14
- data/cookbooks/scratchify/bin/setup +0 -7
- data/cookbooks/scratchify/data_bags/users/deploy.json +0 -6
- data/cookbooks/scratchify/environments/.gitkeep +0 -0
- data/cookbooks/scratchify/lib/from/scratch.rb +0 -31
- data/cookbooks/scratchify/lib/from/scratch/interviewer.rb +0 -35
- data/cookbooks/scratchify/nodes/normfood.ru.json +0 -75
- data/cookbooks/scratchify/roles/.gitkeep +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"build-essential","version":"2.2.4","description":"Installs C compiler / build tools","long_description":"","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"amazon":">= 0.0.0","centos":">= 0.0.0","debian":">= 0.0.0","fedora":">= 0.0.0","freebsd":">= 0.0.0","mac_os_x":">= 10.7.0","mac_os_x_server":">= 10.7.0","oracle":">= 0.0.0","redhat":">= 0.0.0","scientific":">= 0.0.0","smartos":">= 0.0.0","suse":">= 0.0.0","ubuntu":">= 0.0.0"},"dependencies":{},"recommendations":{},"suggestions":{"pkgutil":">= 0.0.0"},"conflicting":{},"providing":{},"replacing":{},"attributes":{"build-essential/compile_time":{"display_name":"Build Essential Compile Time Execution","description":"Execute resources at compile time.","default":"false","recipes":["build-essential::default"]}},"groupings":{},"recipes":{"build-essential":"Installs packages required for compiling C software from source."},"source_url":"https://github.com/chef-cookbooks/build-essential","issues_url":"https://github.com/chef-cookbooks/build-essential/issues"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: debian
|
4
|
+
#
|
5
|
+
# Copyright 2008-2013, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
potentially_at_compile_time do
|
21
|
+
package 'autoconf'
|
22
|
+
package 'binutils-doc'
|
23
|
+
package 'bison'
|
24
|
+
package 'build-essential'
|
25
|
+
package 'flex'
|
26
|
+
package 'gettext'
|
27
|
+
package 'ncurses-dev'
|
28
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: fedora
|
4
|
+
#
|
5
|
+
# Copyright 2008-2015, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
potentially_at_compile_time do
|
21
|
+
package 'autoconf'
|
22
|
+
package 'bison'
|
23
|
+
package 'flex'
|
24
|
+
package 'gcc'
|
25
|
+
package 'gcc-c++'
|
26
|
+
package 'gettext'
|
27
|
+
package 'kernel-devel'
|
28
|
+
package 'make'
|
29
|
+
package 'm4'
|
30
|
+
package 'ncurses-devel'
|
31
|
+
package 'patch'
|
32
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: freebsd
|
4
|
+
#
|
5
|
+
# Copyright 2014, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
potentially_at_compile_time do
|
21
|
+
package 'devel/gmake'
|
22
|
+
package 'devel/autoconf'
|
23
|
+
package 'devel/m4'
|
24
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: mac_os_x
|
4
|
+
#
|
5
|
+
# Copyright 2008-2013, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
potentially_at_compile_time do
|
21
|
+
xcode_command_line_tools 'install'
|
22
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: omnios
|
4
|
+
#
|
5
|
+
# Copyright 2013, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
potentially_at_compile_time do
|
21
|
+
package 'developer/gcc47'
|
22
|
+
package 'developer/object-file'
|
23
|
+
package 'developer/linker'
|
24
|
+
package 'developer/library/lint'
|
25
|
+
package 'developer/build/gnu-make'
|
26
|
+
package 'system/header'
|
27
|
+
package 'system/library/math/header-math'
|
28
|
+
end
|
29
|
+
|
30
|
+
# Per OmniOS documentation, the gcc bin dir isn't in the default
|
31
|
+
# $PATH, so add it to the running process environment
|
32
|
+
# http://omnios.omniti.com/wiki.php/DevEnv
|
33
|
+
ENV['PATH'] = "#{ENV['PATH']}:/opt/gcc-4.7.2/bin"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: rhel
|
4
|
+
#
|
5
|
+
# Copyright 2008-2013, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
potentially_at_compile_time do
|
21
|
+
package 'autoconf'
|
22
|
+
package 'bison'
|
23
|
+
package 'flex'
|
24
|
+
package 'gcc'
|
25
|
+
package 'gcc-c++'
|
26
|
+
package 'kernel-devel'
|
27
|
+
package 'make'
|
28
|
+
package 'm4'
|
29
|
+
package 'patch'
|
30
|
+
|
31
|
+
# Ensure GCC 4 is available on older pre-6 EL
|
32
|
+
if node['platform_version'].to_i < 6
|
33
|
+
package 'gcc44'
|
34
|
+
package 'gcc44-c++'
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: smartos
|
4
|
+
#
|
5
|
+
# Copyright 2008-2013, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
potentially_at_compile_time do
|
21
|
+
package 'autoconf'
|
22
|
+
package 'binutils'
|
23
|
+
package 'build-essential'
|
24
|
+
package 'gcc47'
|
25
|
+
package 'gmake'
|
26
|
+
package 'pkg-config'
|
27
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: solaris2
|
4
|
+
#
|
5
|
+
# Copyright 2013, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
case node['platform_version'].to_f
|
21
|
+
when 5.10
|
22
|
+
# You should install the following packages from the Solaris 10 DVD:
|
23
|
+
#
|
24
|
+
# SUNWbison
|
25
|
+
# SUNWgcc
|
26
|
+
# SUNWggrp
|
27
|
+
# SUNWgmake
|
28
|
+
# SUNWgtar
|
29
|
+
#
|
30
|
+
when 5.11
|
31
|
+
potentially_at_compile_time do
|
32
|
+
package 'autoconf'
|
33
|
+
package 'automake'
|
34
|
+
package 'bison'
|
35
|
+
package 'gnu-coreutils'
|
36
|
+
package 'flex'
|
37
|
+
package 'gcc'
|
38
|
+
package 'gcc-3'
|
39
|
+
package 'gnu-grep'
|
40
|
+
package 'gnu-make'
|
41
|
+
package 'gnu-patch'
|
42
|
+
package 'gnu-tar'
|
43
|
+
package 'pkg-config'
|
44
|
+
package 'ucb'
|
45
|
+
end
|
46
|
+
else
|
47
|
+
fail "Sorry, we don't support Solaris version #{node['platform_version']} at this juncture."
|
48
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: suse
|
4
|
+
#
|
5
|
+
# Copyright 2008-2013, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
potentially_at_compile_time do
|
21
|
+
package 'autoconf'
|
22
|
+
package 'bison'
|
23
|
+
package 'flex'
|
24
|
+
package 'gcc'
|
25
|
+
package 'gcc-c++'
|
26
|
+
package 'kernel-default-devel'
|
27
|
+
package 'make'
|
28
|
+
package 'm4'
|
29
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: build-essential
|
3
|
+
# Recipe:: default
|
4
|
+
#
|
5
|
+
# Copyright 2008-2009, Chef Software, Inc.
|
6
|
+
#
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
# you may not use this file except in compliance with the License.
|
9
|
+
# You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
# See the License for the specific language governing permissions and
|
17
|
+
# limitations under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
begin
|
21
|
+
include_recipe "build-essential::_#{node['platform_family']}"
|
22
|
+
rescue Chef::Exceptions::RecipeNotFound
|
23
|
+
Chef::Log.warn <<-EOH
|
24
|
+
A build-essential recipe does not exist for '#{node['platform_family']}'. This
|
25
|
+
means the build-essential cookbook does not have support for the
|
26
|
+
#{node['platform_family']} family. If you are not compiling gems with native
|
27
|
+
extensions or building packages from source, this will likely not affect you.
|
28
|
+
EOH
|
29
|
+
end
|
@@ -0,0 +1,159 @@
|
|
1
|
+
Chef Sugar Changelog
|
2
|
+
=========================
|
3
|
+
This file is used to list changes made in each version of the chef-sugar cookbook and gem.
|
4
|
+
|
5
|
+
v3.0.2 (2015-03-26)
|
6
|
+
-------------------
|
7
|
+
### Improvements
|
8
|
+
- Add helpers for `ppc64` and `ppc64le` architecture
|
9
|
+
|
10
|
+
### Bug Fixes
|
11
|
+
- Adjustments to error message
|
12
|
+
|
13
|
+
v3.0.1 (2015-03-20)
|
14
|
+
-------------------
|
15
|
+
### Breaking Changes
|
16
|
+
- Rename `compile_time` `to at_compile_time` - if your recipes are affected by
|
17
|
+
this breaking change, your Chef Client run will produce a verbose error
|
18
|
+
message with details on how to fix the error.
|
19
|
+
|
20
|
+
v3.0.0 (2015-03-17)
|
21
|
+
-------------------
|
22
|
+
### Breaking Changes
|
23
|
+
- Drop support for Ruby 1.9 (it might still work, but it is no longer officially supported)
|
24
|
+
|
25
|
+
### Improvements
|
26
|
+
- Remove accidentially committed gem source
|
27
|
+
- Bump development dependencies
|
28
|
+
- Add `digitalocean?` matcher
|
29
|
+
- Expose the `rhel` platform as `el`
|
30
|
+
- Add `ppc64le` platform
|
31
|
+
- Add helper for determining if architecture is SPARC
|
32
|
+
- Add helper for determining if architecture is Intel
|
33
|
+
- Add dynamic platform/version matchers for Solaris
|
34
|
+
|
35
|
+
### Bug Fixes
|
36
|
+
- Reset namespace_options when reaching top-level resources
|
37
|
+
|
38
|
+
v2.5.0 (2015-01-05)
|
39
|
+
-------------------
|
40
|
+
### Improvements
|
41
|
+
- Add `data_bag_item_for_environment` function
|
42
|
+
- Add `kvm?` matcher
|
43
|
+
- Add `virtualbox?` matcher
|
44
|
+
|
45
|
+
### Bug Fixes
|
46
|
+
- Use `.key?` to check for hash key presence, raising an `AttributeDoesNotExist`
|
47
|
+
error sooner
|
48
|
+
|
49
|
+
v2.4.1 (2014-10-12)
|
50
|
+
-------------------
|
51
|
+
- No changes from v2.4.0 - forced a new version upload to the Chef Supermarket
|
52
|
+
|
53
|
+
v2.4.0 (2014-10-12)
|
54
|
+
-------------------
|
55
|
+
### Improvements
|
56
|
+
- Add `docker?` matcher
|
57
|
+
|
58
|
+
v2.3.2 (2014-10-07)
|
59
|
+
-------------------
|
60
|
+
### Big Fixues
|
61
|
+
- Include `amd64` in `_64_bit?` check
|
62
|
+
|
63
|
+
v2.3.1 (2014-10-07)
|
64
|
+
-------------------
|
65
|
+
### Improvements
|
66
|
+
- Check all 64-bit architectures that may be reported by Ohai
|
67
|
+
|
68
|
+
### Bug Fixes
|
69
|
+
- Be more tolerant of `nil` values return from sub functions
|
70
|
+
- Check to make sure `node['domain']` is not `nil` before calling `#include?`
|
71
|
+
|
72
|
+
v2.3.0 (2014-09-24)
|
73
|
+
-------------------
|
74
|
+
### Improvements
|
75
|
+
- Add `vmware?` matcher
|
76
|
+
- Allow the attribute DSL to access parent attributes
|
77
|
+
|
78
|
+
### Bug Fixes
|
79
|
+
- Return `true` or `false` from all Boolean methods (instead of `nil` or truthy values)
|
80
|
+
|
81
|
+
v2.2.0 (2014-08-20)
|
82
|
+
-------------------
|
83
|
+
### Improvements
|
84
|
+
- Add `smartos?` matcher
|
85
|
+
- Add `omnios?` matcher
|
86
|
+
|
87
|
+
v2.1.0 (2014-06-26)
|
88
|
+
-------------------
|
89
|
+
### Improvements
|
90
|
+
- Add `solaris2?` matcher
|
91
|
+
- Add `aix?` matcher
|
92
|
+
- Add 'lxc?' matcher
|
93
|
+
|
94
|
+
### Bug Fixes
|
95
|
+
- Fix a bug in namespace memoization during attribute initialization
|
96
|
+
|
97
|
+
v2.0.0 (2014-06-16)
|
98
|
+
-------------------
|
99
|
+
### Breaking
|
100
|
+
- Remove `not_linux?` method
|
101
|
+
- Remove `not_windows?` method
|
102
|
+
|
103
|
+
### Improvements
|
104
|
+
- Miscellaneous spelling fixes
|
105
|
+
- Update a failing unit test for `installed?`
|
106
|
+
- Add Mac OS X to the list of platforms (Yosemite)
|
107
|
+
- Upgrade to RSpec 3
|
108
|
+
- Fix `which` (and `installed?` and `installed_at_version?`) when given an absolute path
|
109
|
+
- Fix `linux?` check to only return true on real linuxes
|
110
|
+
|
111
|
+
v1.3.0 (2014-05-05)
|
112
|
+
-------------------
|
113
|
+
- Check both `$stdout` and `$stderr` in `version_for`
|
114
|
+
- Add additional platform versions
|
115
|
+
- Make `includes_recipe?` a top-level API (instead of just Node)
|
116
|
+
- Match on the highest version number instead of direct equality checking on platform versions
|
117
|
+
- Define `Object#blank?` as a core extension
|
118
|
+
- Define `String#flush` as a core extension
|
119
|
+
- Remove Stove
|
120
|
+
|
121
|
+
v1.2.6 (2014-03-16)
|
122
|
+
-------------------
|
123
|
+
- Fix a bug in `vagrant?` returning false on newer Vagrant versions
|
124
|
+
- Remove Coveralls
|
125
|
+
|
126
|
+
v1.2.4 (2014-03-13)
|
127
|
+
-------------------
|
128
|
+
- See (1.2.2), but I botched the release
|
129
|
+
|
130
|
+
v1.2.2 (2014-03-13)
|
131
|
+
-------------------
|
132
|
+
- Fix a critical bug with `encrypted_data_bag_item` using the wrong key
|
133
|
+
|
134
|
+
v1.2.0 (2014-03-09)
|
135
|
+
-------------------
|
136
|
+
- Add `namespace` functionality for specifying attributes in a DSL
|
137
|
+
- Add constraints helpers for comparing version strings
|
138
|
+
- Add `require_chef_gem` to safely require and degrade if a gem is not installed
|
139
|
+
- Add `deep_fetch` and `deep_fetch!` to fetch deeply nested keys
|
140
|
+
- Accept an optional secret key in `encrypted_data_bag_item` helper and raise a helpful error if one is not set (NOTE: this changes the airity of the method, but it's backward-compatible because Ruby is magic)
|
141
|
+
- Add Stove for releasing
|
142
|
+
- Updated copyrights for 2014
|
143
|
+
|
144
|
+
v1.1.0 (2013-12-10)
|
145
|
+
-------------------
|
146
|
+
- Add `cloudstack?` helper
|
147
|
+
- Add data bag helpers
|
148
|
+
- Remove foodcritic checks
|
149
|
+
- Upgrade development gem versions
|
150
|
+
- Randomize spec order
|
151
|
+
|
152
|
+
v1.0.1 (2013-10-15)
|
153
|
+
-------------------
|
154
|
+
- Add development recipe
|
155
|
+
- Add `compile_time`, `before`, and `after` filters
|
156
|
+
|
157
|
+
v1.0.0 (2013-10-15)
|
158
|
+
-------------------
|
159
|
+
- First public release
|