Ask Your Question

has no parameter named

asked 2016-01-17 15:16:25 -0600

czerwe gravatar image


i have an Rasperry Pi System managed by puppet. Currently i running puppet 4.3.1. Everything went fine but out of the sudden (maybe after an update of puppet) i have the issue that puppet "thinks" that some parameters are not available within an class. But the parameters are available and worked just a before some days ago.

This is the output i get

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Docker::Run[ccucollector]:
  has no parameter named 'env_file'
  has no parameter named 'hostname'
  has no parameter named 'username'
  has no parameter named 'docker_service' at /etc/puppetlabs/puppet/environments/production/modules/toesite/manifests/ccucollector.pp:17 on node homesrv.local
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

And i use the original Module

Following is the class definition which can also be viewed at

define docker::run(
  $command = undef,
  $memory_limit = '0b',
  $cpuset = [],
  $ports = [],
  $labels = [],
  $expose = [],
  $volumes = [],
  $links = [],
  $use_name = false,
  $running = true,
  $volumes_from = [],
  $net = 'bridge',
  $username = false,
  $hostname = false,
  $env = [],
  $env_file = [],
  $dns = [],
  $dns_search = [],
  $lxc_conf = [],
  $service_prefix = 'docker-',
  $restart_service = true,
  $manage_service = true,
  $docker_service = false,
  $disable_network = false,
  $privileged = false,
  $detach = undef,
  $extra_parameters = undef,
  $extra_systemd_parameters = {},
  $pull_on_start = false,
  $depends = [],
  $tty = false,
  $socket_connect = [],
  $hostentries = [],
  $restart = undef,
  $before_stop = false,
) {

Is there an change in puppet 4.3 that might cause an behavior change?


edit retag flag offensive close merge delete


Which version of the docker module? The current release is 5.0.0 IIRC. Also check out logged problems here:

Henrik Lindberg gravatar imageHenrik Lindberg ( 2016-02-07 19:03:27 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-08 02:58:34 -0600

czerwe gravatar image


short update, i had to fall back to version 4.2.3 which is working fully normal.


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-01-17 15:16:25 -0600

Seen: 1,717 times

Last updated: Feb 08 '16