pythonindia / pungi

Software for managing the Python India server
0 stars 0 forks source link

Provision the virtualbox using ansible #3

Open anandology opened 10 years ago

dnene commented 10 years ago

@anandology

Need the following information

a) Softwares to be installed (preferably as debian package names or pypi package names) b) Ports to keep open (for firewall) c) Any specific / additional suggestions to keep in mind.

anandology commented 10 years ago

I added sample config to add nginx. Please let me know if it looks alright.

To start with, we need the following packages.

I followed instructions from http://www.debian-administration.org/articles/140 when I installed it last time.

Now the virtual domain files will have email forwarding rules like:

contact: anandology@..., dnene@...

Where should we keep those files? I'm sure we don't want to keep the email addresses in a public repo.

anandology commented 10 years ago

Shall we create one issue for each software that we want to install or shall we list all of them here?

dnene commented 10 years ago

I shall be creating a file (eg. _vars_private) That file will contain private data and will need to be privately synced directly across developers. The .gitignore will will be updated to not add/commit that file.


http://blog.dhananjaynene.com twitter: @dnene google+: https://google.com/+DhananjayNene

On Tue, Nov 26, 2013 at 3:40 PM, Anand Chitipothu notifications@github.comwrote:

I added sample config to add nginx. Please let me know if it looks alright.

To start with, we need the following packages.

  • nginx (already added)
  • exim4 with virtual domain support

I followed instructions from http://www.debian-administration.org/articles/140 when I installed it last time.

Now the virtual domain files will have email forwarding rules like:

contact: anandology@..., dnene@...

Where should we keep those files? I'm sure we don't want to keep the email addresses in a public repo.

— Reply to this email directly or view it on GitHubhttps://github.com/pythonindia/pungi/issues/3#issuecomment-29280542 .

dnene commented 10 years ago

imo use this issue for bulk initial set of suggestions. Then create new issues for each matter that requires further discussion.

anandology commented 10 years ago

On Tue, Nov 26, 2013 at 3:42 PM, Dhananjay Nene notifications@github.comwrote:

I shall be creating a file (eg. _vars_private) That file will contain private data and will need to be privately synced directly across developers. The .gitignore will will be updated to not add/commit that file.

Any suggestions for the mode of sharing? a private git repo?

Anand

dnene commented 10 years ago

I am not a fan of storing passwords etc in plain text even on a private git repo. Perhaps we could explore sshfs as @pythonhacker described ??

anandology commented 10 years ago

On Tue, Nov 26, 2013 at 4:11 PM, Dhananjay Nene notifications@github.comwrote:

I am not a fan of storing passwords etc in plain text even on a private git repo. Perhaps we could explore sshfs as @pythonhackerhttps://github.com/pythonhackerdescribed ??

It is not passwords. It is sensitive data that shouldn't be shared in public like email addresses.

I'm fan of using private git repo because, we it gives us version history. I can look at git log to see when was a particular user added/deleted to some alias. Also, we'll be able to revert back we screw up something. With options like ssh-fs etc, we need to worry about backup and scripts to rollback from a backup etc. git gives all of them for free.

If you are worried about hosting a private repo, we can host it on the same node via ssh. That is as good as ssh-fs.

@dnene what do you think?

dnene commented 10 years ago

It is just a single file with name value pairs for private (or weakly private eg. email addresses) variables. All the other stuff you talked about should be available via this repo.