Ok, I have gotten Puppet up and running. I am about to start testing out some more of the functions but there does not appear to be any place that describes all the options to a function. For example File: I have seen examples with file { /etc/passwd: mode->777, ensure->file, owner->nobody, group->nobody, source->puppet://xyz.com/linux-distro, target->"/dev/null"}but I can not find any documentation on what are all the possible setting for like ensure. Now I am only using file as an example, as I am starting to look at the commonly used modules "Common, and virtual" and I don''t seem to find any docs that would help me get started like Apache Virtual Host: Function: apache Arguments url: [describe argument for url and possible settings] port: Allow: ... ... ... Is there anything like this or do I have to pick though the code of ever options I want to use. Thanks Ed --~--~---------~--~----~------------~-------~--~----~ 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 puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
First of all, File and it''s ilk are not "functions", they are "types" or even better "resource types". Second, the reference you are looking for is: http://reductivelabs.com/trac/puppet/wiki/TypeReference Hope that helps! --Paul On Thu, Oct 2, 2008 at 8:38 AM, Edward <edwardperry1@gmail.com> wrote:> > Ok, I have gotten Puppet up and running. I am about to start testing > out some more of the functions but there does not appear to be any > place that describes all the options to a function. > > For example File: I have seen examples with > file { /etc/passwd: mode->777, ensure->file, owner->nobody, group- >>nobody, source->puppet://xyz.com/linux-distro, target->"/dev/null"} > > but I can not find any documentation on what are all the possible > setting for like ensure. > > Now I am only using file as an example, as I am starting to look at > the commonly used modules "Common, and virtual" and I don''t seem to > find any docs that would help me get started like > > Apache Virtual Host: > Function: apache > Arguments > url: [describe argument for url and possible settings] > port: > Allow: > ... > ... > ... > > > Is there anything like this or do I have to pick though the code of > ever options I want to use. > > Thanks > > Ed > > > >--~--~---------~--~----~------------~-------~--~----~ 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 puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Heh, well I guess that is why I could find it. :) Thanks that is a great start! On Oct 2, 1:22 pm, "Paul Lathrop" <p...@tertiusfamily.net> wrote:> First of all, File and it''s ilk are not "functions", they are "types" > or even better "resource types". Second, the reference you are looking > for is: > > http://reductivelabs.com/trac/puppet/wiki/TypeReference > > Hope that helps! > > --Paul > > On Thu, Oct 2, 2008 at 8:38 AM, Edward <edwardper...@gmail.com> wrote: > > > Ok, I have gotten Puppet up and running. I am about to start testing > > out some more of the functions but there does not appear to be any > > place that describes all the options to a function. > > > For example File: I have seen examples with > > file { /etc/passwd: mode->777, ensure->file, owner->nobody, group- > >>nobody, source->puppet://xyz.com/linux-distro, target->"/dev/null"} > > > but I can not find any documentation on what are all the possible > > setting for like ensure. > > > Now I am only using file as an example, as I am starting to look at > > the commonly used modules "Common, and virtual" and I don''t seem to > > find any docs that would help me get started like > > > Apache Virtual Host: > > Function: apache > > Arguments > > url: [describe argument for url and possible settings] > > port: > > Allow: > > ... > > ... > > ... > > > Is there anything like this or do I have to pick though the code of > > ever options I want to use. > > > Thanks > > > Ed--~--~---------~--~----~------------~-------~--~----~ 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 puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Edward wrote:> Heh, well I guess that is why I could find it. :) >http://reductivelabs.com/trac/puppet/wiki/DocumentationStart Plus there is: http://reductivelabs.com/trac/puppet/wiki/GettingStarted http://reductivelabs.com/trac/puppet/wiki/GettingHelp Regards James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI5UBF9hTGvAxC30ARApLmAJsE9rReK+2PBpPRRywMMtbwZIBuGACggpC0 ZF2/fNQNJoKanheXoeggCpk=30Rb -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---