Hello Mike, Here the baseos file[/etc/hosts] resource get propagated to all the nodes because of inheritance. You again changing the same file in "newnode.example.com" again. Puppet does not allow to edit the same file twice (same resource again) in single run.
Work around to that, Create a new folders for each node in baseos module as per node name and put node specific "/etc/hosts" file in that folder. e.g baseos node1.example.com - hosts node2.example.com - hosts node3.example.com - hosts newnode.example.com - hosts All nodes inherit basenode, Inside the class "baseos" i've declared the > archive host table and various other parameters > > [.............] > > file { "/etc/hosts": > ensure => present, > owner => root, > group => root, > mode => '664', > # source => "puppet:///modules/baseos/hosts", > source => "puppet:///modules/baseos/$hostname/hosts", Add $hostname facter as above in source parameter. This will add dynamic nature to source. Source attribute resolve to - puppet:///modules/baseos/node1.example.com/hosts - puppet:///modules/baseos/node2.example.com/hosts - puppet:///modules/baseos/node3.example.com/hosts - puppet:///modules/baseos/newnode.example.com/hosts depending upon the node(host) name. Hope this will solve your problem. Thanks and Regards, Rahul Khengare NTT DATA OSS Center, Pune, India. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.