[chef] Re: Re: Re: setting command line aliases for recipes


Chronological Thread 
  • From: Sachin Sagar Rai < >
  • To:
  • Subject: [chef] Re: Re: Re: setting command line aliases for recipes
  • Date: Sun, 18 Nov 2012 13:44:36 +0545

@S Ahmed,
did u try this magic_shell cookbook http://community.opscode.com/cookbooks/magic_shell

-------------------------------------------
@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.com
Sent with Sparrow

On Sunday, November 18, 2012 at 4:14 AM, S Ahmed wrote:

have you released this recipe by any chance?


On Thu, Nov 15, 2012 at 10:28 PM, S Ahmed < " target="_blank"> > wrote:
very very slick, thanks Daniel!


On Thu, Nov 15, 2012 at 9:14 PM, Daniel Condomitti < " target="_blank"> > wrote:
I use bashmarks[1] with a predefined bookmarks file and set action :create_if_missing in the recipe. This way I have the same things available on every box (all of my coworkers use the same base) and then you can add to them if necessary without your changes being blown away. I drop it in /etc/profile.d/ so it's available to all users but leave the bookmarks file in their home directories so we don't share custom bookmarks.

Some of our developers use autojump[2] but that requires navigating the file system for it to recognize directories.

On Thursday, November 15, 2012 at 6:10 PM, S Ahmed wrote:

I was just thinking, I always seem to have to lookup all the folders for my log files, config directories etc. for all my services, and when it has been a while then it gets even harder for me to remember.

How can I create aliases for all my service directories so that it is available when I ssh into the box (in a unobtrusive way).

I guess I just create a file with the aliases, then modify my .bash_profile by appending my aliases file to it...

suggestions?







Archive powered by MHonArc 2.6.16.

§