Language: Classes - puppet.com rspec-puppet - GitHub - deanwilson/puppet-lint_duplicate_class_parameters-check: A puppet-lint extension that ensures class parameter names are unique. A Platform type is a Parameterized Type taking two parameters; the name of the type (currently only Ruby), and a reference to the type name in the platforms type system encoded as a Puppet String. How To Use Foreman To Manage Puppet Nodes on Ubuntu 14.04 Show activity on this post. init.pp (main class) params.pp (defines the default parameters of the class) install.pp (install the software) config.pp (configures the software) service.pp (ensures the service is started) From the first link here is a pretty good diagram of the way all the files interact with each other: Puppet Class Ordering Class: Puppet::Parameter — Documentation for puppet (7.15.0) Following is an example of Puppet class. puppetlabs-git. Sometimes the options required by a particular module are a bit more complex; usually because the module has defined a particular resource type. Display Order Of Parameters - puppet-lint Acceptable input examples: /var/log Parameterized Types in Attributes and Methods: Attributes and methods can use the parameterized type as if it were an actual type. to contain_apache__vhost ('www.mysite.com'). SystemVerilog Parameterized Classes - Verification Guide As an example, if there is a puppet extension written in Ruby with the name Puppetx::MyModule::MyClass , the platform type is Runtime['Ruby . none. Test resource parameters. The class parameter is a mechanism to alter the default behavior of a Puppet class. {fs_type} options (Parameter) - Params for the mkfs command. Choices: string. Puppet types are used for individual configuration management. . How to test custom types using Rspec-puppet? - Stack Overflow Passing parameters to classes | Puppet Cookbook - Third Edition Classes - Puppet Puppet - Coding Style - Tutorialspoint Puppet Beginner's Guide — Bitfield Consulting Puppet is a system management tool for centralizing and automating the configuration management process. I have a parameterized class defined this way: . On the Puppet master, create the directory structure for a module named lamp: cd /etc/puppet/modules sudo mkdir -p lamp /manifests. The Parameter class is also the base class for Property, and is used to describe meta-parameters (parameters that apply to all resource types). Resource Parameter − In the above code snippet, it is Vipin. One of the key features of metaparameter is, it works with any type of resource in Puppet.