Cedrik Mallet
2013-Oct-24 14:18 UTC
[Puppet Users] Error 400 on SERVER: Could not match - Why ?
hi, Could someone tell me what''s wrong in my statements? err: Could not retrieve catalog from remote server: Error 400 on SERVER:> Could not match ''elasticsearch::java'': at > /etc/puppet/environments/production/modules/elasticsearch/manifests/init.pp:35init.pp : class elasticsearch( $ensure = $elasticsearch::params::ensure, $heap_size = $elasticsearch::params::heap_size, $master = $elasticsearch::params::master, $http = $elasticsearch::params::http, $cluster_name = $elasticsearch::params::cluster_name, $node_name = $elasticsearch::params::node_name, $package = $elasticsearch::params::package, $status = $elasticsearch::params::status, $java_install = $elasticsearch::params::java_install, $java_path = $elasticsearch::params::java_path, $java_install_directory = ''UNSET'', $java_wget_url = ''UNSET'', $java_version = ''UNSET'' ) inherits elasticsearch::params{ if ! ($status in [ ''enabled'', ''disabled'', ''running'', ''unmanaged'']) { fail("status non reconnu") } # package(s) class { ''elasticsearch::package'': } # config class { ''elasticsearch::setup'': } # service(s) class { ''elasticsearch::service'': } # supervision class { ''elasticsearch::supervision'': } # java if $java_install == true { class { ''elasticsearch::java'': } Class[''elasticsearch::java''] -> Class[''elasticsearch::service''] } if $ensure == ''present'' { Class[''elasticsearch::package''] -> Class[''elasticsearch::setup''] Class[''elasticsearch::package''] -> Class[''elasticsearch::service''] Class[''elasticsearch::setup''] -> Class[''elasticsearch::service''] } else { Class[''elasticsearch::service''] -> Class[''elasticsearch::package''] } } java.pp : class elasticsearch::java { exec {''java_manual_install'': command => "wget ${elasticsearch::java_wget_url} | tar .....", unless => "java -version 2>&1 | grep ${elasticsearch::java_version}" } } I do not understand what is happening :''( -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Possibly Parallel Threads
- virt-v2v - Unable to authenticate to vCenter as DOMAIN\user
- Re: virt-v2v - Unable to authenticate to vCenter as DOMAIN\user
- Re: virt-v2v - Unable to authenticate to vCenter as DOMAIN\user
- 答复: Re: [patch 2/2]OCFS2: allow the ocfs2 heartbeat thread to prioritize I/O
- [PATCH] build: fix reading of the java version