I'm installing Puppet as a gem in an RVM gemset, but when I do it that way 
the node deactivate doesn't seem to work.

# puppet node deactivte
Error: 'node' has no 'deactivte' action.  See `puppet help node`.

However, when using the packaged puppet, node deactivate is functional. Has 
anyone run into this before?
Obviously the solution is to just use the system package, but if there is a 
way to get the puppetdb terminus into the RVM version of Puppet I'd rather 
do that.

Environmental information and command outputs:
OS:
CentOS release 6.7 (Final)

Puppet version:
3.7.5

Ruby version (RVM):
ruby 2.0.0p643

RVM version:
rvm 1.26.11

# puppet help node

USAGE: puppet node <action> [--terminus TERMINUS] [--extra HASH]

...

ACTIONS:
  clean      Clean up everything a puppetmaster knows about a node.
  destroy    Invalid for this subcommand.
  find       Retrieve a node object.
  info       Print the default terminus class for this face.
  save       Invalid for this subcommand.
  search     Invalid for this subcommand.


TERMINI: active_record, exec, ldap, memory, msgpack, plain, rest, 
store_configs, write_only_yaml, yaml

When using the packaged version:

# rvm use system
Now using system ruby.
# puppet help node

USAGE: puppet node <action> [--terminus TERMINUS] [--extra HASH]

...

ACTIONS:
  clean         Clean up everything a puppetmaster knows about a node.
  deactivate    Deactivate a set of nodes in PuppetDB
  destroy       Invalid for this subcommand.
  find          Retrieve a node object.
  info          Print the default terminus class for this face.
  save          Invalid for this subcommand.
  search        Invalid for this subcommand.
  status        Fetch the current status for a set of nodes in PuppetDB


TERMINI: active_record, exec, ldap, memory, msgpack, plain, puppetdb, rest, 
store_configs, write_only_yaml, yaml

Thanks
Kelvin

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c17ccb18-4ac7-4830-a6f6-07a8175e22bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to