Strange Messages from Puppetmaster

31 views
Skip to first unread message

Sandro von Matterhorn

unread,
Apr 11, 2014, 11:30:17 AM4/11/14
to puppet...@googlegroups.com
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

José Luis Ledesma

unread,
Apr 11, 2014, 11:56:03 AM4/11/14
to puppet...@googlegroups.com

For example this

source => "puppet:///ntp/ntpd.conf",

Should be

source => "puppet:///modules/ntp/ntpd.conf",

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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7f53977f-0df8-4fb7-b6d6-0bfbc176490a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sandro von Matterhorn

unread,
Apr 11, 2014, 12:25:19 PM4/11/14
to puppet...@googlegroups.com


Am Freitag, 11. April 2014 17:56:03 UTC+2 schrieb Jose Luis Ledesma:

For example this

source => "puppet:///ntp/ntpd.conf",

Should be

source => "puppet:///modules/ntp/ntpd.conf",

Regards,




Thank you very much. It worked and it was sooo simple ;-)
Have a nice weekend!
Reply all
Reply to author
Forward
0 new messages