Hi,

now I have change it a little, but it still does not work.

class check_mk::agent::serverlist {
  @@server_list { "$::hostname":
    filename => '/tmp/checkmkhosts',
  }

  define server_list ( $filename ) {
    ensure_resource ( 'file', $filename, {} )
  }

}

class check_mk::server::serverlist {
  Server_list <<| |>>
}

Error 400 on SERVER: Resource type server_list doesn't exist

Andreas

-- 
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/76d56d21-bcf4-4610-9851-cab3b27cbf83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to