search for: lang_classes

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

Did you mean: clangclasses
2013 Jan 30
1
Hiera parameter lookup, nesting variables and Puppet 3
...lt;%= @log_indexer_conf[''elasticsearch_cluster_name''] %> The associated log_indexer.yaml for Hiera is: log_indexer_conf: elasticsearch_cluster_name: ''van-test-elasticsearch-cluster'' The Puppet 3 Class(http://docs.puppetlabs.com/puppet/3/reference/lang_classes.html#assigning-classes-from-an-enc) docs say, "Be sure to use 3.0-compatible lookup keys (<class name>::<parameter>). This will let 2.x users declare the class with include, and their Hiera data will continue to work without changes once they upgrade to Puppet 3." This su...
2012 Nov 20
2
hiera values issue
Hi, I have a puppetmaster - agent architecture. I have a module for the vsftpd configuracion in the agents. The configuration of the value ''max_per_ip'' in the agents may vary. This is a line of the manifest: $max_per_ip = hiera(''max_per_ip'',10) I want to specify different values for each agent using hiera. The problem is I am only able to specify the
2012 Oct 22
4
How do design next-gen modules, any guidelines ? a question for gurus...
Hi, My dilemma is how should I write my module to be "next-gen" ? Not from a code point of view but from a design/layout point of view. We wrote our modules for 2.6.x like every beginner would have done: write everything in init.pp. But now, the fashion is to use parameterized classes and Hiera which we will use with puppet 2.7.x. I mainly followed/watched what Example42 was doing.