Comments (7)
What's your puppet/ruby version?
$ ruby -c lib/**/*.rb
Syntax OK
Maybe Ruby 1.8.7 is not be happy with the , at the end? (I'm downloading tools and compiling 1.8.7 on my system to check right now).
from puppet-archive.
Basic centos 6, so ruby 1.8.7 an puppet-3.5.1.
I usually avoid ruby 1.8.7, but I have an untouched centos AWS AMI that I use for agent rebuilding.
My teamcity build agents are built using that base centos AMI, then the shell scripts to install puppet, then a single puppet run via Packer.
Upgrading ruby would mean modifying ruby before the puppet run. However the purpose of the puppet run is to install everything my teamcity build agent requires, which includes RVM (and ruby 2.1.1).
from puppet-archive.
Yeah, I'm using Puppet Enterprise so I didn't catch this. Once I have Ruby 1.8.7, I'll dive into this. Looking forward to Puppet AIO packages since it will simplify these issues.
from puppet-archive.
So, yes it's the comma, despite the basic syntax check passing ok. If the latest PR resolve the problem, I'll release 0.2.1 tomorrow. Thanks.
Note: with travis.ci down most of the day, I'm going to defer this until they are back online.
from puppet-archive.
Confirmed resolved. You can close this once 0.2.1 makes it to the forge, that way I can remove the following commit when I get the closed email.
Before using master instead of forge 0.2.0:
[15:24:58][Step 2/2] [0;32m amazon-ebs: [1;31mError: Could not autoload puppet/provider/archive/default: /etc/puppet/modules/archive/lib/puppet/provider/archive/default.rb:108: syntax error, unexpected ')' [0m
[15:24:58][Step 2/2] [0;32m amazon-ebs: /etc/puppet/modules/archive/lib/puppet/provider/archive/default.rb:115: syntax error, unexpected $end, expecting kEND [0m [0m
[15:24:58][Step 2/2] [0;32m amazon-ebs: [1;31mError: Could not autoload puppet/type/archive: Could not autoload puppet/provider/archive/default: /etc/puppet/modules/archive/lib/puppet/provider/archive/default.rb:108: syntax error, unexpected ')' [0m
[15:24:58][Step 2/2] [0;32m amazon-ebs: /etc/puppet/modules/archive/lib/puppet/provider/archive/default.rb:115: syntax error, unexpected $end, expecting kEND [0m [0m
[15:24:58][Step 2/2] [0;32m amazon-ebs: [1;31mError: Could not autoload puppet/type/archive: Could not autoload puppet/provider/archive/default: /etc/puppet/modules/archive/lib/puppet/provider/archive/default.rb:108: syntax error, unexpected ')' [0m
[15:24:58][Step 2/2] [0;32m amazon-ebs: /etc/puppet/modules/archive/lib/puppet/provider/archive/default.rb:115: syntax error, unexpected $end, expecting kEND on node ip-10-203-10-89..com [0m [0m
[15:24:58][Step 2/2] [0;32m amazon-ebs: [1;31mError: Could not autoload puppet/type/archive: Could not autoload puppet/provider/archive/default: /etc/puppet/modules/archive/lib/puppet/provider/archive/default.rb:108: syntax error, unexpected ')' [0m
[15:24:58][Step 2/2] [0;32m amazon-ebs: /etc/puppet/modules/archive/lib/puppet/provider/archive/default.rb:115: syntax error, unexpected $end, expecting kEND on node ip-10-203-10-89..com [0m [0m
Using code in master:
--- a/puppet/Packer.json
+++ b/puppet/Packer.json
@@ -41,11 +41,11 @@
"type": "shell",
"inline": [
"sudo yum install -y https://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm >/dev/null 2>&1",
- "sudo yum install -y hiera-1.3.2 puppet-3.5.1",
+ "sudo yum install -y hiera-1.3.2 puppet-3.5.1 git",
"[[ -d /etc/puppet/modules/ntp ]] || sudo puppet module install puppetlabs-ntp",
"[[ -d /etc/puppet/modules/java ]] || sudo puppet module install puppetlabs-java",
"[[ -d /etc/puppet/modules/pip ]] || sudo puppet module install tracywebtech-pip",
- "[[ -d /etc/puppet/modules/archive ]] || sudo puppet module install nanliu-archive"
+ "[[ -d /etc/puppet/modules/archive ]] || (cd /etc/puppet/modules; git clone https://github.com/nanliu/puppet-archive.git archive; cd -) #testing https://github.com/nanliu/puppet-archive/issues/31"
]
},
Output/build was successful.
from puppet-archive.
0.2.1 released on forge. Let me know if you run into any other surprises. Thanks.
from puppet-archive.
Tested via forge, all looks good. Thanks!
from puppet-archive.
Related Issues (20)
- Do not add auth and cookie header when redirecting HOT 2
- Example in README doesn't make sense.
- uninitialized constant PuppetX::Bodeco::PUPPET HOT 4
- add support for Ubuntu 22.04
- Changing back and forth between different version of an archive does not re-extract HOT 1
- Enhancement: allow multiple sources
- curl provider: array of multiple headers does not work HOT 2
- Checksum not being verified HOT 1
- Files unpacked in `/tmp` HOT 2
- Missing gem with ruby 3.1 HOT 13
- Artifactory has no authentication for latest url and checksum
- Allow passwords to be deferred
- archive does not enforce `owner:group` HOT 2
- archive has stopped working for us HOT 4
- weird issue with the proxy settings if 'proxy_server' seems to be set not fully correct
- archive module reveals sensitive information
- Provider curl to wget
- archive extraction fails
- Add support for Azure Blob Storage HOT 1
- Feature request: Add support for username|password to be passed as Sensitive[String]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-archive.