Is there a list somewhere? How do I know what $operatingsystem, for example, is going to be set to? Using ''solaris'' seems to work, but I haven''t tested ''ubuntu'' and ''redhat'' yet (haven''t gotten that far). It''d be nice to have a list of available vars, along with "how they are set." -Charlie
On Dec 12, 2006, at 5:23 PM, Charlie Schluting wrote:> Is there a list somewhere? > > How do I know what $operatingsystem, for example, is going to be set > to? Using ''solaris'' seems to work, but I haven''t tested ''ubuntu'' and > ''redhat'' yet (haven''t gotten that far). > > It''d be nice to have a list of available vars, along with "how they > are set."The variables are all handled by Facter[1]. You can get a list of all facts available by running ''facter'' by itself in a shell. I''ll add this to the faq. 1 - http://reductivelabs.com/projects/facter -- I can win an argument on any topic, against any opponent. People know this, and steer clear of me at parties. Often, as a sign of their great respect, they don''t even invite me. -- Dave Barry --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
> > > > It''d be nice to have a list of available vars, along with "how they > > are set." > > The variables are all handled by Facter[1]. You can get a list of > all facts available by running ''facter'' by itself in a shell. > > I''ll add this to the faq. >Sweet, thanks Luke. Next up: puppetrun doesn''t work: Well I found some svn comments that alluded to a --host option, and now it works. Is there an option to just say "run for all hosts which you have signed certs for?" Perhaps you don''t need to answer that, if you know how to fix the second problem :) puppetdoc doesn''t run: $ puppetdoc /usr/local/bin/puppetdoc:277: Invalid mode types (RuntimeError) $ ruby --version ruby 1.8.4 (2005-12-24) [sparc-solaris2.8] -Charlie
On Dec 12, 2006, at 9:23 PM, Charlie Schluting wrote:> Sweet, thanks Luke. > > Next up: > > puppetrun doesn''t work: > Well I found some svn comments that alluded to a --host option, and > now it works. Is there an option to just say "run for all hosts which > you have signed certs for?" Perhaps you don''t need to answer that, if > you know how to fix the second problem :)If your host information is in LDAP, puppetrun knows how to use that, but otherwise, no. I''ve been thinking about moving node configurations into an external tool, so that it was available to any tool that wanted it, but I have not done so yet.> puppetdoc doesn''t run: > $ puppetdoc > /usr/local/bin/puppetdoc:277: Invalid mode types (RuntimeError) > $ ruby --version > ruby 1.8.4 (2005-12-24) [sparc-solaris2.8]That should be fixed, but puppetdoc is actually an internal tool used to generate the online reference documentation. It shouldn''t even be distributed in packages, frankly. -- The ships hung in the sky in much the same way that bricks don''t. -- Douglas Adams --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com