Micah Anderson [Wed, 13 Feb 2013 21:06:37 +0000 (16:06 -0500)]
fix missing comma
Micah Anderson [Wed, 13 Feb 2013 21:02:08 +0000 (16:02 -0500)]
add customizable incoming source
Micah Anderson [Wed, 13 Feb 2013 21:00:59 +0000 (16:00 -0500)]
add $incoming_source variable to allow for customizing the incoming configuration, set to the original by default
Micah Anderson [Wed, 13 Feb 2013 20:24:02 +0000 (15:24 -0500)]
Merge branch 'add_customizable_distributions' into leap
Conflicts:
manifests/repository.pp
Micah Anderson [Wed, 13 Feb 2013 20:23:14 +0000 (15:23 -0500)]
add possibility to have a customizable distributions template
Micah Anderson [Wed, 13 Feb 2013 17:07:47 +0000 (12:07 -0500)]
Merge branch 'add_customizable_index' into leap
Conflicts:
manifests/repository.pp
Micah Anderson [Wed, 13 Feb 2013 17:06:03 +0000 (12:06 -0500)]
add the ability to have a customized index.html
Micah Anderson [Wed, 13 Feb 2013 17:01:35 +0000 (12:01 -0500)]
Merge branch 'fix_missingdependency' into leap
Micah Anderson [Wed, 13 Feb 2013 17:01:20 +0000 (12:01 -0500)]
Merge branch 'add_secringsource' into leap
Conflicts:
manifests/repository.pp
Micah Anderson [Wed, 13 Feb 2013 17:00:39 +0000 (12:00 -0500)]
Merge branch 'add_signwith' into leap
Conflicts:
templates/distributions.erb
Micah Anderson [Wed, 13 Feb 2013 17:00:08 +0000 (12:00 -0500)]
Merge branch 'lint' into leap
Conflicts:
manifests/lighty.pp
Micah Anderson [Wed, 13 Feb 2013 16:58:37 +0000 (11:58 -0500)]
Merge branch 'master' into leap
this brings our master back to before we made some changes. I've split out
those changes into topic branches, and rebased them on top of the current state
of master. I will merge those in next
Conflicts:
manifests/init.pp
templates/distributions.erb
Micah Anderson [Wed, 13 Feb 2013 16:47:41 +0000 (11:47 -0500)]
add a service dependency on the reprepro package, without it, the following can occur: err: /Stage[main]/Reprepro/Service[reprepro]: Could not evaluate: Could not find init script for 'reprepro'
Micah Anderson [Wed, 13 Feb 2013 16:43:07 +0000 (11:43 -0500)]
add a $secring_source parameter to allow for specifying a file resource source for the .gnupg/secring.gpg, setting it to undef by default
Micah Anderson [Wed, 13 Feb 2013 16:37:46 +0000 (11:37 -0500)]
make Signwith configurable, defaulting to the previous setting (yes)
Micah Anderson [Wed, 13 Feb 2013 16:29:47 +0000 (11:29 -0500)]
lint current state of the module
Micah Anderson [Wed, 13 Feb 2013 16:07:44 +0000 (11:07 -0500)]
Merge remote-tracking branch 'koumbit/multi_repo_support'
varac [Sat, 9 Feb 2013 13:18:06 +0000 (14:18 +0100)]
now we can use a local index.html template
Micah Anderson [Thu, 7 Feb 2013 02:44:39 +0000 (21:44 -0500)]
fix typo from previous commit
Micah Anderson [Thu, 7 Feb 2013 02:36:54 +0000 (21:36 -0500)]
add a $secring_source parameter to allow for specifying a file resource source
for the .gnupg/secring.gpg, setting it to undef by default
Micah Anderson [Wed, 6 Feb 2013 20:02:18 +0000 (15:02 -0500)]
Revert "add a service dependency on the reprepro package, without it, the following can occur:"
This reverts commit
3c35eb649158b6d88e41ba32067df8fab0f78ce5.
I didn't realize the $handle_incoming_with_inotify option
Micah Anderson [Wed, 6 Feb 2013 19:42:04 +0000 (14:42 -0500)]
add a service dependency on the reprepro package, without it, the following can occur:
err: /Stage[main]/Reprepro/Service[reprepro]: Could not evaluate: Could not find init script for 'reprepro'
Micah Anderson [Wed, 6 Feb 2013 19:30:38 +0000 (14:30 -0500)]
make Signwith optional, defaulting to the previous setting (yes)
Micah Anderson [Wed, 6 Feb 2013 19:28:25 +0000 (14:28 -0500)]
missed a couple lints in previous commit
Micah Anderson [Wed, 6 Feb 2013 19:19:52 +0000 (14:19 -0500)]
linting the module
Micah Anderson [Wed, 6 Feb 2013 19:07:17 +0000 (14:07 -0500)]
Merge branch 'master' into leap
There were merge conflicts with this merge, but I deliberately
merged with '-s recursive -X theirs' to take the shared modules
version of the changes.
We had some changes that we made, that I will incorporate as
separate commits on top of shared
Antoine Beaupré [Tue, 8 Jan 2013 16:15:13 +0000 (11:15 -0500)]
remove descriptions now that policy is looser
Antoine Beaupré [Tue, 8 Jan 2013 16:14:49 +0000 (11:14 -0500)]
remove distribution codenames
we prefer distribution-agnostic names like stable/testing/unstable by default
Antoine Beaupré [Tue, 8 Jan 2013 16:13:16 +0000 (11:13 -0500)]
remove lenny/oldstable
Antoine Beaupré [Tue, 8 Jan 2013 00:39:40 +0000 (19:39 -0500)]
run the notification daemon as the proper user
Antoine Beaupré [Tue, 8 Jan 2013 00:36:16 +0000 (19:36 -0500)]
Revert "make sure the user belongs to the right group if we haven't created it"
This reverts commit
a33c09dd96f310e997c2365ebfd23860b65e61f4.
Antoine Beaupré [Tue, 8 Jan 2013 00:31:25 +0000 (19:31 -0500)]
reprepro shouldn't be able to write to uploaders
Antoine Beaupré [Tue, 8 Jan 2013 00:31:14 +0000 (19:31 -0500)]
make sure the user belongs to the right group if we haven't created it
Antoine Beaupré [Tue, 8 Jan 2013 00:11:07 +0000 (19:11 -0500)]
really remove inotify class
Antoine Beaupré [Tue, 8 Jan 2013 00:03:10 +0000 (19:03 -0500)]
Merge branch 'master' into multi_repo_support
Antoine Beaupré [Tue, 8 Jan 2013 00:02:34 +0000 (19:02 -0500)]
typo in the readme
Antoine Beaupré [Tue, 8 Jan 2013 00:02:11 +0000 (19:02 -0500)]
mention multi-repository support
Antoine Beaupré [Tue, 8 Jan 2013 00:00:48 +0000 (19:00 -0500)]
Merge branch 'master' into multi_repo_support
Antoine Beaupré [Tue, 8 Jan 2013 00:00:12 +0000 (19:00 -0500)]
do not mention lenny or distributions
since those may change according to policy, we just refer to stable,
testing and unstable now.
Antoine Beaupré [Mon, 7 Jan 2013 23:35:13 +0000 (18:35 -0500)]
get rid of the inotify class as this was failing if it wasn't used
Antoine Beaupré [Mon, 7 Jan 2013 23:04:27 +0000 (18:04 -0500)]
make the user/group customizable per repository
Antoine Beaupré [Mon, 7 Jan 2013 23:01:09 +0000 (18:01 -0500)]
split all resources in their own files
Antoine Beaupré [Mon, 7 Jan 2013 22:58:06 +0000 (17:58 -0500)]
move parametrized class elements into a define to support multiple repositories
Antoine Beaupré [Mon, 7 Jan 2013 23:07:17 +0000 (18:07 -0500)]
explain how to upgrade from previous versions
Antoine Beaupré [Mon, 7 Jan 2013 22:57:39 +0000 (17:57 -0500)]
make the key script support multiple repositories
Antoine Beaupré [Mon, 7 Jan 2013 22:33:01 +0000 (17:33 -0500)]
kill last remains of etch
Silvio Rhatto [Fri, 1 Jul 2011 00:59:07 +0000 (21:59 -0300)]
Removing files/uploaders-sid
Antoine Beaupré [Mon, 7 Jan 2013 22:16:23 +0000 (17:16 -0500)]
make architecture list configurable
Closes: #3765
Antoine Beaupré [Mon, 7 Jan 2013 21:39:15 +0000 (16:39 -0500)]
fix syntax error under 2.6
Antoine Beaupré [Mon, 7 Jan 2013 21:03:01 +0000 (16:03 -0500)]
Merge remote branch 'intrigeri/master' into dev
Tails developers [Sat, 3 Nov 2012 17:34:23 +0000 (18:34 +0100)]
A POSIX shell is enough to run export-key
Tails developers [Sat, 3 Nov 2012 17:34:08 +0000 (18:34 +0100)]
Make export-key fail if any command fails
Tails developers [Sat, 3 Nov 2012 17:31:28 +0000 (18:31 +0100)]
Create temp file in the same directory as the file it'll replace to get an atomic update in export-key
Tails developers [Sat, 3 Nov 2012 17:30:39 +0000 (18:30 +0100)]
Fail-close if multiple-keys are present by quoting KEY in export-key
Tails developers [Sat, 3 Nov 2012 17:28:43 +0000 (18:28 +0100)]
Always remove tempfile if something wrong happen in export-key
Tails developers [Sat, 3 Nov 2012 17:28:07 +0000 (18:28 +0100)]
Use uppercase for global shell variables
Tails developers [Sat, 3 Nov 2012 17:27:22 +0000 (18:27 +0100)]
Properly quote @basedir paths in export-key
Tails developers [Sat, 3 Nov 2012 17:26:31 +0000 (18:26 +0100)]
Use Debian style indentation in export-key
Tails developers [Sat, 3 Nov 2012 17:25:01 +0000 (18:25 +0100)]
Test for 'something' instead of 'not nothing' in export-key
Tails developers [Sat, 3 Nov 2012 17:23:41 +0000 (18:23 +0100)]
Use new-style shell expansion in export-key
Tails developers [Sat, 3 Nov 2012 17:21:34 +0000 (18:21 +0100)]
Add support for status in initscript
Tails developers [Sat, 3 Nov 2012 17:18:45 +0000 (18:18 +0100)]
Add a default value for $USER in initscript
Relying on the external shell environment can lead to issue hard to understand.
We explicitly set USER to root by default, and let admins override it in the
default file.
Tails developers [Sat, 3 Nov 2012 17:17:47 +0000 (18:17 +0100)]
Adjust whitespaces in initscripts
Tails developers [Sat, 3 Nov 2012 17:15:56 +0000 (18:15 +0100)]
Remove useless boilerplate from skeleton initscript
Tails developers [Sat, 3 Nov 2012 17:15:08 +0000 (18:15 +0100)]
Improve descriptions in initscript
Tails developers [Sat, 3 Nov 2012 17:14:16 +0000 (18:14 +0100)]
Fix boot dependencies in initscript
inoticoming lies in /usr/bin so it needs $remote_fs and not $local_fs.
Tails developers [Tue, 23 Oct 2012 16:21:36 +0000 (18:21 +0200)]
Have inoticoming perform an initial search of the directory
If inoticoming is not started while new packages are added to the incoming
directory, those packages would not have been processed straight away.
So, instead of waiting for a subsequent package upload, let's just have
inoticoming perform an initial run on startup.
Tails developers [Sat, 3 Nov 2012 17:06:44 +0000 (18:06 +0100)]
Ensure that 'ensure' is the first attribute
See Style Guide:
<http://docs.puppetlabs.com/guides/style_guide.html#attribute-ordering>
Tails developers [Tue, 23 Oct 2012 16:00:04 +0000 (18:00 +0200)]
Group related exec and file resources
Tails developers [Tue, 23 Oct 2012 15:58:55 +0000 (17:58 +0200)]
Define each file and exec resources separately
See Style Guide:
<http://docs.puppetlabs.com/guides/style_guide.html#compression>
Tails developers [Tue, 23 Oct 2012 15:23:48 +0000 (17:23 +0200)]
Use recommanded style for file modes
See Style Guide:
<http://docs.puppetlabs.com/guides/style_guide.html#file-modes>
intrigeri [Sat, 3 Nov 2012 16:53:50 +0000 (17:53 +0100)]
Have Puppet check mandatory class parameter is passed, rather than doing it by hand.
Tails developers [Tue, 23 Oct 2012 16:55:12 +0000 (18:55 +0200)]
Remove useless $server from file sources
Tails developers [Tue, 23 Oct 2012 16:37:23 +0000 (18:37 +0200)]
Add warnings for file that are managed by Puppet
Tails developers [Tue, 23 Oct 2012 16:32:47 +0000 (18:32 +0200)]
Processing the incoming queue requires the directory to be there
Tails developers [Tue, 23 Oct 2012 15:22:24 +0000 (17:22 +0200)]
Reduce duplication by using defaults for File resources
Tails developers [Tue, 23 Oct 2012 13:03:54 +0000 (15:03 +0200)]
Convert the reprepro class to parametrized format
We remove the deprecated dynamic lookup for variables and now have them as
class parameters.
The reprepro::cron and reprepro::inoticoming classes have been integrated
in the reprepro class as two boolean arguments. As these are not mutually
exclusive, it is cleaner that way.
We add a test manifest for the reprepro class along the way.
Tails developers [Tue, 23 Oct 2012 14:14:31 +0000 (16:14 +0200)]
Don't setup init script manually
There is no need to exec `update-rc.d` manually, the service definition will
take care of running it!
Tails developers [Tue, 23 Oct 2012 14:03:28 +0000 (16:03 +0200)]
Split reprepro::cron and reprepro::inotify to separate files
Tails developers [Tue, 23 Oct 2012 16:44:27 +0000 (18:44 +0200)]
Do not enforce permissions when manage_incoming_conf is false
Tails developers [Tue, 23 Oct 2012 16:01:46 +0000 (18:01 +0200)]
Leave more control to users when conf/distributions is not managed
If we do not manage conf/distributions, we should not call reprepro ourselves,
the caller may change its content at other times than Puppet.
We also should not enforce its permissions.
Tails developers [Tue, 23 Oct 2012 13:08:45 +0000 (15:08 +0200)]
Refer to variables using Ruby instance variables in templates
This is the recommended way, as it prevents clashes with Ruby function names.
Tails developers [Tue, 23 Oct 2012 12:56:12 +0000 (14:56 +0200)]
Drop support for the venerable etch
intrigeri [Tue, 23 Oct 2012 18:15:14 +0000 (20:15 +0200)]
Make basedir permissions configurable with $reprepro_basedir_mode.
When one wants to use the reprepro login to upload packages to incoming, too lax
permissions on its $HOME make sshd unhappy, and one wants to fix that.
Micah Anderson [Wed, 15 Aug 2012 21:26:40 +0000 (17:26 -0400)]
change 'uploaders-sid' in sid distribution to be a standard 'uploaders'
Micah Anderson [Wed, 15 Aug 2012 21:09:39 +0000 (17:09 -0400)]
add testing/wheezy distribution to distributions.erb
Micah Anderson [Wed, 15 Aug 2012 21:09:19 +0000 (17:09 -0400)]
remove another koumbit hard-coded piece
Micah Anderson [Wed, 15 Aug 2012 21:08:52 +0000 (17:08 -0400)]
remove etch from distributions.erb
varac [Thu, 9 Aug 2012 11:10:59 +0000 (13:10 +0200)]
use in distributions.erb
varac [Wed, 8 Aug 2012 16:03:17 +0000 (18:03 +0200)]
removed hardcoded koumbit stuff from distributions.erb
intrigeri [Mon, 2 Jul 2012 16:24:53 +0000 (18:24 +0200)]
Merge branch 'export-no-need-for-refreshonly'
intrigeri [Mon, 2 Jul 2012 16:22:08 +0000 (18:22 +0200)]
Drop useless refreshonly for resource that already has a "create" parameter.
In production, this does not change anything worth noting.
But when developing, being able to delete the exported pubkey and re-run Puppet
is useful.
intrigeri [Mon, 2 Jul 2012 16:17:18 +0000 (18:17 +0200)]
Merge branch 'improve-pubkey-export'
intrigeri [Mon, 2 Jul 2012 16:16:25 +0000 (18:16 +0200)]
Make sure the exported key is owned by reprepro:reprepro.
intrigeri [Mon, 2 Jul 2012 16:13:50 +0000 (18:13 +0200)]
Merge branch 'improve-pubkey-export'
intrigeri [Mon, 2 Jul 2012 16:12:28 +0000 (18:12 +0200)]
Make sure the exported public key is world-readable.
intrigeri [Mon, 2 Jul 2012 16:05:04 +0000 (18:05 +0200)]
Use a temporary file + atomic move when exporting the repository public key.
intrigeri [Sat, 4 Feb 2012 14:27:04 +0000 (15:27 +0100)]
Allow opting-out of conf/incoming's and conf/distributions' content management.
Sometimes it's much simpler to manage these files outside of Puppet.
intrigeri [Tue, 31 Jan 2012 17:10:16 +0000 (18:10 +0100)]
Install inoticoming from reprepro::inotify only.
intrigeri [Tue, 31 Jan 2012 16:29:12 +0000 (17:29 +0100)]
Add $reprepro_incoming_mode variable.
This makes permissions of the reprepro incoming directory configurable.