Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stable #1

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d5389e9
commit readme
ThiagoAnunciacao Sep 12, 2017
930bb07
upgrade opsworks cookbook
ThiagoAnunciacao Sep 12, 2017
5f342d0
update cookbook
ThiagoAnunciacao Sep 12, 2017
810ffd0
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
42e0488
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
ffbf0b7
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
48a36ee
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
87a51f9
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
b1c2016
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
fdfb402
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
bae505a
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
297e20f
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
97a6585
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
4ebdf2a
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
37e563b
change brightbox to rbenv
ThiagoAnunciacao Sep 12, 2017
7fed0ff
change brightbox to rbenv
ThiagoAnunciacao Sep 13, 2017
c0d4ede
change brightbox to rbenv
ThiagoAnunciacao Sep 13, 2017
417630c
change brightbox to rbenv
ThiagoAnunciacao Sep 13, 2017
2a8e2c2
change brightbox to rbenv
ThiagoAnunciacao Sep 13, 2017
31b1566
change brightbox to rbenv
ThiagoAnunciacao Sep 13, 2017
1509afa
add chef cookbook aws ssm agent
ThiagoAnunciacao Sep 13, 2017
d54a62a
add chef cookbook aws ssm agent
ThiagoAnunciacao Sep 13, 2017
f0609e1
add extra config proxy nginx
ThiagoAnunciacao Sep 13, 2017
1e2763f
add recipe to install libgraphqlparser
ThiagoAnunciacao Sep 19, 2017
71be212
add recipe to install libgraphqlparser
ThiagoAnunciacao Sep 19, 2017
318bd99
add recipe to install libgraphqlparser
ThiagoAnunciacao Sep 19, 2017
7fa5b25
add recipe to install libgraphqlparser
ThiagoAnunciacao Sep 19, 2017
c3c24ac
add recipe to install libgraphqlparser
ThiagoAnunciacao Sep 19, 2017
4de4ebd
add recipe to install libgraphqlparser
ThiagoAnunciacao Sep 19, 2017
d0476c8
add racher cookbook
ThiagoAnunciacao Jan 24, 2018
160af78
add docker cookbook
ThiagoAnunciacao Jan 24, 2018
bdab8a4
add chef-sugar cookbook
ThiagoAnunciacao Jan 24, 2018
fef83ce
update docker cookbook
ThiagoAnunciacao Jan 24, 2018
eb6eac2
update docker cookbook
ThiagoAnunciacao Jan 24, 2018
d8e6fa1
update docker cookbook
ThiagoAnunciacao Jan 24, 2018
ea5f844
update docker cookbook
ThiagoAnunciacao Jan 24, 2018
951425e
update docker cookbook
ThiagoAnunciacao Jan 24, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
97 changes: 0 additions & 97 deletions README.md

This file was deleted.

