learning_custom_types
A Module for Assisting in Learning Custom Types and Providers
Version information
released May 14th 2015
Start using this module
Add this module to your Puppetfile:
mod 'onyxpoint-learning_custom_types', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
onyxpoint/learning_custom_types — version 1.0.1 May 14th 2015
Learning Custom Types
This module attempts to clearly delineate the execution of a custom type and provider and demonstrate what you can do with each.
It is meant as a learning and teaching aid and should not be used in production but may be a good place to start when developing a new custom type.
Usage
This module can be installed on a running master to get an idea of what part execute on the master and the client. Or you can run it using puppet apply with the following method.
# Make sure you're using Puppet 3 or higher!
git clone https://github.com/onyxpoint/onyxpoint-learning_custom_types.git
mv onyxpoint-learning_custom_types learning_custom_types
cd learning_custom_types
# Optional
# bundle
rake Run_Walkthrough
Pry
You can also step through the code using Pry,
rake Run_Walkthrough[yes]
Support
Please log tickets and issues in the Learning Custom Types project on GitHub.
Copyright
All code Copyright (C) 2015 Onyx Point, Inc.
Copyright 2015 - Onyx Point, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.