Skip to content

Commit fdf0973

Browse files
committed
Merge pull request rails#77 from seuros/master
box update
2 parents 3ac6914 + b4d9a8b commit fdf0973

File tree

545 files changed

+28217
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

545 files changed

+28217
-11
lines changed

puppet/manifests/default.pp

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
# Pick a Ruby version modern enough, that works in the currently supported Rails
66
# versions, and for which RVM provides binaries.
7-
$ruby_version = '2.1.1'
7+
$ruby_version = '2.1.2'
8+
9+
include apt
810

911
Exec {
1012
path => ['/usr/sbin', '/usr/bin', '/sbin', '/bin']
@@ -64,8 +66,18 @@
6466

6567
# --- PostgreSQL ---------------------------------------------------------------
6668

69+
6770
class install_postgres {
68-
class { 'postgresql': }
71+
apt::source { 'postgresql':
72+
location => 'http://apt.postgresql.org/pub/repos/apt',
73+
release => "precise-pgdg",
74+
key => 'ACCC4CF8',
75+
key_source => 'https://www.postgresql.org/media/keys/ACCC4CF8.asc',
76+
}
77+
78+
class { 'postgresql':
79+
version => '9.3'
80+
}
6981

7082
class { 'postgresql::server': }
7183

@@ -101,13 +113,19 @@
101113

102114
class { 'memcached': }
103115

104-
# --- Packages -----------------------------------------------------------------
116+
# --- Redis ----------------------------------------------------------------
105117

106-
package { 'curl':
107-
ensure => installed
118+
class { 'redis': }
119+
120+
# --- Rabbitmq ----------------------------------------------------------------
121+
122+
class { '::rabbitmq':
123+
admin_enable => false
108124
}
109125

110-
package { 'build-essential':
126+
# --- Packages -----------------------------------------------------------------
127+
128+
package { 'curl':
111129
ensure => installed
112130
}
113131

@@ -134,11 +152,11 @@
134152
}
135153

136154
exec { 'install_ruby':
137-
# We run the rvm executable directly because the shell function assumes an
138-
# interactive environment, in particular to display messages or ask questions.
139-
# The rvm executable is more suitable for automated installs.
140-
#
141-
# use a ruby patch level known to have a binary
155+
# We run the rvm executable directly because the shell function assumes an
156+
# interactive environment, in particular to display messages or ask questions.
157+
# The rvm executable is more suitable for automated installs.
158+
#
159+
# use a ruby patch level known to have a binary
142160
command => "${as_vagrant} '${home}/.rvm/bin/rvm install ruby-${ruby_version} --binary --autolibs=enabled && rvm alias create default ${ruby_version}'",
143161
creates => "${home}/.rvm/bin/ruby",
144162
require => Exec['install_rvm']

puppet/modules/apt/CHANGELOG.md

Lines changed: 288 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,288 @@
1+
##2014-08-20 - Supported Release 1.6.0
2+
###Summary
3+
4+
####Features
5+
- Allow URL or domain name for key_server parameter
6+
- Allow custom comment for sources list
7+
- Enable auto-update for Debian squeeze LTS
8+
- Add facts showing available updates
9+
- Test refactoring
10+
11+
####Bugfixes
12+
- Allow dashes in URL or domain for key_server parameter
13+
14+
##2014-08-13 - Supported Release 1.5.3
15+
###Summary
16+
17+
This is a bugfix releases. It addresses a bad regex, failures with unicode
18+
characters, and issues with the $proxy_host handling in apt::ppa.
19+
20+
####Features
21+
- Synced files from Modulesync
22+
23+
####Bugfixes
24+
- Fix regex to follow APT requirements in apt::pin
25+
- Fix for unicode characters
26+
- Fix inconsistent $proxy_host handling in apt and apt::ppa
27+
- Fix typo in README
28+
- Fix broken acceptance tests
29+
30+
##2014-07-15 - Supported Release 1.5.2
31+
###Summary
32+
33+
This release merely updates metadata.json so the module can be uninstalled and
34+
upgraded via the puppet module command.
35+
36+
##2014-07-10 - Supported Release 1.5.1
37+
###Summary
38+
39+
This release has added tests to ensure graceful failure on OSX.
40+
41+
##2014-06-04 - Release 1.5.0
42+
###Summary
43+
44+
This release adds support for Ubuntu 14.04. It also includes many new features
45+
and important bugfixes. One huge change is that apt::key was replaced with
46+
apt_key, which allows you to use puppet resource apt_key to inventory keys on
47+
your system.
48+
49+
Special thanks to daenney, our intrepid unofficial apt maintainer!
50+
51+
####Features
52+
- Add support for Ubuntu Trusty!
53+
- Add apt::hold define
54+
- Generate valid *.pref files in apt::pin
55+
- Made pin_priority configurable for apt::backports
56+
- Add apt_key type and provider
57+
- Rename "${apt_conf_d}/proxy" to "${apt_conf_d}/01proxy"
58+
- apt::key rewritten to use apt_key type
59+
- Add support for update_tries to apt::update
60+
61+
####Bugfixes
62+
- Typo fixes
63+
- Fix unattended upgrades
64+
- Removed bogus line when using purge_preferences
65+
- Fix apt::force to upgrade allow packages to be upgraded to the pacakge from the specified release
66+
67+
##2014-03-04 - Supported Release 1.4.2
68+
###Summary
69+
70+
This is a supported release. This release tidies up 1.4.1 and re-enables
71+
support for Ubuntu 10.04
72+
73+
####Features
74+
75+
####Bugfixes
76+
- Fix apt:ppa to include the -y Ubuntu 10.04 requires.
77+
- Documentation changes.
78+
- Test fixups.
79+
80+
####Known Bugs
81+
82+
* No known issues.
83+
84+
85+
86+
##2014-02-13 1.4.1
87+
###Summary
88+
This is a bugfix release.
89+
90+
####Bugfixes
91+
- Fix apt::force unable to upgrade packages from releases other than its original
92+
- Removed a few refeneces to aptitude instead of apt-get for portability
93+
- Removed call to getparam() due to stdlib dependency
94+
- Correct apt::source template when architecture is provided
95+
- Retry package installs if apt is locked
96+
- Use root to exec in apt::ppa
97+
- Updated tests and converted acceptance tests to beaker
98+
99+
##2013-10-08 - Release 1.4.0
100+
101+
###Summary
102+
103+
Minor bugfix and allow the timeout to be adjusted.
104+
105+
####Features
106+
- Add an `updates_timeout` to apt::params
107+
108+
####Bugfixes
109+
- Ensure apt::ppa can read a ppa removed by hand.
110+
111+
112+
##2013-10-08 - Release 1.3.0
113+
###Summary
114+
115+
This major feature in this release is the new apt::unattended_upgrades class,
116+
allowing you to handle Ubuntu's unattended feature. This allows you to select
117+
specific packages to automatically upgrade without any further user
118+
involvement.
119+
120+
In addition we extend our Wheezy support, add proxy support to apt:ppa and do
121+
various cleanups and tweaks.
122+
123+
####Features
124+
- Add apt::unattended_upgrades support for Ubuntu.
125+
- Add wheezy backports support.
126+
- Use the geoDNS http.debian.net instead of the main debian ftp server.
127+
- Add `options` parameter to apt::ppa in order to pass options to apt-add-repository command.
128+
- Add proxy support for apt::ppa (uses proxy_host and proxy_port from apt).
129+
130+
####Bugfixes
131+
- Fix regsubst() calls to quote single letters (for future parser).
132+
- Fix lint warnings and other misc cleanup.
133+
134+
135+
##2013-07-03 - Release 1.2.0
136+
137+
####Features
138+
- Add geppetto `.project` natures
139+
- Add GH auto-release
140+
- Add `apt::key::key_options` parameter
141+
- Add complex pin support using distribution properties for `apt::pin` via new properties:
142+
- `apt::pin::codename`
143+
- `apt::pin::release_version`
144+
- `apt::pin::component`
145+
- `apt::pin::originator`
146+
- `apt::pin::label`
147+
- Add source architecture support to `apt::source::architecture`
148+
149+
####Bugfixes
150+
- Use apt-get instead of aptitude in apt::force
151+
- Update default backports location
152+
- Add dependency for required packages before apt-get update
153+
154+
155+
##2013-06-02 - Release 1.1.1
156+
###Summary
157+
158+
This is a bug fix release that resolves a number of issues:
159+
160+
* By changing template variable usage, we remove the deprecation warnings
161+
for Puppet 3.2.x
162+
* Fixed proxy file removal, when proxy absent
163+
164+
Some documentation, style and whitespaces changes were also merged. This
165+
release also introduced proper rspec-puppet unit testing on Travis-CI to help
166+
reduce regression.
167+
168+
Thanks to all the community contributors below that made this patch possible.
169+
170+
#### Detail Changes
171+
172+
* fix minor comment type (Chris Rutter)
173+
* whitespace fixes (Michael Moll)
174+
* Update travis config file (William Van Hevelingen)
175+
* Build all branches on travis (William Van Hevelingen)
176+
* Standardize travis.yml on pattern introduced in stdlib (William Van Hevelingen)
177+
* Updated content to conform to README best practices template (Lauren Rother)
178+
* Fix apt::release example in readme (Brian Galey)
179+
* add @ to variables in template (Peter Hoeg)
180+
* Remove deprecation warnings for pin.pref.erb as well (Ken Barber)
181+
* Update travis.yml to latest versions of puppet (Ken Barber)
182+
* Fix proxy file removal (Scott Barber)
183+
* Add spec test for removing proxy configuration (Dean Reilly)
184+
* Fix apt::key listing longer than 8 chars (Benjamin Knofe)
185+
186+
187+
188+
189+
## Release 1.1.0
190+
###Summary
191+
192+
This release includes Ubuntu 12.10 (Quantal) support for PPAs.
193+
194+
---
195+
196+
##2012-05-25 - Puppet Labs <[email protected]> - Release 0.0.4
197+
###Summary
198+
199+
* Fix ppa list filename when there is a period in the PPA name
200+
* Add .pref extension to apt preferences files
201+
* Allow preferences to be purged
202+
* Extend pin support
203+
204+
205+
##2012-05-04 - Puppet Labs <[email protected]> - Release 0.0.3
206+
###Summary
207+
208+
* only invoke apt-get update once
209+
* only install python-software-properties if a ppa is added
210+
* support 'ensure => absent' for all defined types
211+
* add apt::conf
212+
* add apt::backports
213+
* fixed Modulefile for module tool dependency resolution
214+
* configure proxy before doing apt-get update
215+
* use apt-get update instead of aptitude for apt::ppa
216+
* add support to pin release
217+
218+
219+
##2012-03-26 - Puppet Labs <[email protected]> - Release 0.0.2
220+
###Summary
221+
222+
* 41cedbb (#13261) Add real examples to smoke tests.
223+
* d159a78 (#13261) Add key.pp smoke test
224+
* 7116c7a (#13261) Replace foo source with puppetlabs source
225+
* 1ead0bf Ignore pkg directory.
226+
* 9c13872 (#13289) Fix some more style violations
227+
* 0ea4ffa (#13289) Change test scaffolding to use a module & manifest dir fixture path
228+
* a758247 (#13289) Clean up style violations and fix corresponding tests
229+
* 99c3fd3 (#13289) Add puppet lint tests to Rakefile
230+
* 5148cbf (#13125) Apt keys should be case insensitive
231+
* b9607a4 Convert apt::key to use anchors
232+
233+
234+
##2012-03-07 - Puppet Labs <[email protected]> - Release 0.0.1
235+
###Summary
236+
237+
* d4fec56 Modify apt::source release parameter test
238+
* 1132a07 (#12917) Add contributors to README
239+
* 8cdaf85 (#12823) Add apt::key defined type and modify apt::source to use it
240+
* 7c0d10b (#12809) $release should use $lsbdistcodename and fall back to manual input
241+
* be2cc3e (#12522) Adjust spec test for splitting purge
242+
* 7dc60ae (#12522) Split purge option to spare sources.list
243+
* 9059c4e Fix source specs to test all key permutations
244+
* 8acb202 Add test for python-software-properties package
245+
* a4af11f Check if python-software-properties is defined before attempting to define it.
246+
* 1dcbf3d Add tests for required_packages change
247+
* f3735d2 Allow duplicate $required_packages
248+
* 74c8371 (#12430) Add tests for changes to apt module
249+
* 97ebb2d Test two sources with the same key
250+
* 1160bcd (#12526) Add ability to reverse apt { disable_keys => true }
251+
* 2842d73 Add Modulefile to puppet-apt
252+
* c657742 Allow the use of the same key in multiple sources
253+
* 8c27963 (#12522) Adding purge option to apt class
254+
* 997c9fd (#12529) Add unit test for apt proxy settings
255+
* 50f3cca (#12529) Add parameter to support setting a proxy for apt
256+
* d522877 (#12094) Replace chained .with_* with a hash
257+
* 8cf1bd0 (#12094) Remove deprecated spec.opts file
258+
* 2d688f4 (#12094) Add rspec-puppet tests for apt
259+
* 0fb5f78 (#12094) Replace name with path in file resources
260+
* f759bc0 (#11953) Apt::force passes $version to aptitude
261+
* f71db53 (#11413) Add spec test for apt::force to verify changes to unless
262+
* 2f5d317 (#11413) Update dpkg query used by apt::force
263+
* cf6caa1 (#10451) Add test coverage to apt::ppa
264+
* 0dd697d include_src parameter in example; Whitespace cleanup
265+
* b662eb8 fix typos in "repositories"
266+
* 1be7457 Fix (#10451) - apt::ppa fails to "apt-get update" when new PPA source is added
267+
* 864302a Set the pin priority before adding the source (Fix #10449)
268+
* 1de4e0a Refactored as per mlitteken
269+
* 1af9a13 Added some crazy bash madness to check if the ppa is installed already. Otherwise the manifest tries to add it on every run!
270+
* 52ca73e (#8720) Replace Apt::Ppa with Apt::Builddep
271+
* 5c05fa0 added builddep command.
272+
* a11af50 added the ability to specify the content of a key
273+
* c42db0f Fixes ppa test.
274+
* 77d2b0d reformatted whitespace to match recommended style of 2 space indentation.
275+
* 27ebdfc ignore swap files.
276+
* 377d58a added smoke tests for module.
277+
* 18f614b reformatted apt::ppa according to recommended style.
278+
* d8a1e4e Created a params class to hold global data.
279+
* 636ae85 Added two params for apt class
280+
* 148fc73 Update LICENSE.
281+
* ed2d19e Support ability to add more than one PPA
282+
* 420d537 Add call to apt-update after add-apt-repository in apt::ppa
283+
* 945be77 Add package definition for python-software-properties
284+
* 71fc425 Abs paths for all commands
285+
* 9d51cd1 Adding LICENSE
286+
* 71796e3 Heading fix in README
287+
* 87777d8 Typo in README
288+
* f848bac First commit

0 commit comments

Comments
 (0)