Hi, Thanks for getting back to me. The files in the 'templates' directory were owned by 'root:root'. Thinking that may be the problem, I chowned that directory to 'puppet:puppet'.
[root@puppet:/etc/puppet] #ls -l modules/proftpd/templates/ total 12 -rw-r--r-- 1 puppet puppet 7258 Feb 11 10:08 proftpd.conf.erb -rw-r--r-- 1 puppet puppet 50 Feb 9 09:04 root_my_cnf.erb But I am still getting the same error: root@ops:~] #puppet agent --test Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb Info: Caching catalog for ops.jokefire.com Error: Failed to apply catalog: Could not find dependent Sevice[proftpd] for File[/etc/proftpd.conf] at /etc/puppet/modules/proftpd/manifests/config.pp:9 Thanks, Tim On Tue, Feb 11, 2014 at 10:49 AM, Jerald Sheets <que...@gmail.com> wrote: > Permission on the files? > > > On Feb 11, 2014, at 10:46 AM, Tim Dunphy <bluethu...@gmail.com> wrote: > > Hey puppet, > > I thought I had all my ducks in a row with this puppet module I had > written for proftpd. I'm attempting to get the proftpd config to notify the > proftpd service, but without much luck. > > [root@ops:~] #puppet agent --test > Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb > Info: Caching catalog for ops.mydomain.com > Error: Failed to apply catalog: Could not find dependent Sevice[proftpd] > for File[/etc/proftpd.conf] at > /etc/puppet/modules/proftpd/manifests/config.pp:9 > > Here's my class definitions: > > class proftpd { > include proftpd::service, proftpd::install, proftpd::config > > } > > class proftpd::config { > > file { "/etc/proftpd.conf": > owner => "root", > group => "root", > mode => 0640, > content => template("proftpd/proftpd.conf.erb"), > notify => Sevice["proftpd"], > } > > } > > class proftpd::service { > > service { "proftpd": > ensure => running, > } > > } > > And just for completeness: > > class proftpd::install { > > > package { [ "proftpd", "proftpd-mysql" ]: > ensure => present, > } > > } > > Again, it seems pretty straightforward to me! Can someone please let me > know what I may be missing? > > > Thanks > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAOZy0ekfLnU8pyGE5kSUXDQhZ_HPwFCaGqvt0YQyaSjioaEGbQ%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAOZy0emxK4wzhVJ6BE10uveviXV3%3DUTYWy_q-_pE1p2ymTgF3w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.