search for: plussign

Displaying 4 results from an estimated 4 matches for "plussign".

Did you mean: plus_sign
2012 Jul 05
7
proper usage of global variables / node variables / +=
Hello puppet masters, I am cleaning up some puppet modules, using puppet-lint. The warning I am getting is: top-scope variable being used without an explicit namespace I can turn this particular check off, but in doing my research I''m finding all sorts of messages saying to avoid using +=, to avoid using variables in the node scope, and to switch to a parameterized class whenever
2009 Aug 07
2
calling a jQuery function from RJS/onclick
...$) { $(''div.jNice'').jNice(); }); ..... </script> On page load, this gets called correctly. Now there''s a link on the page that lets me add more rows and i do this via RJS. Here''s the code. <tr id="empty_item"> <div id="plussign"><%= add_item_link "+" %></div> </tr> def add_item_link(name) link_to_function name do |page| page.insert_html :before, :empty_item, :partial=>''item'', :object => Item.new end end Now this partial ''item'' conta...
2012 Jul 24
3
Adding resource parameters in inheritence
Hello, On some machines being managed by Puppet I would like to perform targetted audit runs with "puppet -t --noop --tags audit" For better or for worse I am trying to do this with a separate module "audit" rather than add the audit => to the resources and use inheritence. i.e. class audit::resolver inherits resolver::config { notify{"Running audit on
2010 May 20
10
Question about templates from variables
I''m running into an issue trying to do something like the following: class test { file {"test": content => template(''mytemplate1'',''mytemplate2''), } } class test::test2 inherits test { File["test"] { content +> template(''mytemplate3''), } } So, basically I want the inherited class to tack on another