-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consul - Error: Invalid parameter temp_dir(:temp_dir) #317
Comments
// , I'm getting the same error, in Puppet 4.8. There is no The closest thing I can find related to this is the The @rroque80, may we see the output of It looks like we're both including at least the variables in the class declaration in the node definition recommended by https://github.com/solarkennedy/puppet-consul/blob/master/README.md#usage My question, at this point, is whether it's an error related to Consul, this module, or to Puppet in general? |
// , (and how can I tell?) |
The error you're seeing is coming from the puppet/archive module (which this module uses). Looks like the temp_dir parameter was added to puppet/archive in v1.2.0 - what version of that module are you using? I can confirm that I'm not hitting this error, on CentOS 7, using puppet/archive v1.2.0. |
// , @mmickan, is this the module you refer to: |
// , I get the following in the output of
I'll try installing it and see if that fixes the problem. |
Output of uname -a:
The version of puppet/archive is v1.2.0. Thank you for pointing me towards the puppet/archive module. I was able to get past that temp_dir issue by having to define temp_dir in the /etc/puppetlabs/code/environments/production/modules/archive/manifests/go.pp file, putting "$temp_dir = /tmp/," in the "define archive::go" section and "temp_dir => $temp_dir," in the "archive { $file_path:" section. |
// , Is there any way around the The voxpupuli/puppet-archive@48df20b#diff-4ac32a78649ca5bdd8e0ba38b7006a1eR6 CEntOS 6 ONLY has Ruby 1.8.7: I ask, because it looks like the For example, could we use https://github.com/camptocamp/puppet-archive, which has not yet, apparently, dropped support for Ruby 1.8.7/CEntOS 6? |
You can avoid the puppet-archive dependency if you use It looks like the camptocamp version of archive takes different parameters than the voxpopuli version does (e.g. it takes |
// , Looks like we have pretty slim pickings for premade CEntOS 6 RPMs for either Consul or Vault: https://duckduckgo.com/?q=hashicorp+consul https://duckduckgo.com/?q=hashicorp+vault+rpm Given my recent experience within my current work environment, I entirely agree with @sethvargo that there are better things to work on than accommodating the BROKEN packaging systems of most Linux systems. As it is currently mandatory that most of our current internal packaging systems are manual (D:), I think I shall have to go with the |
// , By the way, this little incompatibility implicitly drops support for Puppet 3.6 on CEntOS 6 servers, which |
Sorry, we don't support ancient versions of ruby. I recommend upgrading past puppet 3 as it is EOL And newer versions of puppet come with their own ruby. |
// , Understood. I wouldn't support it if I was you, either. @EvanKrall, it looks like your suggestion worked, by the way. |
Hello,
I am getting the below error message when trying to install the consul module (KyleAnderson-consul (v2.1.0) on a node:
"Error: Invalid parameter temp_dir(:temp_dir)"
"Error: /Stage[main]/Consul::Install/Archive[/opt/consul/archives/consul-0.7.0.zip]/ensure: change from absent to present failed: Invalid parameter temp_dir(:temp_dir)".
Both master and node is running puppet 4.8.0 and on CentOS7. The site.pp file has:
node 'consul' {
class { 'consul':
config_hash => {
'bootstrap_expect' => 1,
'data_dir' => '/opt/consul',
# 'archive_path' => '/opt/consul/archives/',
'log_level' => 'INFO',
'node_name' => 'consul',
'server' => true,
}
}
}
Defining archive_path didn't help. Also, I could not find the temp_dir in the source. Is there anything else to check?
The text was updated successfully, but these errors were encountered: