Displaying 2 results from an estimated 2 matches for "walterh".
Did you mean:
walter
2012 Feb 08
11
define hostclass with special characters
Hi,
I need to define the hostclass with special character for ex:
"swift::proxy-ring"
I have tried following ways but not worked:
1) hostclass :swift::proxy-ring do
2) hostclass ''swift::proxy-ring'' do
3) hostclass "swift::proxy-ring" do
When I am using the 2 and 3 options it is giving following erroe:
undefined method `[]'' for Class:Class at
2011 Nov 16
11
What is the offical variable scope best practice?
I read the guide at
http://docs.puppetlabs.com/guides/scope_and_puppet.htmland others''
mail, i am a little confused now, below is my understanding:
1. top scope only refers to site.pp, not include node definitions and facts.
2. in puppet class, using variables not local, must specify the namespace,
like $class::variable,
if it''s a top scope variable or a fact variable or a