| [11:14:15] | * jerryitt has joined #aegir |
| [11:19:34] | * ivanjaros has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) |
| [11:34:55] | * chaz|zzz has joined #aegir |
| [11:36:19] | * chaz has quit (Ping timeout: 245 seconds) |
| [11:47:11] | * chaz|zzz is now known as chaz |
| [11:49:28] | * deciphered has quit (Remote host closed the connection) |
| [12:12:53] | * arianek_afk is now known as arianek |
| [12:21:09] | * deciphered has joined #aegir |
| [12:24:24] | * deciphered has quit (Remote host closed the connection) |
| [12:32:03] | * AquaticDisorder has quit (Read error: Connection reset by peer) |
| [12:33:24] | * Egyptian[Home] has quit (Ping timeout: 276 seconds) |
| [12:34:39] | * Egyptian[Home] has joined #aegir |
| [12:37:46] | * mrfelton has quit (Quit: mrfelton) |
| [12:48:53] | * kvanderw has quit (Quit: Computer has gone to sleep) |
| [13:00:54] | * mrconnerton has quit (Ping timeout: 240 seconds) |
| [13:10:22] | * arianek has quit (Quit: Smell ya later) |
| [13:57:15] | * deciphered has joined #aegir |
| [14:15:14] | * EclipseGc has joined #aegir |
| [14:18:37] | * deciphered has quit (Remote host closed the connection) |
| [14:54:35] | * EclipseGc_ has joined #aegir |
| [14:59:00] | * EclipseGc has quit (Ping timeout: 276 seconds) |
| [14:59:01] | * EclipseGc_ is now known as EclipseGc |
| [15:02:07] | * EclipseGc has quit (Remote host closed the connection) |
| [15:02:30] | * EclipseGc has joined #aegir |
| [15:55:24] | <chaz> | is there a function similar to provision_apache_config_vhost_config() to read a value from a site's vhost? |
| [15:57:00] | * EclipseGc has quit (Quit: EclipseGc) |
| [16:12:36] | * deciphered has joined #aegir |
| [16:19:54] | * cYrilD has joined #aegir |
| [16:20:29] | <mig5> | no.. we don't do any parsing of vhosts |
| [16:20:42] | <chaz> | ah, |
| [16:23:34] | <chaz> | if I want to view/change a variable for a site in the site edit form (I'm looking at the cheesy module as start) how can I get the result/equivalent of "drush vget"? |
| [16:24:08] | <chaz> | we have a custom template that has 2-3 color choices for background color, and I want to view/change that color. |
| [16:24:37] | <chaz> | We have lots of sites using 1 of 3 templates, each with 2-3 color scheme choices. |
| [16:25:12] | <chaz> | I want to be able to edit a site and change its color based on a dropdown/radio that should read/change the variable. |
| [16:26:06] | <chaz> | I wanted to know if the vhost file could be parsed to get the site's dbname so I could run a select query against the variable table to read/write that color value. |
| [16:28:06] | <chaz> | but if aegir steers clear of that, what options are there for discovering a site's dbname? |
| [16:29:47] | <mig5> | you can't, from the UI |
| [16:30:00] | <chaz> | ah |
| [16:30:09] | <mig5> | you'd have to use the site's alias and query drush for the db name |
| [16:30:42] | <chaz> | can that be done within a module that can affect the aegir forms? |
| [16:31:54] | <chaz> | presently, we log onto the site, and via admin- change the template/color. But we wanted to know if it could be done at the aegir level. |
| [16:34:41] | <mig5> | you could look up the drush alias name (we call it the 'context' name) using hosting_context_name($nid) |
| [16:34:46] | <mig5> | http://api.aegirproject.org/api/Hostmaster/modules--hosting--hosting.mod... |
| [16:35:00] | <mig5> | and then you could execute a drush @$site vget or whatever |
| [16:35:10] | <mig5> | i haven't done it, and it feels.. ugly :) |
| [16:35:34] | <mig5> | i don't like the idea of doing $foobar to a site without running through a proper task that backs up the site, is able to roll back the change, etc |
| [16:35:43] | <mig5> | but i remember darthsteven talking about this: http://community.aegirproject.org/node/224 |
| [16:35:51] | <mig5> | not sure if he ever wrote a contrib module or what |
| [16:38:36] | <chaz> | would it be a safer solution to create a whole new task for template changing that backsup a site first, then changes the template/color? |
| [16:39:08] | <chaz> | could I write a task to change the template that calls the backup task first? |
| [16:41:13] | <mig5> | yep |
| [16:41:42] | <mig5> | others argue that running an entire task for something so simple, is overkill |
| [16:41:49] | <mig5> | they may be right! :) |
| [16:41:53] | <chaz> | would that be a 'cleaner' more proper way of performing a task on specific site? |
| [16:41:54] | <mig5> | so go with what feels right |
| [16:42:00] | <mig5> | in my opinion: yes |
| [16:42:12] | <chaz> | not messing up 180+ client sites is 'right' :+) |
| [16:42:50] | <mig5> | you could use something like the backup task as an example: as it's a task that allows you to enter a text field (backup name) - that could be your variable |
| [16:43:05] | <mig5> | then you go to the provision backend and write your matching provision command that invokes provision-backup first, etc |
| [16:43:38] | <chaz> | excellent |
| [16:44:44] | <chaz> | is the backup task a good task to look at for learning how to create tasks? |
| [16:46:12] | <mig5> | yes, or the Reset Login task |
| [16:46:28] | <mig5> | but i suggested the backup task mainly because it's got a text field option attached to it, which might be a good starting point |
| [16:47:05] | <chaz> | is there an 'aegir' way to call the drush @$site command within a module? |
| [16:47:25] | <mig5> | well - if it's task, it automatically *becomes* such a command |
| [16:47:56] | <mig5> | the hosting task sends it to provision and it 'becomes' drush @$site provision-$yourtask |
| [16:48:05] | <chaz> | ahah |
| [16:48:20] | <mig5> | so at that point, you can bootstrap the site in your provision function and run your variable_set or whatever you want |
| [16:48:29] | <chaz> | great |
| [16:48:33] | <chaz> | thanks so much! |
| [16:49:58] | <mig5> | you may have to store the variable you're changing, in the aegir database - like the cheesy profile tutorial does |
| [16:50:46] | <chaz> | as opposed to reading/writing from the site's variable table? |
| [16:51:24] | <mig5> | i mean that you may need to store it in the aegir db so that the task can retrieve it and send it to the backend saying 'make *this* the new variable' |
| [16:51:33] | <mig5> | it really is rather cumbersome :s |
| [16:51:41] | <chaz> | so, it could be temporary? |
| [16:54:59] | <mig5> | not really |
| [16:55:02] | <mig5> | hum |
| [16:55:31] | <mig5> | i really don't know the best way of doing this. or rather: this is why aegir isn't built to be a bulk GUI for making direct changes to site DB content |
| [16:55:49] | <mig5> | it's really more a deployment tool |
| [16:55:53] | <chaz> | where is the code/dir for tasks, like the backup task? |
| [16:56:13] | <mig5> | in profiles/hostmaster/hosting/task, and profiles/hostmaster/hosting/site |
| [16:56:23] | <chaz> | yeah, as s deployment tool it definitely does rock. |
| [16:56:35] | <chaz> | ah, thanks |
| [16:58:58] | * gusaus has quit (Quit: gusaus) |
| [17:01:56] | * gusaus has joined #aegir |
| [17:02:32] | <chaz> | would a Migration be possible way to make a template change? it does sound\ roundabout |
| [17:05:06] | * cYrilD has left #aegir () |
| [17:19:53] | * chaz is now known as chaz|afk |
| [17:20:09] | * deciphered has quit (Remote host closed the connection) |
| [17:24:01] | * gusaus has quit (Quit: gusaus) |
| [17:27:38] | * AstroMix has joined #aegir |
| [17:28:49] | <AstroMix> | hey folks, i have a new debian squeeze on an aws instance and i'm having trouble installing hostmaster with nginx |
| [17:29:10] | <AstroMix> | looks like: nginx on aegir.carwinart.com could not be restarted. Changes might not be available until this has been done. (error: Sorry, try again. [warning] |
| [17:29:45] | <AstroMix> | I've followed the manual install instructions closely, not sure what's up |
| [17:39:39] | * realityloop has joined #aegir |
| [17:54:41] | * gusaus has joined #aegir |
| [18:01:04] | * waako has joined #aegir |
| [18:08:58] | * gusaus has left #aegir () |
| [18:59:13] | * realityloop has quit (Read error: Connection reset by peer) |
| [19:01:42] | * stevetweeddale has quit (Ping timeout: 240 seconds) |
| [19:02:01] | * stevetweeddale has joined #aegir |
| [20:12:40] | * waako has quit (Quit: Leaving.) |
| [20:48:55] | * mrfelton has joined #aegir |
| [20:51:52] | * realityloop has joined #aegir |
| [20:55:34] | * gusaus has joined #aegir |
| [20:59:14] | * realityloop has quit (Remote host closed the connection) |
| [21:09:46] | * deciphered has joined #aegir |
| [21:28:48] | * waako has joined #aegir |
| [21:33:09] | * ivanjaros has joined #aegir |
| [21:50:53] | * deciphered has quit (Read error: Connection reset by peer) |
| [21:51:11] | * deciphered has joined #aegir |
| [22:11:48] | * mrfelton_ has joined #aegir |
| [22:14:35] | * mrfelton has quit (Ping timeout: 252 seconds) |
| [22:14:35] | * mrfelton_ is now known as mrfelton |
| [22:17:56] | * e-anima has joined #aegir |
| [22:36:10] | * deciphered has quit (Remote host closed the connection) |
| [22:50:09] | * waako has quit (Quit: Leaving.) |
| [23:02:34] | * osvaldo has joined #aegir |
| [23:14:48] | * waako has joined #aegir |
| [23:30:32] | * dach0s3n has joined #aegir |
| [23:30:51] | <dach0s3n> | hey guys |
| [23:34:34] | <dach0s3n> | i am having a problem where I have used a mysql password which contains special characters and aegir isn't recognising the mysql password so I changed the password with mysqladmin and then put the password into /var/aegir/.drush/server_localhost.alias.drushrc.php but when i rerun the task it goes back to the old password |
| [23:36:50] | * gusaus has quit (Quit: gusaus) |
| [23:48:07] | * waako has quit (Quit: Leaving.) |
| [00:21:15] | <dach0s3n> | anarcat: Hi whats up? |
| [00:26:57] | * dach0s3n has quit (Ping timeout: 244 seconds) |
| [00:31:26] | * EclipseGc has joined #aegir |
| [00:40:34] | * dach0s3n has joined #aegir |
| [00:49:44] | * jerryitt has left #aegir () |
| [00:53:12] | * dipen has joined #aegir |
| [01:13:19] | * EclipseGc has quit (Quit: EclipseGc) |
| [01:16:15] | * dach0s3n has quit (Ping timeout: 260 seconds) |
| [01:22:20] | * mrconnerton has joined #aegir |
| [01:24:15] | * Guest7123 has joined #aegir |
| [01:24:52] | <Guest7123> | vinny! |
| [01:24:59] | * dach0s3n has joined #aegir |
| [01:27:58] | * Guest7123 has quit (Client Quit) |
| [01:32:48] | * mrconnerton has quit (Ping timeout: 248 seconds) |
| [01:39:11] | * dach0s3n has quit (Ping timeout: 255 seconds) |
| [01:42:50] | * dach0s3n has joined #aegir |
| [01:53:35] | * mrconnerton has joined #aegir |
| [01:57:42] | * lolmaus has joined #aegir |
| [02:12:48] | * dipen has quit (Ping timeout: 248 seconds) |
| [02:33:31] | * osvaldo has quit (Read error: Connection reset by peer) |
| [02:38:46] | * dipen has joined #aegir |
| [03:19:00] | * halcyonCorsair has quit (Ping timeout: 240 seconds) |
| [03:20:51] | * ivanjaros has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) |
| [03:21:46] | * halcyonCorsair has joined #aegir |
| [03:22:35] | * recidive has joined #aegir |
| [03:33:30] | * obrienmd has joined #aegir |
| [03:57:45] | * AquaticDisorder has joined #aegir |
| [03:57:56] | * Egyptian[Home]1 has joined #aegir |
| [03:58:44] | * Egyptian[Home] has quit (Quit: Leaving.) |
| [03:58:54] | * Egyptian[Home]1 is now known as Egyptian[Home] |
| [04:06:29] | * mrfelton has quit (Read error: Connection reset by peer) |
| [04:06:45] | * mrfelton has joined #aegir |
| [04:07:09] | * EclipseGc has joined #aegir |
| [04:25:49] | * dach0s3n has quit (Quit: Leaving) |
| [04:29:07] | * Kaja has joined #aegir |
| [04:29:12] | * waako has joined #aegir |
| [04:33:26] | * Kaja has quit (Remote host closed the connection) |
| [04:33:43] | * Kaja has joined #aegir |
| [04:39:22] | * Kaja has quit (Quit: Colloquy for iPhone - http://colloquy.mobi) |
| [04:41:02] | * EclipseGc has quit (Quit: EclipseGc) |
| [04:52:04] | * waako1 has joined #aegir |
| [04:55:09] | * waako has quit (Ping timeout: 252 seconds) |
| [05:03:44] | <anarcat> | darthsteven: whats up |
| [05:13:36] | * Gerard has joined #aegir |
| [05:13:55] | * waako1 has quit (Quit: Leaving.) |
| [05:16:17] | * AstroMix has quit (Quit: Lost terminal) |
| [05:19:14] | * gusaus has joined #aegir |
| [05:50:29] | * ivanjaros has joined #aegir |
| [05:52:44] | * deciphered has joined #aegir |
| [05:58:45] | * EclipseGc has joined #aegir |
| [06:06:28] | * lolmaus has quit () |
| [06:08:05] | * jasonmce has joined #aegir |
| [06:21:33] | * Gerard has quit (Quit: Textual IRC Client: http://www.textualapp.com/) |
| [06:34:32] | * deciphered has quit (Remote host closed the connection) |
| [06:38:07] | * luke_ has quit (Read error: Operation timed out) |
| [06:40:51] | * lukus has quit (Ping timeout: 244 seconds) |
| [06:57:23] | * lukus has joined #aegir |
| [07:00:49] | * deciphered has joined #aegir |
| [07:00:53] | * jasonmce has quit (Remote host closed the connection) |
| [07:07:38] | * deciphered has quit (Remote host closed the connection) |
| [07:08:05] | * EclipseGc has quit (Quit: EclipseGc) |
| [07:30:16] | * gusaus has quit (Quit: gusaus) |
| [07:49:37] | * Egyptian[Laptop] has joined #aegir |
| [08:11:26] | * Guest7123 has joined #aegir |
| [08:12:15] | <Guest7123> | fransK pop up! |
| [08:12:51] | <Guest7123> | vinny where are u! |
| [08:15:55] | * Guest7123 has quit (Client Quit) |
| [08:17:00] | * Vertice has joined #aegir |
| [08:18:05] | <mig5> | wow! |
| [08:18:40] | <Vertice> | ? |
| [08:23:56] | <mig5> | just excited irc morons talking gibberish |
| [08:32:27] | * Egyptian[Laptop] has quit (Ping timeout: 244 seconds) |
| [08:34:36] | * e-anima has quit (Quit: www.hoerbuchcharts.com) |
| [08:51:57] | * deciphered has joined #aegir |
| [09:13:48] | * welly has joined #aegir |
| [09:14:11] | * ezra-g has joined #aegir |
| [09:20:01] | * ezra-g has quit (Quit: COD: The Conference Organizing Distribution. http://usecod.com) |
| [09:20:33] | * jerryitt has joined #aegir |
| [09:21:39] | * Aurorus has joined #aegir |
| [09:29:25] | * Egyptian[Laptop] has joined #aegir |
| [09:41:09] | * stevetweeddale has quit (*.net *.split) |
| [09:41:10] | * mvc has quit (*.net *.split) |
| [09:41:11] | * darthsteven has quit (*.net *.split) |
| [09:41:13] | * skwashd has quit (*.net *.split) |
| [09:41:15] | * CIA-39 has quit (*.net *.split) |
| [09:41:16] | * CraHan has quit (*.net *.split) |
| [09:41:16] | * aegir-jenkins has quit (*.net *.split) |
| [09:41:17] | * spyd has quit (*.net *.split) |
| [09:41:17] | * ergonlogic has quit (*.net *.split) |
| [09:41:18] | * FransK has quit (*.net *.split) |
| [09:41:52] | * FransK has joined #aegir |
| [09:41:52] | * spyd has joined #aegir |
| [09:41:54] | * skwashd has joined #aegir |
| [09:41:56] | * skwashd has quit (Changing host) |
| [09:41:56] | * skwashd has joined #aegir |
| [09:41:58] | * stevetweeddale has joined #aegir |
| [09:41:58] | * ergonlog1c has joined #aegir |
| [09:41:59] | * ergonlog1c is now known as ergonlogic |
| [09:42:02] | * mvc has joined #aegir |
| [09:42:03] | * aegir-jenkins has joined #aegir |
| [09:42:24] | * darthsteven has joined #aegir |
| [09:42:52] | * CIA-37 has joined #aegir |
| [09:44:03] | * CraHan has joined #aegir |
| [09:48:43] | * arianek has joined #aegir |
| [09:50:33] | * arianek has quit (Client Quit) |
| [09:52:31] | * obrienmd has quit (Quit: Leaving.) |
| [09:54:11] | * Artusamak_afk is now known as Artusamak |
| [10:03:35] | * obrienmd has joined #aegir |
| [10:07:23] | * Egyptian[Laptop] has quit (Ping timeout: 252 seconds) |
| [10:08:13] | * Tigeda has quit (Quit: Tigeda) |
| [10:14:37] | * Egyptian[Laptop] has joined #aegir |
| [10:17:47] | * berniecram has joined #aegir |
| [10:21:28] | * ezra-g has joined #aegir |
| [10:21:39] | * recidive has quit (Quit: zzz) |
| [10:32:18] | * Artusamak is now known as Artusamak_afk |
| [10:43:49] | * jerryitt has left #aegir () |
| [10:46:47] | * Egyptian[Laptop] has quit (Ping timeout: 244 seconds) |
| [10:48:44] | * gusaus has joined #aegir |
| [10:51:50] | * jasonmce has joined #aegir |
| [10:54:42] | * ivanjaros has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) |
| [10:57:08] | * Vertice has quit (Quit: Vertice) |
| [10:58:09] | * berniecram has quit (Ping timeout: 244 seconds) |