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


Chronological Thread 
  • From: S Ahmed < >
  • To:
  • Subject: [chef] Re: Re: setting command line aliases for recipes
  • Date: Thu, 15 Nov 2012 22:28:15 -0500

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.

§