how do i get this code to work ? class ntp { case $operatingsystem { Debian: { exec { ''/usr/bin/apt-get update'': } package { "ntp": ensure => latest } file { "/etc/ntp.conf": source => "puppet:///ntp/ntp.conf.Deb", owner => root, group => ntp, mode => 640, require => Package["ntp"], } # end File } # end Debian SLES: { package { "xntp": ensure => latest } file { "/etc/ntp.conf": source => "puppet:///ntp/ntp.conf.SLES", owner => root, group => ntp, mode => 640, require => Package["xntp"], } # end File } # end SLES } # end CASE } log file error is May 25 13:12:31 gf1 puppetd[26425]: (//ntp/Package[xntp]) Failed to retrieve current state of resource: Could not get latest version: Execution of ''/usr/bin/rug list-updates'' returned 1: No updates are available. May 25 13:12:31 gf1 puppetd[26425]: (//ntp/File[/etc/ntp.conf]) Dependency package[xntp] has 1 failures May 25 13:12:31 gf1 puppetd[26425]: (//ntp/File[/etc/ntp.conf]) Skipping because of failed dependencies TIA -ALF -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.