On Dec 8, 2008, at 12:52 AM, Jeffrey Hulten wrote: > Rodney, > > Do you have any examples of how you are using RALSH that you can > share?
I can give a few examples of how I use it, but I can't promise this mode will fit all that way for others. I mostly use ralsh for investigation or ad-hoc administration. For investigation, you can use ralsh to inspect any resource or list of resources it can manage. For instance, inspect my user: $ sudo ralsh user luke Or get a list of all users: $ sudo ralsh user The same works for packages, or any other resource type Puppet can manage. It works great for ad-hoc administration, especially on platforms like OS X that don't have tolerable CLI tools for some kinds of administration: $ sudo ralsh user luke ensure=present This creates a user, using the default provider. You can add or modify any fields you want: $ sudo ralsh user luke ensure=present shell=/usr/bin/bash And, of course, it's just as idempotent as normal Puppet, so you can change the params and run it again if you want. Given the ability of ralsh to produce Puppet code, you can easily query state with ralsh and then copy the results into your manifests; or even scp or pipe the results to another host and execute it directly. And ralsh has a --host option that allows you to connect to remote hosts, if those remote hosts have enabled their 'resource' API. That's basically it -- ralsh is pretty simple, but it can be a great way to avoid learning your local operating system or to get around the lack of tools. I now don't have to remember whether it's rpm --erase or rpm --remove, even for ad-hoc administration. -- Always behave like a duck - keep calm and unruffled on the surface but paddle like the devil underneath. -- Jacob Braude --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---