4 changes: 4 additions & 0 deletions achievemore_cookbook/attributes/default.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
default['libgraphql']['version'] = '0.6.0'
default['libgraphql']['source_checksum'] = '3d8f5878754203563d06a65175accb8ee9e4eb8b49cb51e6d5c6a1d9ff6aa5ad'
default['libgraphql']['filename'] = "v#{default['libgraphql']['version']}.tar.gz"
default['libgraphql']['source_url'] = "https://github.com/graphql/libgraphqlparser/archive/#{default['libgraphql']['filename']}"
3 changes: 2 additions & 1 deletion achievemore_cookbook/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"platforms": {
},
"dependencies": {
"opsworks_ruby": "= 1.4.0",
"rbenv": "~> 1.7.1",
"opsworks_ruby": "= 1.7.0",
"packages": "~> 1.0.0"
},
"recommendations": {
Expand Down
17 changes: 10 additions & 7 deletions achievemore_cookbook/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
# Copyright:: 2017, The Authors, All Rights Reserved.

node.default['packages-cookbook'] = [
'nodejs',
'libmysqlclient-dev',
'redis-server',
'imagemagick',
'memcached',
'language-pack-pt',
'monit'
'nodejs',
'libmysqlclient-dev',
'redis-server',
'imagemagick',
'memcached',
'language-pack-pt',
'monit',
'python-dev',
'python3-dev',
'cmake'
]
26 changes: 26 additions & 0 deletions achievemore_cookbook/recipes/libgraphql_install.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
tar_location = "#{Chef::Config['file_cache_path']}/#{node['libgraphql']['filename']}"
module_location = "#{Chef::Config['file_cache_path']}/libgraphql/#{node['libgraphql']['source_checksum']}"

remote_file tar_location do
source node['libgraphql']['source_url']
checksum node['libgraphql']['source_checksum']
end

directory module_location do
mode '0755'
recursive true
action :create
end

bash 'extract_libgraphql' do
cwd ::File.dirname(tar_location)
user 'root'
code <<-EOH
tar -xzvf #{::File.basename(tar_location)} -C #{module_location}
cd #{module_location}/libgraphqlparser-#{node['libgraphql']['version']}/
cmake .
make
make install
EOH
only_if { ::File.dirname(tar_location) }
end
27 changes: 27 additions & 0 deletions apt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,33 @@

This file is used to list changes made in each version of the apt cookbook.

## 6.1.4 (2017-08-31)

- Restores ignore_failure true on compile time update.
- name_property vs name_attribute in the resource

## 6.1.3 (2017-07-19)

- Fixed typo in readme
- Fixed config namespace in the 10dpkg-options file

## 6.1.2 (2017-06-20)

- restore backwards compatability by respecting node['apt']['periodic_update_min_delay']

## 6.1.1 (2017-06-20)

- Remove action_class.class_eval usage that caused failures
- Remove wrong warning logs generated by apt_preference
- Fix wrong warning log in cacher-client recipe

## 6.1.0 (2017-04-11)

- Test with local delivery and not Rake
- Use proper value type for bsd-mailx package only_if/not_if block
- Update apache2 license string
- Convert apt_preference to a custom resource

## 6.0.1 (2017-02-27)

- Update cookbook description
Expand Down
13 changes: 8 additions & 5 deletions apt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ To pull just security updates, set `origins_patterns` to something like `["origi
- `['apt']['unattended_upgrades']['remove_unused_dependencies']` Do automatic removal of new unused dependencies after the upgrade. Defaults to false.
- `['apt']['unattended_upgrades']['automatic_reboot']` - Automatically reboots _without confirmation_ if a restart is required after the upgrade. Defaults to false.
- `['apt']['unattended_upgrades']['dl_limit']` - Limits the bandwidth used by apt to download packages. Value given as an integer in kb/sec. Defaults to nil (no limit).
- `['apt']['unattended_upgrades']['random_sleep]'` - Wait a random number of seconds up to this value before running daily periodic apt actions. System default is 1800 seconds (30 minutes).
- `['apt']['unattended_upgrades']['random_sleep']` - Wait a random number of seconds up to this value before running daily periodic apt actions. System default is 1800 seconds (30 minutes).

### Configuration for APT

Expand All @@ -155,7 +155,7 @@ There is an `interface_ipaddress` method that returns the IP address for a parti

This resource provides an easy way to pin packages in /etc/apt/preferences.d. Although apt-pinning is quite helpful from time to time please note that Debian does not encourage its use without thorough consideration.

Further information regarding apt-pinning is available via <http://wiki.debian.org/AptPreferences>.
Further information regarding apt-pinning is available via <https://wiki.debian.org/AptPreferences>.

#### Actions

Expand Down Expand Up @@ -226,11 +226,14 @@ The apt_update resource has been moved into chef-client in Chef 12.7.

See <https://docs.chef.io/resource_apt_update.html> for usage details

## License & Authors
## Maintainers

**Author:** Cookbook Engineering Team ([cookbooks@chef.io](mailto:cookbooks@chef.io))
This cookbook is maintained by Chef's Community Cookbook Engineering team. Our goal is to improve cookbook quality and to aid the community in contributing to cookbooks. To learn more about our team, process, and design goals see our [team documentation](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/COOKBOOK_TEAM.MD). To learn more about contributing to cookbooks like this see our [contributing documentation](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD), or if you have general questions about this cookbook come chat with us in #cookbok-engineering on the [Chef Community Slack](http://community-slack.chef.io/)

**Copyright:** 2009-2016, Chef Software, Inc.
## License


**Copyright:** 2009-2017, Chef Software, Inc.

```
Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion apt/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Cookbook:: apt
# Attributes:: default
#
# Copyright:: 2009-2016, Chef Software, Inc.
# Copyright:: 2009-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion apt/libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Cookbook:: apt
# Library:: helpers
#
# Copyright:: 2013-2016, Chef Software, Inc.
# Copyright:: 2013-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Loading