search for: parameterized_class

Displaying 3 results from an estimated 3 matches for "parameterized_class".

Did you mean: parameterized_classes
2011 Nov 22
2
declare and include classes
Hi all, after moving to parametrized classes, I''ve started to declare them instead of including. Now, I''m trying to understand the differences (internal) between declare and include, and, reading http://docs.puppetlabs.com/guides/parameterized_classes.html again, I found some sentence which confuses me: "Since include wasn’t designed for use with parameterized classes" I know you can''t include a resource, so a class eith parameters must be declared. But, If I don''t use params, I can include the class... so, what...
2013 Mar 15
3
advice on module organization
...that''s descriptive enough. Feel free to ask questions. Ultimately, my major goal is to boil the configuration down to a single location, as the configurations (systemTypes). Some like this would work (I think) if calling the class could be dynamic: http://docs.puppetlabs.com/guides/parameterized_classes.html#appendix-smart-parameter-defaults Thanks in advance for the feedback, Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscri...
2011 Dec 06
8
explicit class dependencies
Do explicit class dependencies work? This simple example fails with: Could not find resource ''Class[Config]'' for relationship on ''Class[Uses_config]'' class config { } class uses_config { Class[''config''] -> Class[''uses_config''] } include uses_config Am I doing something? Thanks, Christian -- You received this