Ask Your Question
0

has no parameter named

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

czerwe gravatar image

Hello,

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 https://forge.puppetlabs.com/garethr/...

Following is the class definition which can also be viewed at https://github.com/garethr/garethr-do...:

define docker::run(
  $image,
  $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?

Thanks

edit retag flag offensive close merge delete

Comments

Which version of the docker module? The current release is 5.0.0 IIRC. Also check out logged problems here: https://github.com/garethr/garethr-docker/issues

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

1 Answer

Sort by ยป oldest newest most voted
0

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

czerwe gravatar image

Hi,

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

br

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

Stats

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

Seen: 799 times

Last updated: Feb 08 '16