For example this source => "puppet:///ntp/ntpd.conf",
Should be source => "puppet:///modules/ntp/ntpd.conf", Regards, El 11/04/2014 17:30, "Sandro von Matterhorn" <[email protected]> escribió: > Hi everyone, > > we're getting strange messages from our Puppetmaster, without knowing, what > they mean: > > > > puppetmaster : > 1: puppet-master: DEPRECATION NOTICE: Files found in modules without > specifying 'modules' in file path will be deprecated in the next major > release. Please fix module 'nagios' when no 0.24.x clients are present > 1: puppet-master: DEPRECATION NOTICE: Files found in modules without > specifying 'modules' in file path will be deprecated in the next major > release. Please fix module 'apt' when no 0.24.x clients are present > 1: puppet-master: DEPRECATION NOTICE: Files found in modules without > specifying 'modules' in file path will be deprecated in the next major > release. Please fix module 'shell' when no 0.24.x clients are present > 1: puppet-master: DEPRECATION NOTICE: Files found in modules without > specifying 'modules' in file path will be deprecated in the next major > release. Please fix module 'misc' when no 0.24.x clients are present > 1: puppet-master: DEPRECATION NOTICE: Files found in modules without > specifying 'modules' in file path will be deprecated in the next major > release. Please fix module 'ssh' when no 0.24.x clients are present > 1: puppet-master: DEPRECATION NOTICE: Files found in modules without > specifying 'modules' in file path will be deprecated in the next major > release. Please fix module 'exim' when no 0.24.x clients are present > 1: puppet-master: DEPRECATION NOTICE: Files found in modules without > specifying 'modules' in file path will be deprecated in the next major > release. Please fix module 'firewall' when no 0.24.x clients are present > 1: puppet-master: DEPRECATION NOTICE: Files found in modules without > specifying 'modules' in file path will be deprecated in the next major > release. Please fix module 'rsyslog' when no 0.24.x clients are present > 1: puppet-master: DEPRECATION NOTICE: Files found in modules without > specifying 'modules' in file path will be deprecated in the next major > release. Please fix module 'ntp' when no 0.24.x clients are present > > > > > *For example, this is our ntp class* > > class ntp{ > package { openntpd: ensure => latest } > > file { "/etc/openntpd/ntpd.conf": > owner => root, > group => root, > mode => 644, > source => "puppet:///ntp/ntpd.conf", > require => Package["openntpd"], > } > service { openntpd: > ensure => running, > hasrestart => true, > subscribe => File["/etc/openntpd/ntpd.conf"], > } > file { "/etc/cron.hourly/ntpdate": > ensure => absent, > } > } > > > *And this is our shell class* > > class shell{ > file { "/etc/profile.d/shelllog.sh": > owner => root, > group => root, > mode => 755, > source => "puppet:///shell/shelllog.sh", > } > file { "/etc/logrotate.d/shell": > owner => root, > group => root, > mode => 644, > source => "puppet:///shell/shell", > } > file { "/etc/rsyslog.d/shell.conf": > owner => root, > group => root, > mode => 644, > source => "puppet:///shell/shell.conf", > } > file { "/var/log/shell": > ensure => "directory", > path => "/var/log/shell", > owner => "root", > group => "root", > mode => 700, > } > > } > > > > > Any idea, what is going wrong? Because, the Puppetmaster is working fine. > > > Kind regards > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/7f53977f-0df8-4fb7-b6d6-0bfbc176490a%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/7f53977f-0df8-4fb7-b6d6-0bfbc176490a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAF_B3dekOW9qX6GPgejQUYsq822eco6Grny_JBJX_qkXtvPQcg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
