Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

has no parameter named

$
0
0
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/docker Following is the class definition which can also be viewed at https://github.com/garethr/garethr-docker/blob/master/manifests/run.pp:
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

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>