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' : ;
        }
}

But I get the error:

err: Failed to apply catalog: Could not find dependent
Exec[concat_/etc/sudoers] for
File[/tmp/_etc_sudoers/fragments/10_test_2]
at /etc/puppet/modules/concat/manifests/fragment.pp:48


What am I doing wrong? Anyone has seen this error before?

TIA,
Arnau

-- 
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.

Reply via email to