It includes a mini-tutoral and can feed off of yaml files in /etc/sputnik/*yml, but there is much more flexibility.
It basically creates metapackages on the fly based on the profiles. These packages are made available via a local repo (at some point we may make it very easy to push to a ppa). Installing or removing multiple profiles installs and autoremoves any dependencies.
Currently the tool only builds the profiles and makes them available to apt for installation and removal. We could integrate it fully into the tool, but I'd like some more feedback first.
Please fork and make pull requests or respond to this thread.
If you just want to add more example profiles, please fork and put them in files/default/example_profiles and issue a pull request.
Thanks for the tools. I've gotten a simple profile set up along with the android recipe, on a plain Ubuntu install set up with chef and the two Sputnik repositories. I did run into a couple of issues in the process:
The provided solo.rb fails to run for me, claiming 'realdirpath' is undefined, so I made myself a custom solo.rb with hard-coded file_cache_path and cookbook_path. I tried installing ruby 1.9.3 and setting it as the default, but still no realdirpath found.
Attempting to use the provided profiles failed for me due to an unmet dependency for the emacs profile. Making a custom profile for myself without emacs (just eclipse and ipython) worked for me.
I've got eclipse set up with an Android project checked out of git and compiled. I gave the directory created by the profile in /usr/local/android-sdk-linux user ownership and set it as the Android SDK Manager directory in ecliplse, and installed ia32-libs. I had to modify the compiler compliance level for my eclipse project to 1.6 to get my project to compile. If eclipse configurations could be included in a profile, I think that would be handy.
I've put a fix into the solo.rb I posted, to set the file cache path to the checkout directory. Running the knife command isn't actually necessary. Running chef-solo now I think should work for you.
[Mon, 10 Sep 2012 23:44:52 -0700] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook sputnik not found. If you're loading sputnik from another cookbook, make sure you configure the dependency in your metadata
Either way, the system doesn't know how to find some core sputnik cookbook.
kkillebrew
8 Posts
497
0
Posted September 7th, 2012 14:00
Thanks for the tools. I've gotten a simple profile set up along with the android recipe, on a plain Ubuntu install set up with chef and the two Sputnik repositories. I did run into a couple of issues in the process:
The provided solo.rb fails to run for me, claiming 'realdirpath' is undefined, so I made myself a custom solo.rb with hard-coded file_cache_path and cookbook_path. I tried installing ruby 1.9.3 and setting it as the default, but still no realdirpath found.
Attempting to use the provided profiles failed for me due to an unmet dependency for the emacs profile. Making a custom profile for myself without emacs (just eclipse and ipython) worked for me.
I've got eclipse set up with an Android project checked out of git and compiled. I gave the directory created by the profile in /usr/local/android-sdk-linux user ownership and set it as the Android SDK Manager directory in ecliplse, and installed ia32-libs. I had to modify the compiler compliance level for my eclipse project to 1.6 to get my project to compile. If eclipse configurations could be included in a profile, I think that would be handy.