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.
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
You can also step through the code using Pry,
Please log tickets and issues in the Learning Custom Types project on GitHub.
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.