GithubHelp home page GithubHelp logo

salticid's Issues

Missing gem dependency

I am getting following issue on Amazon EC2 Linux instance

[ec2-user@bastion-nv ~]$ salticid -l example.rb -h mongo1 hello
/usr/local/share/ruby/gems/2.2/gems/net-ssh-5.2.0/lib/net/ssh/authentication/ed25519_loader.rb:21:in `raiseUnlessLoaded': OpenSSH keys only supported if ED25519 is available (NotImplementedError)
net-ssh requires the following gems for ed25519 support:
 * ed25519 (>= 1.2, < 2.0)
 * bcrypt_pbkdf (>= 1.0, < 2.0)
See https://github.com/net-ssh/net-ssh/issues/565 for more information
Gem::LoadError : "Could not find 'ed25519' (~> 1.2) among 14 total gem(s)
Checked in 'GEM_PATH=/home/ec2-user/.gem/ruby/2.2:/usr/share/ruby/gems/2.2:/usr/local/share/ruby/gems/2.2', execute `gem env` for more information"
	from /usr/local/share/ruby/gems/2.2/gems/net-ssh-5.2.0/lib/net/ssh/key_factory.rb:202:in `classify_key'
	from /usr/local/share/ruby/gems/2.2/gems/net-ssh-5.2.0/lib/net/ssh/key_factory.rb:53:in `load_data_private_key'
	from /usr/local/share/ruby/gems/2.2/gems/net-ssh-5.2.0/lib/net/ssh/key_factory.rb:44:in `load_private_key'

Fail to run the first demo?

This is the first demo example.rb

host '127.0.0.1' do
  user 'localhost'
    task :hello do
      exec! 'ls -la /', echo: true
  end
end

I type salticid -l example.rb -h localhost hello in the command line, but get this

1

BTW, this is my /etc/hosts

127.0.0.1	localhost
127.0.1.1	UncP

Need ncurses to run salticid

I ran into this today on a RHEL6 box:

[selena@]$ salticid -s salticid
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- ncurses (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /usr/lib/ruby/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid/interface.rb:3
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /usr/lib/ruby/gems/1.8/gems/salticid-0.9.5/bin/salticid:6
from /usr/bin/salticid:19:in `load'
from /usr/bin/salticid:19

I needed the following packages:

  • ncurses-devel
  • ruby-devel
  • "Developer Tools"

And, I needed to install the ncurses gem.

Is this a doc change, or is adding ncurses to the pre-reqs something you want to do? Or something else?

How do I specify a port with the host command?

Hi, first of all, your blog posts are both funny and amazingly informative. They led me to try salticid and jepsen.

I want to run salticid+jepsen with hosts n1 through n5 running in linux containers, but that would require not using port 22 for these hosts, I would think...? If so, I would need to specify ports along with the hosts in the salticid configuration.

Is there a way to do this? Thanks!

Getting syntax errror while trying to run examples

Hello,

I am getting an error while trying to run sample examples:

example.rb:8:in load': compile error (SyntaxError) example.rb:6: syntax error, unexpected ':', expecting kEND exec! 'ls -la /', echo: true ^ from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid.rb:111:ineach'
from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid.rb:111:in load' from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid.rb:109:ineach'
from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/../lib/salticid.rb:109:in load' from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/salticid:24 from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/salticid:23:ineach'
from /var/lib/gems/1.8/gems/salticid-0.9.5/bin/salticid:23
from /usr/local/bin/salticid:19:in `load'
from /usr/local/bin/salticid:19

I am using Debian 6.0.

README not arachnophobia-compatible

Hey, this is kind of a meta-issue: With the README prominently displaying a picture of a spider, it might trigger panic attacks on readers with arachnophobia.

You might want to go with a clearly labeled link to an image or a wikipedia article instead.

After all, you'd probably like people to make use of that piece of software you built :)

Missing ncurses - cannot load such file

Hi - first off, thanks for the work on this.

I think there is a dependency missing since I don't see an attempt to install the ncurses gem.

I'm running an Ubuntu 13.04 EC2 AMI and I've apt-get installed ruby 1.9.1 along with rubygems. I did a gem install salticid and when I attempt to run the salticid executable I get this load error message:

# salticid -h 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- ncurses (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/salticid-0.9.5/lib/salticid/interface.rb:3:in `<class:Interface>'
    from /var/lib/gems/1.9.1/gems/salticid-0.9.5/lib/salticid/interface.rb:2:in `<class:Salticid>'
    from /var/lib/gems/1.9.1/gems/salticid-0.9.5/lib/salticid/interface.rb:1:in `<top (required)>'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/salticid-0.9.5/bin/salticid:6:in `<top (required)>'
    from /usr/local/bin/salticid:23:in `load'
    from /usr/local/bin/salticid:23:in `<main>'

I'm sure this might be user-error on my part. I don't know if only Ruby 2+ is supported. But I don't see a wiki and there is no mention in the README (also, I don't see a {{.ruby-version}} file in the repo either).

I see a commit that suggests that the ncurses is a requirement again:

d1b8262

Unfortunately, I can't get the ncurses gem to build right now. I'm working on that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.