Re: [Puppet Users] line replace triggers file reload

2011-06-01 Thread yzhk...@gmail.com
perhaps you should add a check :onlyif cannot find pattern(dns_search_path) in resolv.conf,then puppet actions. can you paste your full code . I didnot see the define or param class or (custom type?)line_replace? thank you~~~ >From China mainland[?] On Thu, Jun 2, 2011 at 1:01 PM, Giovanni Bo

Re: [Puppet Users] Fun with hashes and ERB

2011-05-16 Thread yzhk...@gmail.com
multipaths { <% devices.each do |key,value| -%> multipath { wwid<%= value %> alias <%= key %> } <% end -%> } On Tue, May 17, 2011 at 2:29 AM, Aaron Grewell wrote: > Hi all, > I'm trying to figure out the intersection of hashes and ERB. I don't know > Ruby,

Re: [Puppet Users] filesharing problem

2011-02-28 Thread yzhk...@gmail.com
hello。 you put file here: /etc/puppet/manifests/files/acadaca/hosts but your fileserver.conf config is [acadaca] path /etc/puppet/files/acadaca allow * would you like config [acadaca] path /etc/puppet/*manifests*/files/acadaca allow * Gook luck to you~[?] On Tue, Mar 1, 2011 at 4:27 AM, T

Re: [Puppet Users] learning, but puppet does not detect change

2011-02-26 Thread yzhk...@gmail.com
1、site.pp: import "nodes.pp" 2、ntp.ppshould be $module_path/manifests/init.pp 3、puppet agent --test --server=S -d -v Have a look at http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Best_Practice On Sun, Feb 27, 2011 at 8:01 AM, mark bradley wrote: > Hi, > > I've just installed