summaryrefslogtreecommitdiff
path: root/puppet/modules
AgeCommit message (Collapse)Author
2013-06-30Fix 'Failed to call refresh: /usr/local/sbin/reload_dhclient returned 2 insteadMicah Anderson
of one of [0]' by putting in the missing closing single quote. Change-Id: I86feb5d06dd25e28ea67da0b5627e7be4174e01e
2013-07-01Merge branch 'feature/authorized_keys' of ↵micah
/home/git/repositories/micah/leap_platform into develop
2013-06-30switch to own define for managing ssh keysvarac
The problem with puppet's built-in ssh_authorized_key is that you can purge unmanaged keys in a authorized_keys file. see https://leap.se/code/issues/3010 for details. Conflicts: puppet/modules/site_sshd/manifests/authorized_keys.pp Change-Id: I640bf7ebc0f0f7fb19cc46feb4cb2702d6561a9b
2013-06-30modularize and standardize site_sshd:Micah Anderson
. move the setting of the xterm title to site_config::shell . change the xterm file resource to use standard source lines, switch to single quotes, quote mode, and line up parameters . move the mosh pieces into a site_ssh::mosh class and only include it if the right mosh variable is enabled, passing into the class the necessary hiera parameters . lint the site_ssh::mosh resources . change the authorized_keys class to accept the key parameter which is passed in from the main ssh class (but allow for out of scope variable lookup when the tag is passed) Change-Id: Ieec5a3932de9bad1b98633032b28f88e91e46604
2013-06-28added site_sshd::authorized_keysvarac
2013-06-27Merge branch 'bug/2984' into developMicah Anderson
2013-06-27update the apt submodule in order to get the fix for unattended_upgrades ↵Micah Anderson
(#2984) and the custom_key_dir as a class parameter remove the global variable from setup.pp and site.pp and instead pass it into the apt class declaration as a parameter Change-Id: I24806f2fd22b5a066b951c5f76f3dd748481b5b6
2013-06-25fix for #2986 - the services variable is no longer an arrayMicah Anderson
Change-Id: Ia6fc60c0c1fdfa50e1d6d981699c1d8010df63fc
2013-06-25fix preferences description for Debian squeezeMicah Anderson
Change-Id: I30ca424bd9b89b3e95532e325828982e8e513fc7
2013-06-25updated apt submodule, remove unnecessary before dependency on the ↵varac
/etc/apt/preferences file in unattended_upgrades.pp
2013-06-25Install all packages after refresh_apt (Feature #2971)varac
2013-06-20We need to have a newer facter installed in order to get an updated fact for ↵Micah Anderson
piston cloud This moves the apt configuration into the setup.pp run, so we can get the backport source added early which will enable us to install the latest facter from the backports repository. Change-Id: I8ccf1a0445dea72f1b94be08484f33e648439ec1
2013-06-19disable dhclient from modifying the /etc/resolv.conf file on ↵Micah Anderson
openstack/amazon instances The dhclient in these environments is quite aggressive and overwrites the nameservers we've deliberately chosen to use with google's nameservers. This commit attempts to fix that. The dhclient methodology for altering these things is particularly unpleasant. We effectively redefine the functions that mess with this file to be noops in the /etc/dhcp/dhclient-enter-hooks.d directory and then we are forced to restart dhclient by shipping a script that tries to determine the correct PID and arguments that it was running as before killing and restarting it with the same arguments. See debian bugs #681698, #712796 for further discussion about how to make this less difficult Change-Id: I51cf40cf98eaddcefd8180e157b6e3ca824173f0
2013-06-14Merge branch 'develop' of ssh://code.leap.se/leap_platform into developvarac
2013-06-14automatic update of submodule stunnelvarac
2013-06-14Merge branch 'bug/leap_keyring_2492' into developMicah Anderson
Change-Id: Idda4e0301b3e349581fef36989706a487b05ecd8
2013-06-14Merge branch 'develop' of git.codecoop.org:micah/leap_platform into developMicah Anderson
2013-06-14Merge branch 'feature/enable_webapp_http' of ↵micah
/home/git/repositories/micah/leap_platform into develop
2013-06-14Merge branch 'develop' of git.codecoop.org:micah/leap_platform into developMicah Anderson
2013-06-14Merge branch 'feature/leap_path' of ↵micah
/home/git/repositories/micah/leap_platform into develop
2013-06-13install the leap-keyring package, after the leap apt source has been added ↵Micah Anderson
and apt has been refreshed Change-Id: I485420c4ea50f8c3f6699b9b8073dc6c67b7a353
2013-06-12Merge remote-tracking branch 'leap/develop' into developMicah Anderson
2013-06-12update apache submodule to get ssl no_default_site fix. I previously ↵Micah Anderson
accidentally reverted this change Change-Id: Iebc041cf6fb54b79d75eeabd27410ad953b8e340
2013-06-12webapp should be available over http so a proper redirect can be done to httpsMicah Anderson
without this rule, one just gets a 'site is unavailable' result Change-Id: I27b80a0044e9fe4e87e607412c8d0a089d4866a6
2013-06-11/etc/hosts must not have commas!!elijah
2013-06-11use hiera hashes for source data for /etc/hostselijah
2013-06-11add a class site_config::shell for shell-related configurationsMicah Anderson
setup a /etc/profile.d configuration snippet to put /srv/leap/bin in the $PATH (#2122) Change-Id: I0afb5232375e6c6d9f692a97243023c710265d54
2013-06-11lint hosts.ppMicah Anderson
Change-Id: If10470978ee31a398e0b88d8d98552c93d4706a2
2013-05-30site_sshd -- added xterm title, optional support for moshelijah
2013-05-26Merge remote-tracking branch 'leap/develop' into developMicah Anderson
2013-05-26update apt submodule, necessary for wheezy release; update apache module to ↵Micah Anderson
get bugfix Change-Id: I1f5f42bb3b62a5b86de38aed31fdb073626b10af
2013-05-23update couchdb submodule to get couchdb::bigcouch::add_node and ↵Micah Anderson
couchdb::bigcouch::query
2013-05-23Merge remote-tracking branch 'origin/feature/issue_2658' into developMicah Anderson
2013-05-23include site_couchdb::bigcouch::add_nodes in site_couchdb/manifests/init.ppvarac
2013-05-23Install git before vcsrepo call (Feature #2510)varac
2013-05-23Merge remote-tracking branch 'micah/develop' into developMicah Anderson
2013-05-23Merge branch 'issue/1690' of /home/git/repositories/micah/leap_platform into ↵micah
develop
2013-05-23Merge branch 'feature/switch-webapp-location' into developMicah Anderson
Conflicts: puppet/modules/site_webapp/manifests/init.pp Resolved lint differences Change-Id: Ifbc535ec844222c9f6f0dd71ac12742230bb64ee
2013-05-23pass any require => parameters that are in the try::file resource so ↵Micah Anderson
dependencies can be satisfied Change-Id: I10d3ebe6a3009ebe01e578ea582d00dc930689ed
2013-05-22add missing require => on the vcsrepo which could cause these resources to failMicah Anderson
2013-05-22add requirements to the try::file resourcesMicah Anderson
normally a file resource would automatically require the parent directory first, but try::file doesn't do this so it has errors if /srv/leap/webapp doesn't exist yet: for example: - [web1] err: /Stage[main]/Site_webapp/Try::File[/srv/leap/webapp/public/img]/Exec[restore_/srv/leap/webapp/public/img]/returns: change from notrun to 0 failed: Working directory '/srv/leap/webapp/public' does not exist that was 'tried' before the vcsrepo was done which would have resolved that problem. This makes sure that the vcsrepo is done first
2013-05-22add force => true parameter to webapp vcsrepo checkoutMicah Anderson
this should have been added to d669a5fb56acf9101cf677ecbd30bcc47b092cd3 resolve #1722 after the vcsrepo module was updated to handle this, but it wasn't.
2013-05-22change paths for leap webapp to be under /srv/leap/webapp from /srv/leap-webappMicah Anderson
2013-05-21nickserver - added support for apache reverse proxy frontend to handle the TLS.elijah
2013-05-19updated apache submoduleelijah
2013-05-18nickserver - ensure libssl-dev is installed before EventMachine gem is ↵elijah
installed.
2013-05-18added module site_nickserverelijah
2013-05-16special casing for pistoncloud/openstack/ec2Micah Anderson
2013-05-14added smtp-service.json, requires latest leap_clielijah
2013-05-09the leap platform repo should track 'stable'Micah Anderson