----- Original Message ----- > Hi all, > > I've downloaded and installed puppet-concat module and was trying to > use it. > > After reading doc, I've set concatdir to /tmp only for test purpose, > but I'm wondering what is a good value for concatdir. > Maybe /var/lib/puppet/concat? I guess I have to create it, am I > right? > > So, following the example at github, I've created some code like: > > class common::sudo { > include concat::setup > concat::fragment{'test_2' : > target => '/etc/sudoers' , > content => "test"; > } > } > > And then: > > node 'Node' { > class { > 'common::sudo' : ; > } > }
you're missing the concat{"/etc/sudoers": } # set up a file for being managed by snippets concat{"somefile": } # add a snippet to it: concat::fragment{"foo":.....} needs both -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.